2023-01-10, 14:17
(2023-01-08, 20:40)gemini88 Wrote: Question would anyone know how to show the status of the TV-SHOWS in your library (ending, next up and/or continuing etc) in your MyVideoNav.xml for the life of me I can't get it to work ive done the tmdb helper backend=true code at the top
Hello @gemini88 ,
There are 2 ways to display STATUS.
- TMDbHelper.ListItem.Status - Requires TMDB helper installed and possibly Kodi to be online.
- ListItem.Status - Requires no addon or online presence as long as the status was scraped when adding the show to library.
You're supposed to add this code to DialogVideoInfo.xml not MyVideoNav.xml
Here is an example, it will show the status after the genre and it uses TMDB helper. In Aeon Tajo's xml file, find control type="panel" id="300", then find where to paster you code. The first code in example is for genre, then status, then country. The code in the middle is what you will need.
xml:
<item>
<label>$INFO[ListItem.Genre]</label>
<label2>$LOCALIZE[515]:</label2>
<visible>!String.IsEmpty(ListItem.Genre) + !String.IsEqual(ListItem.DBTYPE,episode) + !String.IsEqual(ListItem.DBTYPE,set)</visible>
</item>
<item>
<label>$INFO[Window(Home).Property(TMDbHelper.ListItem.Status)]</label>
<label2>Status:</label2>
<visible>!String.IsEmpty(Window(Home).Property(TMDbHelper.ListItem.Status) + !String.IsEqual(ListItem.DBTYPE,set) | !String.IsEqual(ListItem.DBTYPE,movie)</visible>
</item>
<item>
<label>$INFO[ListItem.Country]</label>
<label2>$LOCALIZE[574]:</label2>
<visible>!String.IsEmpty(ListItem.Country) + !String.IsEqual(ListItem.DBTYPE,set)</visible>
</item>