Adding category to live stream items
This commit is contained in:
parent
36aa75b967
commit
100a24bd77
|
@ -154,6 +154,7 @@ class RSSVoDServer(webapp2.RequestHandler):
|
||||||
if vod["status"] == "recording":
|
if vod["status"] == "recording":
|
||||||
link = "http://www.twitch.tv/%s" % channel_name
|
link = "http://www.twitch.tv/%s" % channel_name
|
||||||
item["title"] = "%s - LIVE" % vod['title']
|
item["title"] = "%s - LIVE" % vod['title']
|
||||||
|
item["category"] = "live"
|
||||||
else:
|
else:
|
||||||
link = vod['url']
|
link = vod['url']
|
||||||
item["title"] = vod['title']
|
item["title"] = vod['title']
|
||||||
|
|
Loading…
Reference in New Issue