Skip to content

Instantly share code, notes, and snippets.

@drinfernoo
Created October 8, 2019 21:07
Show Gist options
  • Save drinfernoo/be71fc5331fc980a84b14aee8274da49 to your computer and use it in GitHub Desktop.
Save drinfernoo/be71fc5331fc980a84b14aee8274da49 to your computer and use it in GitHub Desktop.
<control type="grouplist">
<visible>!Skin.HasSetting(DisableCodecs)</visible>
<orientation>horizontal</orientation>
<align>right</align>
<height>view_bottom</height>
<right>view_pad</right>
<left>view_pad</left>
<bottom>0</bottom>
<itemgap>20</itemgap>
<usecontrolcoords>true</usecontrolcoords>
<!-- 3D -->
<control type="image">
<fadetime>100</fadetime>
<centertop>50%</centertop>
<width>64</width>
<height>56</height>
<aspectratio align="left">keep</aspectratio>
<texture colordiffuse="main_fg_90">flags/monochrome/other/3D.png</texture>
</control>
<!-- HDR -->
<control type="image">
<fadetime>100</fadetime>
<centertop>50%</centertop>
<width>64</width>
<height>56</height>
<aspectratio align="left">keep</aspectratio>
<texture colordiffuse="main_fg_90">flags/monochrome/other/HDR.png</texture>
</control>
<!-- Source -->
<control type="image" id="77881">
<fadetime>100</fadetime>
<centertop>50%</centertop>
<width>62</width>
<height>56</height>
<aspectratio align="left">keep</aspectratio>
<texture colordiffuse="main_fg_90">$VAR[Image_RipSource]</texture>
</control>
<!-- Resolution -->
<control type="group">
<centertop>50%</centertop>
<width>64</width>
<height>42</height>
<control type="image">
<fadetime>100</fadetime>
<aspectratio>keep</aspectratio>
<texture colordiffuse="main_fg_90">flags/monochrome/resolution/2160.png</texture>
<visible>String.Contains(ListItem.Property(quality),4k)</visible>
</control>
<control type="image">
<fadetime>100</fadetime>
<aspectratio>keep</aspectratio>
<texture colordiffuse="main_fg_90">flags/monochrome/resolution/1080.png</texture>
<visible>String.Contains(ListItem.Property(quality),1080p)</visible>
</control>
<control type="image">
<fadetime>100</fadetime>
<aspectratio>keep</aspectratio>
<texture colordiffuse="main_fg_90">flags/monochrome/resolution/720.png</texture>
<visible>String.Contains(ListItem.Property(quality),720p)</visible>
</control>
<control type="image">
<fadetime>100</fadetime>
<aspectratio>keep</aspectratio>
<texture colordiffuse="main_fg_90">flags/monochrome/resolution/480.png</texture>
<visible>String.Contains(ListItem.Property(quality),SD)</visible>
</control>
</control>
<!-- Video Codec -->
<control type="image" id="77883">
<fadetime>100</fadetime>
<centertop>50%</centertop>
<width>71</width>
<height>48</height>
<aspectratio>keep</aspectratio>
<texture colordiffuse="main_fg_90">$INFO[ListItem.VideoCodec,flags/monochrome/source/,.png]</texture>
</control>
<!-- Aspect Ratio -->
<control type="image" id="77884">
<fadetime>100</fadetime>
<centertop>50%</centertop>
<width>71</width>
<height>48</height>
<aspectratio>keep</aspectratio>
<texture colordiffuse="main_fg_90">$INFO[ListItem.VideoAspect,flags/monochrome/aspectratio/,.png]</texture>
</control>
<!-- Audio Codec -->
<control type="image" id="77885">
<fadetime>100</fadetime>
<centertop>50%</centertop>
<width>71</width>
<height>48</height>
<aspectratio>keep</aspectratio>
<texture colordiffuse="main_fg_90">$VAR[Image_AudioCodec]</texture>
</control>
<!-- Audio Channels -->
<control type="image" id="77886">
<left>7</left>
<fadetime>100</fadetime>
<centertop>50%</centertop>
<width>32</width>
<height>32</height>
<aspectratio>keep</aspectratio>
<texture colordiffuse="main_fg_90">$INFO[ListItem.AudioChannels,flags/monochrome/channels/,.png]</texture>
<visible>String.IsEqual(ListItem.DBType,movie) | String.IsEqual(ListItem.DBType,episode) | String.IsEqual(ListItem.DBType,video)</visible>
<visible>!String.IsEmpty(Control.GetLabel(77886))</visible>
</control>
</control>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment