2010-09-13, 19:40
I'm trying to edit the Confluence skin to change the sub-menu items in the TV Show menu on the home screen to become 'Channels', smart playlists I've made that will randomly play TV episodes. The first one I made, for testing purposes, is the "Adult Swim Channel". I gave the playlist the names of all the original TV shows I have from the Adult Swim brand.
I could use Activate.Window, but that would bring up the actual list of episodes, and I have no interest in that. From what I can understand, the playlist is only randomized once, so I'd always start with the same episode.
Somebody in IRC suggested PlayMedia(media[,1]). That sounds like it would work, but what is the path of (media)? I found an old thread with an example, but it seems obvious that it changed in Dharma. I tried a full path starting at C: but that didn't seem to work either.
edit: Thanks, IRC!
I could use Activate.Window, but that would bring up the actual list of episodes, and I have no interest in that. From what I can understand, the playlist is only randomized once, so I'd always start with the same episode.
Somebody in IRC suggested PlayMedia(media[,1]). That sounds like it would work, but what is the path of (media)? I found an old thread with an example, but it seems obvious that it changed in Dharma. I tried a full path starting at C: but that didn't seem to work either.
edit: Thanks, IRC!
Code:
<onclick>xbmc.PlayMedia(special://profile/playlists/video/adultswim.xsp)</onclick>