Index: channels/tunein.py ================================================================== --- channels/tunein.py +++ channels/tunein.py @@ -98,13 +98,13 @@ # append entries for outline in x.findall(".//outline"): outline = dict(outline.items()) # additional pages if "key" in outline and outline["key"] == "nextStations": - if len(r) < conf.max_streams and max > 0: + if int(len(r)) < int(conf.max_streams) and max > 0: next = outline["URL"] max = max - 1 else: r.append(outline) return r