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:47:04 +0100 |
| commit | 8f1f4a52e0e913bb51e58efa542dcbe404dba77d (patch) | |
| tree | ec1e10c4cd0f551522a70bff35acd1d26ee8b551 /lib/python/Components | |
| parent | a90536f463e947c84cc158435599d66bd61c10c8 (diff) | |
| download | enigma2-8f1f4a52e0e913bb51e58efa542dcbe404dba77d.tar.gz enigma2-8f1f4a52e0e913bb51e58efa542dcbe404dba77d.zip | |
fix streaming playback (webradio)
Diffstat (limited to 'lib/python/Components')
| -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() |
