Add 4k attribute support.
This commit is contained in:
parent
fab83e733a
commit
ef97a070e6
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ class XMLTV:
|
|||
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" />'
|
||||
programme += '</programme>\n'
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue