mirror of
https://github.com/fHDHR/fHDHR_NextPVR.git
synced 2025-12-06 03:46:58 -05:00
Repair m3u/w3u
This commit is contained in:
parent
54e1e72104
commit
d03e575f0b
@ -63,7 +63,7 @@ class M3U():
|
||||
channel_items.append(channel_obj)
|
||||
else:
|
||||
return "Channel Disabled"
|
||||
elif not origin and channel == "all" and str(channel) in [str(x) for x in self.fhdhr.device.channels.get_channel_list("id")]:
|
||||
elif not origin and channel == "all":
|
||||
fileName = "channels.m3u"
|
||||
for origin in list(self.fhdhr.origins.origins_dict.keys()):
|
||||
for fhdhr_id in [x["id"] for x in self.fhdhr.device.channels.get_channels(origin)]:
|
||||
|
||||
@ -61,7 +61,7 @@ class W3U():
|
||||
channel_items.append(channel_obj)
|
||||
else:
|
||||
return "Channel Disabled"
|
||||
elif not origin and channel == "all" and str(channel) in [str(x) for x in self.fhdhr.device.channels.get_channel_list("id")]:
|
||||
elif not origin and channel == "all":
|
||||
fileName = "channels.w3u"
|
||||
for origin in list(self.fhdhr.origins.origins_dict.keys()):
|
||||
for fhdhr_id in [x["id"] for x in self.fhdhr.device.channels.get_channels(origin)]:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user