Kodi Community Forum

Full Version: ANy way to change the poster size for music videos?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Ronie -

Poster size for music videos in all views except fanart is close to square.

Most of my music videos section is populates with music-dvds so the covers are standard rectangular dvd covers.

Is there any easily editable chunk of .xml I could edit to have these covers show in full in list , full list or thumbnail views?

Thanks!


BTW - actually the same thing would be great for the artist pics in the music library - in fanart view these are more or less square whereas the artist pic scraped is often a tall rectangle.
assuming you're using T! v2.10 beta, here's the code you'll need to change
in View-List.xml:
Code:
<control type="image">
    <posx>15</posx>
    <posy>68</posy>
    <width>364</width>
    <height>364</height>
    <aspectratio scalediffuse="false">scale</aspectratio>
    <texture diffuse="thumb-diffuse.png" background="true">$INFO[ListItem.Icon]</texture>
    <bordertexture>thumb-shadow.png</bordertexture>
    <bordersize>11</bordersize>
    <fadetime>IconCrossfadeTime</fadetime>
    <visible>Container.Content(MusicVideos) + !stringcompare(ListItem.Label,..)</visible>
</control>


in View-Thumbnail.xml:
Code:
<itemlayout condition="Container.Content(MusicVideos)" height="156" width="176">
....
<control type="image">
    <posx>28</posx>
    <posy>5</posy>
    <width>168</width>
    <height>102</height>
    <aspectratio scalediffuse="false">scale</aspectratio>
    <texture diffuse="video-diffuse.png" background="true">$INFO[Listitem.Icon]</texture>
    <bordertexture border="9">video-shadow.png</bordertexture>
    <bordersize>9</bordersize>
    <visible>!stringcompare(ListItem.Label,..)</visible>
</control>
and:
Code:
<focusedlayout condition="Container.Content(MusicVideos)" height="156" width="176">
....
<control type="image">
    <posx>28</posx>
    <posy>5</posy>
    <width>168</width>
    <height>102</height>
    <aspectratio scalediffuse="false">scale</aspectratio>
    <texture diffuse="video-diffuse.png"  background="true">$INFO[Listitem.Icon]</texture>
    <animation type="focus">
        <effect type="zoom" start="100" end="123" center="auto" time="200" reversible="false" />
    </animation>
    <animation type="unfocus">
        <effect type="zoom" start="123" end="100" center="auto" time="200" reversible="false" />
    </animation>
    <bordertexture border="9">video-shadow.png</bordertexture>
    <bordersize>9</bordersize>
    <visible>!stringcompare(ListItem.Label,..)</visible>
</control>

as for the artist thumbs, i prefer to keep them square.
all artist thumbs on http://htbackdrops.com/ are square, so if you scrape them from there you won't have any problem.
Cool...thanks Ronie Smile
Nevermind....I was being thick....figured it out now...thanks Ronie!

If anyone's interested these are the values that worked for me for a large DVD cover in Music Video view Smile

Code:
<control type="image">
<posx>7</posx>
<posy>-04</posy>
<width>380</width>
<height>510</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture diffuse="thumb-diffuse.png" background="true">$INFO[ListItem.Icon]
</texture>
<bordertexture>thumb-shadow.png</bordertexture>
<bordersize>11</bordersize>
<fadetime>IconCrossfadeTime</fadetime>
<visible>Container.Content(MusicVideos) + !stringcompare(ListItem.Label,..)</visible>
</control>