Skip to content

Commit

Permalink
Use text-based channel id rather than numerical
Browse files Browse the repository at this point in the history
  • Loading branch information
dp247 committed Feb 11, 2024
1 parent 7f7b4e7 commit d249024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def build_xmltv(channels: list, programmes: list) -> bytes:
ch_name = channel['title']
print(ch_name)
ch_number = channel['channel_number']
ch_id = channel['numerical_id']
ch_id = channel['id']
if channel['images'] is not None:
images = channel['images']
if images.get('artwork_negative') is not None:
Expand Down

0 comments on commit d249024

Please sign in to comment.