2012-06-08, 21:55
Is it possible to get a playlist to call things like ActivateWindow?
Basically using Confluence Lite Mod I have now created a nicely customised XBMC but would like add a few more things.
Basically I have a link to the Playlists folder which has some subfolders (e.g. Countries for selecting films by countries) and some playlists in the top level.
What I would like to do is either a) create a magic playlist which can do stuff (see below) or b) create a few "playlists" that launch stuff and throw them in a folder.
The stuff I would like to do is (The bit in the code box is what's in favourites xml which is I guess what I need to be able to call somehow!)
1) Show the Now Playing window - Basically I queue a load of stuff and then want to watch it - bit of a pain at times to access when I realise I don't want to add anything more.
2) Load an RSS menu - I've got an RSS menu created which loads rss://example.com/xbmc/ and then has a few options within that - e.g. rss://example.com/xbmc/nottinghamradio - If I try adding rss://example.com/xbmc/ to a normal playlist playback fails
3) Load the UPNP Devices Menu
4) Load the NPR Addin
Basically using Confluence Lite Mod I have now created a nicely customised XBMC but would like add a few more things.
Basically I have a link to the Playlists folder which has some subfolders (e.g. Countries for selecting films by countries) and some playlists in the top level.
What I would like to do is either a) create a magic playlist which can do stuff (see below) or b) create a few "playlists" that launch stuff and throw them in a folder.
The stuff I would like to do is (The bit in the code box is what's in favourites xml which is I guess what I need to be able to call somehow!)
1) Show the Now Playing window - Basically I queue a load of stuff and then want to watch it - bit of a pain at times to access when I realise I don't want to add anything more.
2) Load an RSS menu - I've got an RSS menu created which loads rss://example.com/xbmc/ and then has a few options within that - e.g. rss://example.com/xbmc/nottinghamradio - If I try adding rss://example.com/xbmc/ to a normal playlist playback fails
Code:
ActivateWindow(10025,"rss://example.com/xbmc/")
3) Load the UPNP Devices Menu
Code:
ActivateWindow(10025,"upnp://")
4) Load the NPR Addin
Code:
ActivateWindow(10502,"plugin://plugin.audio.npr")