2018-03-10, 06:30
(2018-03-10, 04:45)jurialmunkey Wrote: Looking good so far and everything pretty much seems to be working well!
SpecialFeatures.Widget property is excellent!
Only thing I noticed was that if you go in through the addon, and then browse a tvshow, the content stays as tvshows rather than switching to episodes or videos (works perfectly from info dialog, but not from within the addon).
EDIT: Seems SpecialFeatures.Widget only works in the library and not for widgets on the home screen. Not sure if there is a way around this?
Maybe you can check to see if the SkinHelper widget container property is set and use that to get the current widget container on the home screen
(SkinHelper.WidgetContainer)
I'm guessing this will only be necessary on Krypton and not on Leia (because referencing specific container ids is not necessary in Leia).
The your right I need to change the what the info works actually... I did it that way on the add-on side to give a more streamline built in feel ... The idea was if you in movies and you select special features I wanted it to appear as if it was built in part of the movie library so the category is set to movies but it is still linked as a file the same with tv shows... So I will get that switched hopefully by the morning.
And you right the specialfeatures.widget will only work in the library becuase it is filled with the current listitem...
If you want to use it on the home menu you will need to use one of the other 3 static paths I listed which will show all movies and tvshows with extras, or just movies or just tvshows.
I may can make a path where u specify the listitem... But you will need to know the available movies so not to get a failed path.
Or would you prefer a random widget one that picks one movie or TV show with special features at random, one that will select just a random movie and one that will select a random TV show?^ will take a little while to implement and definitely need testing. Only down side I see is if doing this some or for me most movies only has one bonus feature so then you wasting a widget for one clip or disc.