1
0
Fork 0
mirror of https://github.com/LaQuay/TDTChannels.git synced 2025-05-19 04:14:32 +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

View file

@ -1,6 +1,6 @@
# TODO Create TVChannel and RadioChannel
class Channel:
def __init__(self, name, web, resolution, logo, epg_id, extra_info, type):
def __init__(self, name, web, resolution, logo, epg_id, extra_info):
self.name = name
self.web = web
self.resolution = resolution
@ -8,7 +8,6 @@ class Channel:
self.epg_id = epg_id
self.options = []
self.extra_info = extra_info
self.type = type
def add_option(self, format, url, info):
self.options.append(self.Web(format, url, info))
@ -52,7 +51,6 @@ class Channel:
"epg_id": self.epg_id,
"options": self.__options_to_json__(),
"extra_info": self.extra_info,
"type": self.type
}
def to_m3u8(self, ambit_name, option):