2014-08-17, 20:09
Hi,
I would like to play a blu-ray stream with:
player = XBMCPlayer()
player.play(videofile)
It works, but the videofile is: "bluray://udf%3a%2f%2fL%253a%255cPython%255cTest_video_files%255cPeter%2520%2526%2520the%2520Wolf%2520(2006).BR.iso%2f/BDMV/PLAYLIST/00000.mpls"
I got this from playing the bluray, and then in onPlayBackStarted "videofile = self.getPlayingFile()"
How do I get from
"L:\Python\Test_video_files\Peter & the Wolf (2006).BR.iso /BDMV/PLAYLIST/00000.mpls"
to
"bluray://udf%3a%2f%2fL%253a%255cPython%255cTest_video_files%255cPeter%2520%2526%2520the%2520Wolf%2520(2006).BR.iso%2f/BDMV/PLAYLIST/00000.mpls"
?
Is there some sort of conversion function?
Thanks!
I would like to play a blu-ray stream with:
player = XBMCPlayer()
player.play(videofile)
It works, but the videofile is: "bluray://udf%3a%2f%2fL%253a%255cPython%255cTest_video_files%255cPeter%2520%2526%2520the%2520Wolf%2520(2006).BR.iso%2f/BDMV/PLAYLIST/00000.mpls"
I got this from playing the bluray, and then in onPlayBackStarted "videofile = self.getPlayingFile()"
How do I get from
"L:\Python\Test_video_files\Peter & the Wolf (2006).BR.iso /BDMV/PLAYLIST/00000.mpls"
to
"bluray://udf%3a%2f%2fL%253a%255cPython%255cTest_video_files%255cPeter%2520%2526%2520the%2520Wolf%2520(2006).BR.iso%2f/BDMV/PLAYLIST/00000.mpls"
?
Is there some sort of conversion function?
Thanks!