diff options
| author | Fraxinas <andreas.frisch@multimedia-labs.de> | 2008-11-03 13:47:04 +0100 |
|---|---|---|
| committer | Andreas Oberritter <obi@saftware.de> | 2008-11-06 01:52:04 +0100 |
| commit | 6d9bdc5e7ee8990b74da7e18f0b641b39250a827 (patch) | |
| tree | 0e26003f1d6dcb83e37790771ee03e05ba01e581 /lib/python | |
| parent | 7f7f308008f91781d9223c3350f5ed86272096e7 (diff) | |
| download | enigma2-6d9bdc5e7ee8990b74da7e18f0b641b39250a827.tar.gz enigma2-6d9bdc5e7ee8990b74da7e18f0b641b39250a827.zip | |
fix streaming playback (webradio)
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Components/Playlist.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/Components/Playlist.py b/lib/python/Components/Playlist.py index 22799692..744ee3af 100644 --- 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)) + 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() |
