git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix streaming playback (webradio)
[enigma2.git]
/
lib
/
python
/
Components
/
Playlist.py
diff --git
a/lib/python/Components/Playlist.py
b/lib/python/Components/Playlist.py
index 2279969275f0117bb882c222d226db92ebb6ecc0..744ee3af23da134345bae05a44ac64899d9d7ab4 100644
(file)
--- a/
lib/python/Components/Playlist.py
+++ b/
lib/python/Components/Playlist.py
@@
-70,6
+70,8
@@
class PlaylistIOM3U(PlaylistIO):
# TODO: use e2 facilities to create a service ref from file
if entry[0] == "/":
self.addService(ServiceReference("4097:0:0:0:0:0:0:0:0:0:" + entry))
# TODO: use e2 facilities to create a service ref from file
if entry[0] == "/":
self.addService(ServiceReference("4097:0:0:0:0:0:0:0:0:0:" + entry))
+ elif entry.startswith("http"):
+ self.addService(ServiceReference("4097:0:0:0:0:0:0:0:0:0:" + entry.replace(':',"%3a")))
else:
self.addService(ServiceReference("4097:0:0:0:0:0:0:0:0:0:" + os.path.dirname(filename) + "/" + entry))
file.close()
else:
self.addService(ServiceReference("4097:0:0:0:0:0:0:0:0:0:" + os.path.dirname(filename) + "/" + entry))
file.close()