2012-05-21, 10:59
This has been discussed before in the past (see quotes below) and I've just come across the need for it myself in the video info dialog when searching the actors list.
This is what I'm using as a way around it (the third value based on whether the search result has the string 'Episode' in it) but this of course relies on users having a folder.jpg image in their tv show folder.
I did wonder whether it could be achieved by a script using ListItem.TVShowTitle to retrieve it from the thumbnails but I can't code scripts.
Thanks.
This is what I'm using as a way around it (the third value based on whether the search result has the string 'Episode' in it) but this of course relies on users having a folder.jpg image in their tv show folder.
PHP Code:
<variable name="Video_Info_Image">
<value condition="Container.Content(episodes) + !IsEmpty(Container.SeasonThumb)">$INFO[Container.SeasonThumb]</value>
<value condition="Container.Content(episodes) + !IsEmpty(Container.TvshowThumb)">$INFO[Container.TvshowThumb]</value>
<value condition="SubString(ListItem.Label,$LOCALIZE[20359]">$INFO[ListItem.Path]folder.jpg</value>
<value>$INFO[ListItem.Thumb]</value>
</variable>
I did wonder whether it could be achieved by a script using ListItem.TVShowTitle to retrieve it from the thumbnails but I can't code scripts.
Thanks.
(2009-10-07, 23:55)Jezz_X Wrote: [ -> ]Its because the container has many tvshow thumbs since its recently added and has many shows your confusing it with somthing like ListItem.TVShowThumb (which doesn't exsist btw so don't try it)
(2008-06-26, 04:48)jmarshall Wrote: [ -> ]IMO the tvshowthumb should be a property of the item in addition to being a property of the container (it's a property of the container for the simple reason that the container is an item). The same applies to fanart et. al.