2004-11-13, 19:46
hello all,
im writing an xbmc tool for getting urlstreams from the internet. it reads the urls from an xml file and should than play the data.
strange thing is:
i can get the the data from the xml, and even show it in a dialogbox, but when i pass that same data to the play() function it doesnt work.
this is the xml :
any help would be highly appreciated!
im writing an xbmc tool for getting urlstreams from the internet. it reads the urls from an xml file and should than play the data.
strange thing is:
i can get the the data from the xml, and even show it in a dialogbox, but when i pass that same data to the play() function it doesnt work.
Quote: items = self.dom.getelementsbytagname("stream")he displays the url correctly but than doesnt play. thats pretty strange isnt it?
self.bla = items[0].getelementsbytagname('url')[0].childnodes[0].data
self.dialog = xbmcgui.dialog()
self.dialog.ok("debug msg", self.bla)
xbmc.player().play(self.bla)
this is the xml :
Quote:<streams>
<stream>
<title>incredibles</title>
<url>http://bvim-qt.vitalstream.com/theincredibles/theincredibles_t1_longversion_1500.mov</url>
</stream>
</streams>
any help would be highly appreciated!