2019-04-12, 08:56
(2019-04-12, 07:11)magic_merkin Wrote: Hi @Angelinas ,Default sorting for next episodes is last played, you can't set different order in addon list
I have updated all of the scripts and modules as per above. I still have no luck with the Next Episode widget within MQ8 functioning as per the script:
Next Episodes
plugin://script.skin.helper.widgets/?action=next&mediatype=episodes&reload=$INFO[Window(Home).Property(widgetreload)]Provides a list of the nextup episodes. Searches for next episode after the last played, otherwise returns the first unwatched episode. Note: the reload parameter is needed to auto refresh the widget when the content has changed.
When i run the command directly via the widget addon Skin Helper Service Widgets V1.0.38 it's fine. I do this by:
I open the addon, select Episodes>Next episodes
It returns me a list of the next unwatched episodes of shows last watched with the most recently watched show first in the list (LAZYTV addon also does this fine).
I do note: when I press left and look into the "Collection/Change View" section i can see "Sort By" is set to Default (greyed out).
Using MQ8's Next Episode widget i can't get the same correct behaviour. I select Sort by "Last Played" as that seems appropriate and i get a seemingly random order and even when completing an episode that was in this widgets list, the next episode appears in the list but won't change its position in the list, stays somwhere in the middle of the list.
Can you verify behaviour on your end? May be because this widget within the skin doesn't have the sort option "Default" or the "Last Played" sort option isn't functioning correctly. Or i have no clue what i'm doing (most likely )
Code:
episodes = self.metadatautils.kodidb.episodes(sort=kodi_constants.SORT_LASTPLAYED,....
sort by - Last played , descending (this is good choosen)
sort by - Year , descending (this change order working but its wrong )....this is just example