aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/livestreamer/plugins/justintv.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/livestreamer/plugins/justintv.py')
-rw-r--r--src/livestreamer/plugins/justintv.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/livestreamer/plugins/justintv.py b/src/livestreamer/plugins/justintv.py
index 661c6bd..0f7ec42 100644
--- a/src/livestreamer/plugins/justintv.py
+++ b/src/livestreamer/plugins/justintv.py
@@ -11,7 +11,7 @@ class JustinTV(Plugin):
"cookie": None
})
- StreamInfoURL = "http://usher.justin.tv/find/{0}.xml?type=any&p={1}&b_id=true&chansub_guid={2}&private_code=null&group=&channel_subscription={2}"
+ StreamInfoURL = "http://usher.justin.tv/find/{0}.xml?type=any&p={1}&b_id=true&private_code=null&group=&channel_subscription={2}"
MetadataURL = "http://www.justin.tv/meta/{0}.xml?on_site=true"
SWFURL = "http://www.justin.tv/widgets/live_embed_player.swf"
@@ -83,7 +83,7 @@ class JustinTV(Plugin):
randomp = int(random.random() * 999999)
- url = self.StreamInfoURL.format(channelname, randomp, chansub)
+ url = self.StreamInfoURL.format(channelname.lower(), randomp, chansub)
self.logger.debug("Fetching stream info")
data = urlget(url)