2017-03-11, 20:44
(2017-03-11, 18:17)marcelveldt Wrote:yes I cant add this for your widget...And I did, but images are static.(2017-03-11, 14:41)Angelinas Wrote: Marcel future request
I''l playing with Animated Poster for widget and find that mising in kodidb.py
Code:if not art.get("thumb") and item.get('animatedposter'):
art["thumb"] = get_clean_image(art.get('animatedposter'))
Something like this...you better know how to add AnimatedPoster (from Kodi listItem),ill try but need to delete some arguments to work properly.
I don't understand the usecase. What are you trying to achieve here ?
You can just use $INFO[ListItem.Art(animatedposter)] nothing special is needed
You didnt add this for your widget,in script.module.metadatautils\lib\helpers\kodidb.py
When open widget list in home menu "Similar Movies" all animated poster are static.
I add this line
Code:
if not art.get("thumb") and item.get('animatedposter'):
art["thumb"] = get_clean_image(art.get('animatedposter'))
if not art.get("poster") and item.get('animatedposter'):
art["poster"] = get_clean_image(art.get('animatedposter'))
https://github.com/marcelveldt/script.mo...db.py#L653
line number 653-660
All widgets animated poster in list begin to "Dance"
Without your changes only Animated poster now is working for widget list smartplaylist for regular kodi.
This is video with Mine changes...Please add that