aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/livestreamer/plugins/gomtv.py
diff options
context:
space:
mode:
authorGravatar Christopher Rosell <chrippa@tanuki.se>2012-09-30 18:11:46 +0200
committerGravatar Christopher Rosell <chrippa@tanuki.se>2012-09-30 18:11:46 +0200
commit75075cfb95a6e2a37e2bea79849114bd75140e0f (patch)
treebac2b15f1b110074bd6bdf39cb846266d72ac9f1 /src/livestreamer/plugins/gomtv.py
parentef86768ac8520e94dcd336b3acc98c0572382371 (diff)
Improve quality weighting.
Diffstat (limited to 'src/livestreamer/plugins/gomtv.py')
-rw-r--r--src/livestreamer/plugins/gomtv.py4
1 files changed, 2 insertions, 2 deletions
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