2021-06-17, 10:40
Currently internal Kodi "choose art" functionality does not work for non-library items.
So addons implement their own UI and logic for that, like
https://github.com/jurialmunkey/plugin.v...pi.py#L232
Looks like the table "art" in database is responsible for this mapping and as a hack addon can assign some fake DBID (e.g. very high number) to its ListItems.
But this can lead to some side effects, since Kodi and other addons (e.g. context) would think that generated ListItem is real library item.
Thus it would be nice to provide some official way to enable internal Kodi "choose art" functionality for addons.
Thank you.
So addons implement their own UI and logic for that, like
https://github.com/jurialmunkey/plugin.v...pi.py#L232
Looks like the table "art" in database is responsible for this mapping and as a hack addon can assign some fake DBID (e.g. very high number) to its ListItems.
But this can lead to some side effects, since Kodi and other addons (e.g. context) would think that generated ListItem is real library item.
Thus it would be nice to provide some official way to enable internal Kodi "choose art" functionality for addons.
Thank you.