Skip to content

Commit

Permalink
Relaxing channel name check in Xtream API (#178)
Browse files Browse the repository at this point in the history
* Added Initial XTream

* Added XTream Series

* Added check for local logo_path

* Back to fixed path

* Added pyxtream choice

* Replaced the test server

* Replaced the test server

* Fixed cache-path and added regex search

* Changed osp back to os.path

* Changed osp back to os.path

* Fixed bug in the way it reload from cache

* Fixed missing provider when it doesn't load

* Improved handling of missing keys

* Fixed Categories and cleaned up the code

* Updated function names to follow PEP8

* Added check before authorizing

* Scale down changes

* Revert some more changes

* Revert last changes

* Revert flag name

* Discard streams w/o name, change live radio type to live stream

* Fix subgroup name check
  • Loading branch information
superolmo committed Dec 8, 2021
1 parent 19e5c3a commit 30cc682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/lib/hypnotix/xtream.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ def load_iptv(self):
for stream_channel in all_streams:
if stream_channel['name'] != "":
# Generate Group Title
if stream_channel['name'][0].isalnum():
if stream_channel['name'][0].isascii():

# Some channels have no group,
# so let's add them to the catche all group
Expand Down

0 comments on commit 30cc682

Please sign in to comment.