2014-06-16, 03:17
Hoping someone can help me with this...
I am changing the "Recently Added Albums" on the home screen to "Random Albums". I have already changed to the code in IncludesHomeRecentlyAdded so that it pulls random albums with following:
I simply replaced "Latest" with "Random" in the original code. Everything works fine except that when I click an album, it will not play. Any ideas on how I have to change the code to make it work?
Thanks
I am changing the "Recently Added Albums" on the home screen to "Random Albums". I have already changed to the code in IncludesHomeRecentlyAdded so that it pulls random albums with following:
Code:
<item>
<label>$INFO[Window.Property(RandomAlbum.1.Title)]</label>
<label2>$INFO[Window.Property(RandomAlbum.1.Artist)]</label2>
<onclick>PlayList.Clear</onclick>
<onclick>PlayMedia("$INFO[Window.Property(RandomAlbum.1.Path)]")</onclick>
<icon>-</icon>
<thumb>$INFO[Window.Property(RandomAlbum.1.Thumb)]</thumb>
<visible>!IsEmpty(Window.Property(RandomAlbum.1.Title))</visible>
</item>
I simply replaced "Latest" with "Random" in the original code. Everything works fine except that when I click an album, it will not play. Any ideas on how I have to change the code to make it work?
Thanks