2023-08-06, 04:06
Thank you @Wanilton,
With your script (same numeric version as mine but for new python?) I get some numbers but actually only zeros.
When I replace in Variables.xml this line:
Best regards
BiTeMeNoW
EDIT:
I could now fix almost all of the counters. Also counters on main can now recognize if playlist is tvshow or movie. Corrected some typos in the properties after clicking on the menu, so the top left bar is now showing for all medias counters. Still issue with watched tvshow ... is there really a plugin function for that? I cannot find a property and I don't know why this showed only on playlists + tvshows. Also added counter of unwatched on main when browsing through the widget on each poster item.
Question, how is it intended to work that top left bar? Will it show for each show amount of shows, total episodes, watched, unwatched? Or should it show amount of shows, all episodes (not shown on regular sources), all watched, all unwatched?
With your script (same numeric version as mine but for new python?) I get some numbers but actually only zeros.
When I replace in Variables.xml this line:
with:xml:<value condition="String.IsEqual(Window(home).Property(library_status),videoplaylist) + [Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes)]">$LOCALIZE[20343] $INFO[Window(home).Property(Playlist_TVShowCount)] $LOCALIZE[20360] $INFO[Window(home).Property(Playlist_Count)] $LOCALIZE[16102] $INFO[Window(home).Property(Playlist_Watched)] $LOCALIZE[16101] $INFO[Window(home).Property(Playlist_UnWatched)]</value>
numbers also are there with exceptions of the watched episodes. I cannot find a built in property for that working on playlists. Maybe with some helper scripts?xml:<value condition="String.IsEqual(Window(home).Property(library_status),videoplaylist) + [Container.Content(tvshows) | Container.Content(seasons) | Container.Content(episodes)]">$LOCALIZE[20343] $INFO[Window(home).Property(PlaylistTVShowCount)] $LOCALIZE[20360] $INFO[Window(home).Property(PlaylistEpisodes)] $LOCALIZE[16102] $INFO[ListItem.Property(PlaylistWatchedEpisodes)] $LOCALIZE[16101] $INFO[Window(home).Property(PlaylistEpisodesUnWatched)]</value>
Best regards
BiTeMeNoW
EDIT:
I could now fix almost all of the counters. Also counters on main can now recognize if playlist is tvshow or movie. Corrected some typos in the properties after clicking on the menu, so the top left bar is now showing for all medias counters. Still issue with watched tvshow ... is there really a plugin function for that? I cannot find a property and I don't know why this showed only on playlists + tvshows. Also added counter of unwatched on main when browsing through the widget on each poster item.
Question, how is it intended to work that top left bar? Will it show for each show amount of shows, total episodes, watched, unwatched? Or should it show amount of shows, all episodes (not shown on regular sources), all watched, all unwatched?