Removed spaces from add_programme
because Jellyfin doesn't like it, or the spec is fucked.
This commit is contained in:
parent
847cbea1ca
commit
ad6195eab8
1 changed files with 2 additions and 2 deletions
|
@ -35,13 +35,13 @@ class XMLTV:
|
|||
programme += '<title lang="ja">{}</title>'.format(title)
|
||||
programme += '<desc>{}</desc>'.format(desc)
|
||||
programme += '<category lang="ja">{}</category>'.format(category)
|
||||
if icon: programme += '<icon src="{}" />'.format(icon)
|
||||
if icon: programme += '<icon src="{}"/>'.format(icon)
|
||||
if '5.1' in attr: programme += '<audio><stereo>surround</stereo></audio>'
|
||||
if 'stereo' in attr: programme += '<audio><stereo>stereo</stereo></audio>'
|
||||
if 'mono' in attr: programme += '<audio><stereo>mono</stereo></audio>'
|
||||
if 'hd' in attr: programme += '<video><present>yes</present><aspect>16:9</aspect><quality>HDTV</quality></video>'
|
||||
if '4k' in attr: programme += '<video><present>yes></present><aspect>16:9</aspect><quality>3840x2160</quality></video>'
|
||||
if 'cp1' in attr: programme += '<subtitles type="teletext" />'
|
||||
if 'cp1' in attr: programme += '<subtitles type="teletext"/>'
|
||||
programme += '</programme>\n'
|
||||
|
||||
self.programmes.append(programme)
|
||||
|
|
Loading…
Add table
Reference in a new issue