1
0
Fork 0
mirror of https://github.com/LaQuay/TDTChannels.git synced 2025-06-18 01:33:19 +02:00

Remove TYPE value

This commit is contained in:
Jacobo Rodriguez 2019-06-14 06:21:59 +02:00
parent ce8cc6562a
commit c2c599133d
2 changed files with 3 additions and 5 deletions
script

View file

@ -64,7 +64,7 @@ def get_tv_channels_from_part(text):
else:
item_extra_info = item_extra_info.split(",")
channel = Channel(item_name, item_web, item_resolution, item_logo, item_epg, item_extra_info, "Video")
channel = Channel(item_name, item_web, item_resolution, item_logo, item_epg, item_extra_info)
item_options = item_options.split(" - ")
if len(item_options) > 0 and item_options[0] != "-":
for option in item_options:
@ -109,7 +109,7 @@ def get_radio_channels_from_part(text):
else:
item_extra_info = item_extra_info.split(",")
channel = Channel(item_name, item_web, "", item_logo, "", item_extra_info, "Audio")
channel = Channel(item_name, item_web, "", item_logo, "", item_extra_info)
item_options = item_options.split(" - ")
if len(item_options) > 0 and item_options[0] != "-":
for option in item_options: