2020-08-26, 18:27
I've been fiddling with this file, attempting to get the album artwork bigger and centered on the screen to look more like Spotify or Tidal. I've modified the following:
<include name="OSD_Music_Info_Image_Square">
<param name="side" default="OSD_LeftSide" />
<definition>
<control type="group">
<bottom>view_pad</bottom>
<include>$PARAM[side]</include>
<width>218</width>
<height>218</height>
<control type="image">
<aspectratio scalediffuse="false">scale</aspectratio>
<include condition="!Skin.HasSetting(DisableShadows)">Defs_Shadow_24</include>
<texture diffuse="diffuse/square-musicosd.png">$INFO[$PARAM[artwork]]</texture>
</control>
</control>
</definition>
</include>
To this:
<param name="side" default="OSD_LeftSide" />
<definition>
<control type="group">
<include>$PARAM[side]</include>
<top>100</top>
<width>640</width>
<height>640</height>
<control type="image">
<aspectratio scalediffuse="true">scale</aspectratio>
<include condition="!Skin.HasSetting(DisableShadows)">Defs_Shadow_24</include>
<texture diffuse="diffuse/square-musicosd.png">$INFO[$PARAM[artwork]]</texture>
</control>
</control>
</definition>
</include>
And managed to get it to look like this:
How can I get the album artwork centered? I've tried adding <left>, <right> and <align>center</align> but they don't seem to do anything. Any ideas?
<include name="OSD_Music_Info_Image_Square">
<param name="side" default="OSD_LeftSide" />
<definition>
<control type="group">
<bottom>view_pad</bottom>
<include>$PARAM[side]</include>
<width>218</width>
<height>218</height>
<control type="image">
<aspectratio scalediffuse="false">scale</aspectratio>
<include condition="!Skin.HasSetting(DisableShadows)">Defs_Shadow_24</include>
<texture diffuse="diffuse/square-musicosd.png">$INFO[$PARAM[artwork]]</texture>
</control>
</control>
</definition>
</include>
To this:
<param name="side" default="OSD_LeftSide" />
<definition>
<control type="group">
<include>$PARAM[side]</include>
<top>100</top>
<width>640</width>
<height>640</height>
<control type="image">
<aspectratio scalediffuse="true">scale</aspectratio>
<include condition="!Skin.HasSetting(DisableShadows)">Defs_Shadow_24</include>
<texture diffuse="diffuse/square-musicosd.png">$INFO[$PARAM[artwork]]</texture>
</control>
</control>
</definition>
</include>
And managed to get it to look like this:
How can I get the album artwork centered? I've tried adding <left>, <right> and <align>center</align> but they don't seem to do anything. Any ideas?