Skip to content

Commit

Permalink
1.32-20241027 local and external playlist fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kiddac committed Oct 27, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 8d03d50 commit 9d681b7
Showing 5 changed files with 23 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -539,7 +539,8 @@ def epgimportcleanup(self):
for elem in root.findall(".//source"):
description = elem.find("description").text if elem.find("description") is not None else ""
if not any(cfile in description for cfile in channelfilelist):
root.remove(elem)
if elem in root:
root.remove(elem)

tree.write(sourcefile)
except Exception as e:
Original file line number Diff line number Diff line change
@@ -23,6 +23,18 @@ def processFiles():
open(playlists_json, "a").close()

playlists_all = []
prefix_name = True
show_live = True
show_vod = False
show_series = False
live_category_order = "original"
live_stream_order = "original"
vod_category_order = "original"
vod_stream_order = "original"
server_offset = 0
epg_alternative = False
epg_alternative_url = ""
next_days = "0"

if os.path.isfile(playlists_json):
with open(playlists_json, "r") as f:
@@ -123,24 +135,10 @@ def processFiles():
playlistformat = "m3u_plus"
output = "ts"

show_live = True
show_vod = False
show_series = False
prefix_name = True
# live_streams = []

server_offset = 0
epg_offset = 0
playlist_type = ""
live_category_order = "original"
live_stream_order = "original"
vod_category_order = "original"
vod_stream_order = "original"

epg_alternative = False
epg_alternative_url = ""

next_days = "0"

playlist_type = "xtream" if "get.php" in line else "external"

Original file line number Diff line number Diff line change
@@ -112,6 +112,13 @@ def loopPlaylists(self):
self.done()

def bouquetLoop(self):
self.live_categories = []
self.vod_categories = []
self.series_categories = []
self.live_streams = []
self.vod_streams = []
self.series_streams = []

if self.bouquets:
glob.current_playlist = self.bouquets[self.bouq]

Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.30-20241027
1.32-20241027
2 changes: 1 addition & 1 deletion CONTROL/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: enigma2-plugin-extensions-bouquetmakerxtream
Version: 1.30-20241027
Version: 1.32-20241027
Section: misc
Priority: optional
Architecture: all

0 comments on commit 9d681b7

Please sign in to comment.