Skip to content

Commit

Permalink
Change: Show episode image on info screen
Browse files Browse the repository at this point in the history
Now show episode thumbnail instead of TV show fanart on the info screen
for episodes.

Closes issue #2.
  • Loading branch information
Sranshaft committed Apr 1, 2013
1 parent 8b70557 commit 7263dd9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 720p/DialogVideoInfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,8 @@
<posy>0</posy>
<width>380</width>
<height>215</height>
<texture background="true">$INFO[ListItem.Art(fanart)]</texture>
<aspectratio align="left" aligny="top">scale</aspectratio>
<texture background="true">$VAR[Info_Image]</texture>
<aspectratio align="center" aligny="top">scale</aspectratio>

</control>

Expand Down
5 changes: 5 additions & 0 deletions 720p/Variable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,11 @@

<!--Info Dialog Variables-->

<variable name="Info_Image">
<value condition="Container.Content(episodes)">$INFO[ListItem.Art(thumb)]</value>
<value>$INFO[ListItem.Art(fanart)]</value>
</variable>

<variable name="Info_Description">
<value condition="[Container.Content(movies) | Container.Content(tvshows) | Container.Content(episodes)] + !IsEmpty(ListItem.Plot)">$INFO[ListItem.Plot]</value>
<value condition="Container.Content(albums) + !IsEmpty(ListItem.Property(Album_Description))">$INFO[ListItem.Property(Album_Description)]</value>
Expand Down

0 comments on commit 7263dd9

Please sign in to comment.