This commit is contained in:
deathbybandaid 2020-12-09 12:26:13 -05:00
parent 85805f8eb7
commit 8b2e6bcffb

View File

@ -12,12 +12,11 @@ class OriginEPG():
chan_obj = fhdhr_channels.list[fhdhr_id]
filtered_chan_dict = fhdhr_channels.origin.get_channel_dict(fhdhr_channels.origin.filtered_chan_list, "name", chan_obj.dict["origin_name"])
print(filtered_chan_dict)
if str(chan_obj.dict["number"]) not in list(programguide.keys()):
programguide[str(chan_obj.dict["number"])] = chan_obj.epgdict
if filtered_chan_dict["tvg"]["url"]:
# if filtered_chan_dict["tvg"]["url"]:
print(filtered_chan_dict["tvg"]["url"])
return programguide