From ad6195eab8428261183137cbcb2d5f9b359a515f Mon Sep 17 00:00:00 2001 From: Yuuki Date: Fri, 3 Jan 2025 15:15:18 +0900 Subject: [PATCH] Removed spaces from `add_programme` because Jellyfin doesn't like it, or the spec is fucked. --- constants.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/constants.py b/constants.py index ccb35e4..2544aed 100644 --- a/constants.py +++ b/constants.py @@ -35,13 +35,13 @@ class XMLTV: programme += '{}'.format(title) programme += '{}'.format(desc) programme += '{}'.format(category) - if icon: programme += ''.format(icon) + if icon: programme += ''.format(icon) if '5.1' in attr: programme += '' if 'stereo' in attr: programme += '' if 'mono' in attr: programme += '' if 'hd' in attr: programme += '' if '4k' in attr: programme += '' - if 'cp1' in attr: programme += '' + if 'cp1' in attr: programme += '' programme += '\n' self.programmes.append(programme)