diff options
| author | Peter Bieringer <pb@bieringer.de> | 2021-01-21 07:49:35 +0100 |
|---|---|---|
| committer | Peter Bieringer <pb@bieringer.de> | 2021-01-21 07:49:35 +0100 |
| commit | 66f090afdbc21750dfcfce73578b0f49d5980437 (patch) | |
| tree | 1409c39d3645fabfb3328f5e0084e97921a05140 /skinskeleton | |
| parent | 4c4b9f78372eeabbd394041b63db71c76eec146d (diff) | |
| download | vdr-plugin-skindesigner-66f090afdbc21750dfcfce73578b0f49d5980437.tar.gz vdr-plugin-skindesigner-66f090afdbc21750dfcfce73578b0f49d5980437.tar.bz2 | |
add isUHD to screenresolution
change mechanism to detect video type using screen height instead of guessing height from width
Diffstat (limited to 'skinskeleton')
| -rw-r--r-- | skinskeleton/xmlfiles/displaychannel.xml | 5 | ||||
| -rw-r--r-- | skinskeleton/xmlfiles/displayreplay.xml | 9 |
2 files changed, 8 insertions, 6 deletions
diff --git a/skinskeleton/xmlfiles/displaychannel.xml b/skinskeleton/xmlfiles/displaychannel.xml index 5bfed29..393a30e 100644 --- a/skinskeleton/xmlfiles/displaychannel.xml +++ b/skinskeleton/xmlfiles/displaychannel.xml @@ -90,9 +90,10 @@ <!-- Available Variables screenresolution: {screenwidth} width of currently displayed channel in px {screenheight} height of currently displayed channel in px - {resolution} resolution: hd1080i, hd720p, sd576i, sd480i + {resolution} resolution: uhd4320p, uhd2160p, hd1440p, hd1080i, hd720p, sd576i, sd480i {aspect} screen aspect, each 4:3, 16:9 or 21:9 - {isHD} true for hd1080i and hd720p + {isHD} true for uhd4320p, uhd2160p, hd1440p, hd1080i, hd720p + {isUHD} true for uhd4320p, uhd2160p {isWideScreen} true if aspect is 16:9 or 21:9 --> <screenresolution> diff --git a/skinskeleton/xmlfiles/displayreplay.xml b/skinskeleton/xmlfiles/displayreplay.xml index 758960b..083cdf6 100644 --- a/skinskeleton/xmlfiles/displayreplay.xml +++ b/skinskeleton/xmlfiles/displayreplay.xml @@ -61,11 +61,12 @@ </rectitle> <!-- Available Variables recinfo: - {screenwidth} width of currently displayed recording in px - {screenheight} height of currently displayed recording in px - {resolution} resolution: hd1080i, hd720p, sd576i, sd480i + {screenwidth} width of currently displayed channel in px + {screenheight} height of currently displayed channel in px + {resolution} resolution: uhd4320p, uhd2160p, hd1440p, hd1080i, hd720p, sd576i, sd480i {aspect} screen aspect, each 4:3, 16:9 or 21:9 - {isHD} true for hd1080i and hd720p + {isHD} true for uhd4320p, uhd2160p, hd1440p, hd1080i, hd720p + {isUHD} true for uhd4320p, uhd2160p {isWideScreen} true if aspect is 16:9 or 21:9 --> <recinfo> |
