test
This commit is contained in:
parent
0a65b0b084
commit
57a56e5039
@ -18,8 +18,8 @@ class OriginChannels():
|
|||||||
api_json = self.fhdhr.web.session.get(channel_json_url).json()
|
api_json = self.fhdhr.web.session.get(channel_json_url).json()
|
||||||
|
|
||||||
for channel_dict in api_json['channel']['item']:
|
for channel_dict in api_json['channel']['item']:
|
||||||
if "is_simulcast" in list(channel_dict["properties"].keys()):
|
if "simulcast_only" in list(channel_dict["properties"].keys()):
|
||||||
if channel_dict["properties"]["is_simulcast"] == "true":
|
if channel_dict["properties"]["simulcast_only"] == "true":
|
||||||
|
|
||||||
clean_station_item = {
|
clean_station_item = {
|
||||||
"name": channel_dict["title"],
|
"name": channel_dict["title"],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user