Strange xml.dom.minidom bug
#1
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.
Quote: items = self.dom.getelementsbytagname("stream")
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)
he displays the url correctly but than doesnt play. thats pretty strange isnt it?

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!
Reply

Logout Mark Read Team Forum Stats Members Help
Strange xml.dom.minidom bug0