Skip to content

Commit

Permalink
Fix for Issue #348 - Xstream config erroring out on load (#359)
Browse files Browse the repository at this point in the history
* Fix for Issue #348 - Xstream config erroring out on load

* Issue #348 Reworked the fix based on the suggestion

---------

Co-authored-by: lakshminarayananb <>
  • Loading branch information
lakshminarayananb authored Dec 6, 2024
1 parent b75925a commit fc5183d
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"] is None:
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 fc5183d

Please sign in to comment.