From 75075cfb95a6e2a37e2bea79849114bd75140e0f Mon Sep 17 00:00:00 2001 From: Christopher Rosell Date: Sun, 30 Sep 2012 18:11:46 +0200 Subject: Improve quality weighting. --- src/livestreamer/plugins/gomtv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/livestreamer/plugins/gomtv.py') diff --git a/src/livestreamer/plugins/gomtv.py b/src/livestreamer/plugins/gomtv.py index 5a44227..2c04ad9 100644 --- a/src/livestreamer/plugins/gomtv.py +++ b/src/livestreamer/plugins/gomtv.py @@ -89,8 +89,8 @@ class GomTV(Plugin): # The response for the GOX XML if an incorrect stream quality is chosen is 1002. if res.text != "1002" and len(res.text) > 0: streamurl = self._parse_gox_file(res.text) - streams[quality] = HTTPStream(self.session, streamurl, - headers=self.StreamHeaders) + streams[quality.lower()] = HTTPStream(self.session, streamurl, + headers=self.StreamHeaders) return streams -- cgit v1.2.3