From 100a24bd779e8cdb66ff46f7a11827dedef58294 Mon Sep 17 00:00:00 2001 From: Laszlo Zeke Date: Sat, 1 Apr 2017 22:14:06 +0200 Subject: [PATCH] Adding category to live stream items --- TwitchRSS/twitchrss.py | 1 + 1 file changed, 1 insertion(+) diff --git a/TwitchRSS/twitchrss.py b/TwitchRSS/twitchrss.py index 7c7a7f7..39ece31 100644 --- a/TwitchRSS/twitchrss.py +++ b/TwitchRSS/twitchrss.py @@ -154,6 +154,7 @@ class RSSVoDServer(webapp2.RequestHandler): if vod["status"] == "recording": link = "http://www.twitch.tv/%s" % channel_name item["title"] = "%s - LIVE" % vod['title'] + item["category"] = "live" else: link = vod['url'] item["title"] = vod['title']