2015-03-11, 08:22
(2015-03-11, 05:05)jurialmunkey Wrote: I'm not sure if I'm missing something, but when using a playlist as a widget is there anyway to get just the name of the playlist?
So far I've tried:
Container(homemenuID).ListItem.Property(widgetPlaylist) -- gives path and filename of playlist
Container(homemenuID).ListItem.Property(widget) -- gives string "Playlist"
Container(widgetID).ListItem.FolderName -- Give show name, e.g. will give "Modern Family" for an episode of Modern Family.
Container(widgetID).ListItem.Path --gives local folder path of file
Container(widgetID).FolderPath -- gives nothing
Container(widgetID).FolderName -- gives nothing
You just missing the property "widgetName"
-->
<variable name="QuickNavWidgetHeaderTitle">
...
<value condition="StringCompare(Container(20).ListItem.Property(widget),Playlist)">$INFO[Container(20).ListItem.Property(widgetName)]</value>
...
</variable>