2011-05-26, 22:49
Hi guys and gals,
I have been adapting an old clearart mod I saw on these forum to suit my needs abit more.
Basically when I pause playback on alaska revisited on my ATV2, it shows a white bar, clear art image - episode name and episode info.
The problem I am experiencing is that, some of the cleararts didnt load very well - so I replaced them with others, however no matter how many times I reboot my ATV2, it still loads the old clearart image on some files - even after they have long been deleted - does anyone know if/where the cache might be to reset it and force it to reload the file again?
Here is a screenshot of what the mod looks like when it is working as intended
Any suggestions on deleting the cache?
Also, this was my first attempt at doing anything involving xml or skinning, so if anyone wants to take a look at the code and edit/fix it to make it better - feel free, it is by no means my own work, I have borrowed/stolen/adapted code from various places lol
DialogSeekbar.xml
I have been adapting an old clearart mod I saw on these forum to suit my needs abit more.
Basically when I pause playback on alaska revisited on my ATV2, it shows a white bar, clear art image - episode name and episode info.
The problem I am experiencing is that, some of the cleararts didnt load very well - so I replaced them with others, however no matter how many times I reboot my ATV2, it still loads the old clearart image on some files - even after they have long been deleted - does anyone know if/where the cache might be to reset it and force it to reload the file again?
Here is a screenshot of what the mod looks like when it is working as intended
Any suggestions on deleting the cache?
Also, this was my first attempt at doing anything involving xml or skinning, so if anyone wants to take a look at the code and edit/fix it to make it better - feel free, it is by no means my own work, I have borrowed/stolen/adapted code from various places lol
DialogSeekbar.xml
Code:
<window id="115">
<defaultcontrol>901</defaultcontrol>
<visible>Window.IsActive(fullscreenvideo) + !Window.IsActive(videoosd) + !Window.IsActive(fullscreeninfo) + [Player.Seeking | Player.DisplayAfterSeek | Player.Paused | Player.Forwarding | Player.Rewinding]</visible>
<controls>
<control type="group">
<animation effect="slide" end="0,0" condition="true">Conditional</animation>
<include>Animation_SlideUpFadeOut</include>
<control type="image">
<posx>0</posx>
<posy>640</posy>
<width>1280</width>
<height>80</height>
<texture>dialogback.png</texture>
<animation effect="slide" end="0,-34" condition="IsEmpty(VideoPlayer.Year) + IsEmpty(VideoPlayer.Rating) + IsEmpty(VideoPlayer.Director) + IsEmpty(VideoPlayer.Writer)">Conditional</animation>
</control>
<control type="largeimage">
<posx>0</posx>
<posy>580</posy>
<width>250</width>
<height>140</height>
<texture>$INFO[Player.FolderPath]../clearart.png</texture>
<visible>VideoPlayer.Content(episodes)</visible>
</control>
<control type="largeimage">
<posx>0</posx>
<posy>580</posy>
<width>250</width>
<height>140</height>
<texture>$INFO[Player.FolderPath]/clearart.png</texture>
<visible>VideoPlayer.Content(episodes)</visible>
<aspectration>keep</aspectration>
</control>
<control type="label">
<description>Plot Outline</description>
<posx>250</posx>
<posy>640</posy>
<width>1280</width>
<height>20</height>
<visible>true</visible>
<align>left</align>
<scroll>true</scroll>
<label>$INFO[VideoPlayer.Title]</label>
<font>Font_EpisodeTitleNF</font>
<textcolor>EpisodeTitle</textcolor>
<wrapmultiline>true</wrapmultiline>
<scrollspeed>50</scrollspeed>
<scrollsuffix> - </scrollsuffix>
</control>
<control type="label">
<description>Plot Outline</description>
<posx>250</posx>
<posy>665</posy>
<width>1000</width>
<height>60</height>
<visible>true</visible>
<align>left</align>
<scroll>true</scroll>
<label>$INFO[VideoPlayer.Plot]</label>
<font>Font_LandscapeInfo</font>
<textcolor>LandscapeInfo</textcolor>
<scrollspeed>50</scrollspeed>
<scrollsuffix> - </scrollsuffix>
</control>
<control type="label">
<posx>1120</posx>
<posy>690></posy>
<width>180</width>
<visible>true</visible>
<label>$INFO[VideoPlayer.Time] / $INFO[VideoPlayer.Duration]</label>
<font>Font_OSDProgress</font>
<textcolor>OSDProgress</textcolor>
</control>
</control>
<include condition="Skin.HasSetting(DebugGrid)">Object_DebugGrid</include>
<include condition="Skin.HasSetting(DebugMode)">Debug</include>
</controls>
</window>