Dynamic Content Library Paths
#1
Hi, I'm playing around with seeing what sort of dynamically filled lists I can place on infoscreens based on the listitem selected without using widgets. Might be going down a dead end, but as a proof of concept, I managed to populate a list with tvshows with the same ListItem.Year value as the selected item using a window property like this:

xml:
<onload condition="String.IsEmpty(window(Home).property(InfoScreenYear))">SetProperty(InfoScreenYear,$INFO[ListItem.Year,videodb://tvshows/titles/?year=],Home)</onload>

Then in my list:

xml:
<content target="videos" sortby="title" sortorder="ascending">$INFO[window(Home).property(InfoScreenYear)]</content>

Not that useful, but I'm trying to figure out if it's possible to do more interesting lists, such as the seasons for a TV show or the episodes in a season. Things I know it's fairly easy to do with plugins but I'm trying to avoid using any wherever possible.

But I'm not really sure the format and syntax of these library paths and what's possible. All I could find online was the example on this page for recently added albums: https://kodi.wiki/view/Dynamic_List_Content

Is there any other resource that shows the structure of how the Kodi library is mapped out so I can see what other values I have to play with?
Reply
#2
all of the base paths can be found here:
https://kodi.wiki/view/Opening_Windows_and_Dialogs

it would suggest to use the Container.FolderPath / ListItem.FolderPath infolabels if you want to figure out specific library paths.
just add those as text labels to MyVideoNav.xml for debugging purposes.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
(2020-09-05, 20:37)ronie Wrote: all of the base paths can be found here:
https://kodi.wiki/view/Opening_Windows_and_Dialogs

it would suggest to use the Container.FolderPath / ListItem.FolderPath infolabels if you want to figure out specific library paths.
just add those as text labels to MyVideoNav.xml for debugging purposes.

Great thanks for the info
Reply
#4
I've managed to populate my list on the infoscreen for TV Shows with all the episodes. Couldn't figure out a way to use the ?arg1=foo appendage to filter by unwatched status though. Any ideas?

xml:
videodb://tvshows/titles/$INFO[ListItem.DBID]/-1/?overlay=OverlayWatched.png
Reply
#5
perhaps it's possible with an xsp filter...
i've never tested it, but there are some examples in this thread: https://forum.kodi.tv/showthread.php?tid=341640
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#6
(2020-09-05, 23:05)ronie Wrote: perhaps it's possible with an xsp filter...
i've never tested it, but there are some examples in this thread: https://forum.kodi.tv/showthread.php?tid=341640

Thanks again @ronie
Reply

Logout Mark Read Team Forum Stats Members Help
Dynamic Content Library Paths0