Would really love to use this in a skin I'm developing, but after hours trying everything I could think of I just can't seem to get it to work.
I have unzipped the script to the addons folder (both in ..programs(x86)/XBMC and ..appdata/roaming/xbmc).
I am trying to use the following to load the script (in the applicable window). I don't want to use a playlist so haven't specified one and just want to use it to display random albums. The only thing I was really unsure of is what "menu" refers to? This syntax doesn't seem to be formally used anywhere else in XBMC skinning so I can't really work out what it means.
Code:
<onload>XBMC.RunScript(script.RandomAndLastItems,limit=16,type=Music,method=Random,menu=Menu1)</onload>
Anyway, as a stated for ten I am trying to show the first two random albums using:
Code:
<onclick>$INFO[Window(Home).Property(RandomAlbum.1.Play)]</onclick>
<icon>$INFO[Window(Home).Property(RandomAlbum.1.Thumb)]</icon>
But nothing is displayed.
The debug log does not report any issues - just lists the script as installed.
I am using Gotham 13.1. Any help greatly no appreciated!