diff options
author | Christopher Rosell <chrippa@tanuki.se> | 2012-09-30 18:11:46 +0200 |
---|---|---|
committer | Christopher Rosell <chrippa@tanuki.se> | 2012-09-30 18:11:46 +0200 |
commit | 75075cfb95a6e2a37e2bea79849114bd75140e0f (patch) | |
tree | bac2b15f1b110074bd6bdf39cb846266d72ac9f1 /src/livestreamer/plugins/gomtv.py | |
parent | ef86768ac8520e94dcd336b3acc98c0572382371 (diff) |
Improve quality weighting.
Diffstat (limited to 'src/livestreamer/plugins/gomtv.py')
-rw-r--r-- | src/livestreamer/plugins/gomtv.py | 4 |
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 |