Hallo,
aus gegebenem Anlass habe ich die Anzeige für Live und Replay mal um die UHD Auflösung erweitert.
Dafür gibt es eine neue 'resolution' -> 'uhd2160p'
Code
<drawtext name="uhd2160p" condition="strequal({resolution}, 'uhd2160p')" x="{areawidth} - 2*{areaheight}*16/9 - 3 + {areaheight}*16/9/2 - {width(uhd2160p)}/2" valign="center" fontsize="55%" font="{bold}" color="{icontextactive}" text="2160p" />
Aus dem 'bool isHD' ist ein int geworden (0=sd, 1=hd, 2=uhd).
Code
<drawtext name="uhd" condition="eq({isHD},2)" x="{areawidth} - 3*{areaheight}*16/9 - 6 + {areaheight}*16/9/2 - {width(uhd)}/2" valign="center" fontsize="55%" font="{bold}" color="{icontextactive}" text="UHD" />
<drawtext name="hdtv" condition="eq({isHD},1)" x="{areawidth} - 3*{areaheight}*16/9 - 6 + {areaheight}*16/9/2 - {width(hdtv)}/2" valign="center" fontsize="55%" font="{bold}" color="{icontextactive}" text="HDTV" />
<drawtext name="sdtv" condition="eq({isHD},0)" x="{areawidth} - 3*{areaheight}*16/9 - 6 + {areaheight}*16/9/2 - {width(sdtv)}/2" valign="center" fontsize="55%" font="{bold}" color="{icontextactive}" text="SDTV" />
Dann sind in dem Patch noch die Anpassungen aus dem metrixHD-labor6.diff und zwei neue Skripte für die Stats.
EDIT: Das müsste so auch Abwärtskompatibel, mit nicht angepassten Skin's, sein.
EDIT2: Hab meine Änderungen mal in ein repository geladen: https://github.com/Saman-VDR/vdr-plugin-skindesigner