Diff
Differences From Artifact [d31231b5cf]:
- File channels/tunein.py — part of check-in [09dec64f41] at 2016-12-16 16:26:55 on branch trunk — Reverted all `module = __name__` assignments, because that was carrying the module over, not the base classname. Added #extraction-method: meta information to channel plugins. (user: mario, size: 5336) [annotate] [blame] [check-ins using]
To Artifact [3410153f13]:
- File channels/tunein.py — part of check-in [4ac8c4bcb9] at 2020-05-04 17:50:12 on branch trunk — Fix string-remnant option type error (conf.max_streams comparison) From ticket @4163057c375e (user: joostden, size: 5346) [annotate] [blame] [check-ins using]
96 97 98 99 100 101 102 | next = None x = ElementTree.fromstring(opml) # append entries for outline in x.findall(".//outline"): outline = dict(outline.items()) # additional pages if "key" in outline and outline["key"] == "nextStations": | | | 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | next = None x = ElementTree.fromstring(opml) # append entries for outline in x.findall(".//outline"): outline = dict(outline.items()) # additional pages if "key" in outline and outline["key"] == "nextStations": if int(len(r)) < int(conf.max_streams) and max > 0: next = outline["URL"] max = max - 1 else: r.append(outline) return r |