From 66821e33c626c38d65553b2bcf6f64ab1fa7287a Mon Sep 17 00:00:00 2001 From: "Dr.Best" Date: Sat, 30 Jan 2010 20:00:05 +0000 Subject: [PATCH] rstrip http line from pls-result --- shoutcast/src/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shoutcast/src/plugin.py b/shoutcast/src/plugin.py index bbabbd61..9cfebe52 100644 --- a/shoutcast/src/plugin.py +++ b/shoutcast/src/plugin.py @@ -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("") -- 2.20.1