From: Jaroslav Kysela Date: Wed, 27 Jan 2016 18:45:43 +0000 (+0100) Subject: xmltv parser: add UHD support X-Git-Tag: v4.2.1~1105 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=029ff7404629eb0265dfdffc8f40b64200d590f8;p=thirdparty%2Ftvheadend.git xmltv parser: add UHD support --- diff --git a/src/epggrab/module/xmltv.c b/src/epggrab/module/xmltv.c index 851517890..b5edb515a 100644 --- a/src/epggrab/module/xmltv.c +++ b/src/epggrab/module/xmltv.c @@ -261,6 +261,8 @@ xmltv_parse_vid_quality if ((str = htsmsg_xml_get_cdata_str(m, "quality"))) { if (strstr(str, "HD")) { hd = 1; + } else if (strstr(str, "UHD")) { + hd = 2; } else if (strstr(str, "480")) { lines = 480; aspect = 150; @@ -275,6 +277,14 @@ xmltv_parse_vid_quality lines = 1080; hd = 1; aspect = 178; + } else if (strstr(str, "1716")) { + lines = 1716; + hd = 2; + aspect = 239; + } else if (strstr(str, "2160")) { + lines = 2160; + hd = 2; + aspect = 178; } } if ((str = htsmsg_xml_get_cdata_str(m, "aspect"))) {