Adding category to live stream items

This commit is contained in:
Laszlo Zeke 2017-04-01 22:14:06 +02:00
parent 36aa75b967
commit 100a24bd77
1 changed files with 1 additions and 0 deletions

View File

@ -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']