Posts: 34
Joined: Jun 2013
Reputation:
0
2013-08-02, 02:17
(This post was last modified: 2013-08-02, 02:19 by mattgee.)
Hello... thought I'd repost this as a new thread so it wasn't buried... hopefully someone can help!
I'd like to launch a livestreams XML playlist from autoexec.py (at xbmc startup). Is there a way to do this?
It's possible for .strm files by using: xbmc.executebuiltin("PlayMedia(/path/to/playlist.strm")
How would I do this for a livestream xml playlist?
(I've already tried using xbmc.executebuiltin("PlayMedia(/path/to/playlist.xml")... XBMC throws errors and doesn't play anything)
Thanks in advance for any help/pointers!
Posts: 10
Joined: Jun 2013
Reputation:
0
Have you tried <onload> inside home.xml ?
<onload>RunAddon(plugin://plugin.livestreams....)</onload>
find the correct url in debug log
Posts: 34
Joined: Jun 2013
Reputation:
0
2013-08-02, 03:38
(This post was last modified: 2013-08-02, 03:40 by mattgee.)
Hmmn... that starts the plugin, but it doesn't tell XBMC to play the specific playlist file. Any guesses on having the plugin start and run the specific playlist file?
It's interesting, as I can insert youtube url's into a STRM file and it successfully interprets that and uses the youtube plugin to play the video from the url.
Just need to find a way to supply local video files + meta data to the player... this is proving to be very tough to accomplish.
Posts: 302
Joined: Apr 2013
Reputation:
93
Yes you can do that it needs a special code but I'm not sure if mine works via the new update to the YouTube plugin
If I helped you please add to my reputation a positive note
School has started, This Means Lots Of Homework[/color]
No Sharing XML's Anymore Per Forum Rules
Posts: 34
Joined: Jun 2013
Reputation:
0
2013-08-02, 04:12
(This post was last modified: 2013-08-02, 04:14 by mattgee.)
Oh... I was just using Youtube & STRM files as an example... I'm only going to be using locally stored media files (and images).
I just need a way to setup a playlist that includes metadata outside of XBMC... then have XBMC start up, play the videos in full screen and have the metadata available to the skin.
I'm starting to dig into the addon python code, but I'm a total noob when it comes to Python.
Thanks again for any help you can give me... it is much appreciated.