Modding Music Library - Thumbnail View
#1
I have looked at so many .xml files today, trying to figure this out.

I use the Thumbnail view in Music Library, with the album art nicely arranged in rows and the album title below each image.

I would like to add the artist name and even year to the text below each image. I think it involves $INFO[ListItem.Year] and $INFO[ListItem.Artist] labels, but I can't work out which file(s) to edit.

Could someone point me to the right file (and even line number if possible)?
Anti-Fascist◾Artist◾Atheist◾Barefoot◾Cis-male◾Cyclist◾Gay◾Geeky◾Introverted◾Likes weird stuff◾Living with depression & anxiety◾Naturist◾Pierced◾Socialist◾He/him
Reply
#2
For Confluence, go into the file ViewsFileMode.xml, line 205, you should have :
Code:
<info>ListItem.Label</info>
If you want to display both Artist and Album, you can replace it with :
Code:
<label>$INFO[ListItem.Label2] - $INFO[ListItem.Label]</label>
ListItem.Label2 is the artist and ListItem.Label the album
But the line is likely to be too long. You can reduce the font size to improve that. Line 200, you've got :
Code:
<font>font12</font>
If you want less than font12, I'll have to describe it in Font.xml
And then you have to do the same in the focused layout section (line 237) otherwise the change would be effective only for non-selected albums.
You can also display this information on 2 lines by duplicating the section
Code:
<control type="label">
and workout the appropriate posx and poxy values.

If you're interested, I've customized the Thumbnail View to see 16 covers (6x3) on one page instead of 8(4x2) in the current version and the artist and album on 2 lines with smaller fonts. Let me know if you want it. I intend to post it later but I style want to add some more changes first.
Reply
#3
Have you read the skinning wiki might help you Smile

If you use Notepad++ you can search all the xml files in one go makes it much easier to find and make sense of things
Reply
#4
Thanks for the replies. I had actually worked out how to do this (exactly the same as your suggestion lolobu). The text scrolls when highlighted, which is OK; using smaller text would make it too small to read.

I also duplicated each of the two control sections and added

Code:
<visible>Window.IsVisible(MusicLibrary)</visible>
to the edited block and

Code:
<visible>!Window.IsVisible(MusicLibrary)</visible>
to the duplicated, unedited block to prevent this view to be used for anything other than the music library (such as pictures in thumbnail view)

lolobu Wrote:If you're interested, I've customized the Thumbnail View to see 16 covers (6x3) on one page instead of 8(4x2) in the current version and the artist and album on 2 lines with smaller fonts. Let me know if you want it. I intend to post it later but I style want to add some more changes first.

I would like to see that - post if you can when you're ready.
Anti-Fascist◾Artist◾Atheist◾Barefoot◾Cis-male◾Cyclist◾Gay◾Geeky◾Introverted◾Likes weird stuff◾Living with depression & anxiety◾Naturist◾Pierced◾Socialist◾He/him
Reply
#5
It took me a while but you can finally get my 6x3 grid version here : http://forum.xbmc.org/showthread.php?tid=108873
Reply

Logout Mark Read Team Forum Stats Members Help
Modding Music Library - Thumbnail View0