Skip to content

Commit

Permalink
Issue linuxmint#348 Reworked the fix based on the suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
lakshminarayananb committed Nov 30, 2024
1 parent 15b6df8 commit 54ca3dd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions usr/lib/hypnotix/xtream.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,10 +626,8 @@ def load_iptv(self):
if not skip_stream:
# Some channels have no group,
# so let's add them to the catch all group
if stream_channel["category_id"] == "":
if not stream_channel["category_id"]:
stream_channel["category_id"] = "9999"
elif stream_channel["category_id"] != "1":
pass

# Find the first occurence of the group that the
# Channel or Stream is pointing to
Expand Down

0 comments on commit 54ca3dd

Please sign in to comment.