2012-08-04, 15:11
I can't seem to get $INFO[Container.ShowPlot] to work when calling it as a variable. I'm using the following variable code to call it:
Substituting dummy text in the Container.Content(seasons) value works as it should so maybe it's not getting converted properly? With Container.ShowPlot only an empty string is returned. Any thought?
Code:
<variable name="ExtendedList_Plot">
<value condition="[Container.Content(movies) | Container.Content(tvshows) | Container.Content(episodes) | SubString(Container.FolderPath,addons,left) | SubString(Container.FolderPath,plugin,left)] + !IsEmpty(ListItem.Plot)">$INFO[ListItem.Plot]</value>
<value condition="Container.Content(seasons)">$INFO[Container.ShowPlot]</value>
<value condition="[SubString(Container.FolderPath,addons,left) | SubString(Container.FolderPath,plugin,left)] + IsEmpty(ListItem.Plot)">$INFO[ListItem.Property(Addon.Description)]</value>
<value condition="Container.Content(artists) + !IsEmpty(ListItem.Property(Artist_Description))">$INFO[ListItem.Property(Artist_Description)]</value>
<value>Description not available</value>
</variable>
Substituting dummy text in the Container.Content(seasons) value works as it should so maybe it's not getting converted properly? With Container.ShowPlot only an empty string is returned. Any thought?