2010-04-03, 13:28
qualar Wrote:Try replacing these 3 files:
http://www.mediafire.com/?myi2jyyymol
http://www.mediafire.com/?1jynuy3tgmw
http://www.mediafire.com/?ydz2jwynwgk
I have had to code this without testing so need your input.
Replaced the files in skins\...\720P ... Still the list didn't updated.
Maybe this could help you...
I've added a button to the top option bar called "Update library" that on click calls the updatelibrary(video) function. I added another onclick function to that button to call recentadded.py. It worked
This is how it looks in the includes_MenuBar.xml file
<control type="button" id="20">
<description>Update Library</description>
<include>MenuBarBtn</include>
<label>[UPPERCASE]$LOCALIZE[653][/UPPERCASE]</label>
<onclick>UpdateLibrary(video)</onclick>
<onclick>XBMC.RunScript(special://skin/scripts/recentadded.py,""])</onclick>
<visible>Window.IsVisible(VideoLibrary)</visible>
</control>
My idea is to run this recentadded.py when ever the main category focus is changed.