rstrip http line from pls-result
authorDr.Best <dr_best@users.schwerkraft.elitedvb.net>
Sat, 30 Jan 2010 20:00:05 +0000 (20:00 +0000)
committerDr.Best <dr_best@users.schwerkraft.elitedvb.net>
Sat, 30 Jan 2010 20:00:05 +0000 (20:00 +0000)
shoutcast/src/plugin.py

index bbabbd6..9cfebe5 100644 (file)
@@ -477,7 +477,7 @@ class SHOUTcastWidget(Screen, InfoBarSeek):
                        if lines.find("File1=") != -1:
                                line = string.split(lines,"File1=")
                                found = True
-                               self.playServiceStream(line[-1])
+                               self.playServiceStream(line[-1].rstrip().strip())
                                
                if found:
                        self["statustext"].setText("")