Kodi Community Forum
Display season poster instead of episode thumb for Recent/Random episodes - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Display season poster instead of episode thumb for Recent/Random episodes (/showthread.php?tid=115391)

Pages: 1 2


RE: Display season poster instead of episode thumb for Recent/Random episodes - nessus - 2012-12-04

Is working fine here after this fix by JM.
Maybe your visible condition's are wrong... why you are using LatestEpisode.%.Path ?.

This is my code and it works fine.
PHP Code:
<item id="1">
   <
onclick>PlayMedia($INFO[Window.Property(LatestEpisode.1.Path)])</onclick>
   <
icon>$INFO[window.property(LatestEpisode.1.ShowThumb)]</icon>
   <
label>$INFO[Window.Property(LatestEpisode.1.ShowTitle)]</label>
   <
label2>$INFO[Window.Property(LatestEpisode.1.EpisodeSeason),]$INFO[Window.Property(LatestEpisode.1.EpisodeNumber),x,. ]$INFO[Window.Property(LatestEpisode.1.EpisodeTitle)]</label2>
   <
property name="Plot">$INFO[window.property(LatestEpisode.1.Plot)]</property>
   <
property name="FanartImage">$INFO[Window.Property(LatestEpisode.1.Fanart)]</property>
   <
visible>!IsEmpty(Window.Property(LatestEpisode.1.ShowTitle))</visible>
</
item

Cheers
Nessus


RE: Display season poster instead of episode thumb for Recent/Random episodes - ekim232 - 2012-12-05

Thanks for the response, but I still can't get it to show. Are you using the built in recently added for xbmc or the skin widgets. I am using the xbmc function on Beta 2 and I just did a fresh library rescan with poster preferred check. Once I extracted the library it put poster.jpg in my tv show folder. I copied your code over and it still did not show the tv thumb. Fanart and the episode thumb show just fine.


RE: Display season poster instead of episode thumb for Recent/Random episodes - Hitcher - 2012-12-05

$INFO[Window.Property(LatestEpisode.1.ShowThumb)] - confirmed working here.