Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
xmltv parser: add UHD support
  • Loading branch information
perexg committed Jan 27, 2016
1 parent 90f66ef commit 029ff74
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/epggrab/module/xmltv.c
Expand Up @@ -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;
Expand All @@ -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"))) {
Expand Down

0 comments on commit 029ff74

Please sign in to comment.