Kodi Community Forum

Full Version: cdArt on Albums Level possible?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I have been trying to get my cdart's to show on the album level but I can't seem to get them to show. I can on songs level but it is a no go with albums.

My music structure is

Music
--Artist
---Album
---song.mp3
---cdart.png

If anyone knows the proper coding to get it to show it would be a big help! Tried to search for it, but cdart brings up a large amount of results!

Thanks
since there's no path associated with albums, it's not easy to get this done.

the code i use to reconstruct the path myself:
Code:
<texture>$INFO[Skin.String(Music_Folder_Path)]$INFO[ListItem.Artist]$INFO[ListItem.Album,/,/cdart.png]</texture>


Skin.String(Music_Folder_Path) must point to the root of your music folder.
also Artist and Album names must exactly match the folder names.
Thanks Ronie

I was hoping for a method with out having to do a skin.string, so I might just have to forget about it for now.
So do we have to set Skin.String(Music_Folder_Path)?
igotdvds Wrote:So do we have to set Skin.String(Music_Folder_Path)?

yup, you'll have to make a skin setting so the user can select their music folder.
ronie Wrote:yup, you'll have to make a skin setting so the user can select their music folder.

Ok did that, and tested the label and it IS pulling the folder location BUT still no cdart on album level.

Code:
<control type="button" id="514">
<width>900</width>
<height>40</height>
<font>Simplicity_20</font>
<label>Set Music Folder For CD Art [color=grey3] (Your Root Music Folder)[/color]</label>
<label2>[color=selected]$INFO[Skin.String(Music_Folder_Path)][/color]</label2>
<textcolor>white</textcolor>                            <focusedcolor>white</focusedcolor>                            <texturefocus border="0,2,0,2">simplicity/button-focus.png</texturefocus>                        
<texturenofocusborder="0,2,0,2">simplicity/menuitemnf.png</texturenofocus>
<onclick>Skin.SetString(Music_Folder_Path)</onclick>
</control>

Image

Code:
<texture fallback="cd/default.png">$INFO[Skin.String(Music_Folder_Path)]$INFO[ListItem.Artist]$INFO[ListItem.Album,/,/cdart.png]</texture>
weird, no errors at all.
it should log an error though if it's unable to find the cdart image...

sorry, but i have no clue at this point.
Anyone got this working?
if you post/pm the code of the view you're working on, i'll have a look.

i've been using it in T! for quite a while, so you can also check there.
to enable it in T!:
Skin Settings > General > Music - Enable cdArt
Skin Settings > General > Music folder path:

when browsing your albums, use the 'icons' view.
ronie Wrote:if you post/pm the code of the view you're working on, i'll have a look.

i've been using it in T! for quite a while, so you can also check there.
to enable it in T!:
Skin Settings > General > Music - Enable cdArt
Skin Settings > General > Music folder path:

when browsing your albums, use the 'icons' view.

Ok. It works in Transparency but not Simplicity. I even copied your EXACT code and tested it.

Here is a screenshot with the following label shown:

Label (shown on screen)
Code:
<label>$INFO[Skin.String(Music_Folder_Path)]$INFO[ListItem.Artist]$INFO[ListItem.Album,/,/cdart.png]</label>

Image code:

Code:
<texture fallback="cd/default.png" background="true">$INFO[Skin.String(Music_Folder_Path)]$INFO[ListItem.Artist]$INFO[ListItem.Album,/,/cdart.png]</texture>
Image

As you can see it doesnt produce the cdart.

Here is a picture of the directory where the cdart sits.

Image

I even tried switching the "/" to "\" as you can see below:

Image

Please help!!!
think i got it....
you're using the cdart inside the panel container,
while i have coded it outside the container.

apparently, you can't use skin $INFO labels inside lists/panels.
ronie Wrote:think i got it....
you're using the cdart inside the panel container,
while i have coded it outside the container.

apparently, you can't use skin $INFO labels inside lists/panels.


So there is no way to use it in a list?
igotdvds Wrote:Image code:

Code:
<texture fallback="cd/default.png" background="true">$INFO[Skin.String(Music_Folder_Path)]$INFO[ListItem.Artist]$INFO[ListItem.Album,/,/cdart.png]</texture>
Image

As you can see it doesnt produce the cdart.

Here is a picture of the directory where the cdart sits.

Image


Please help!!!

Note in your label you have the root path as "c:\users\wiz\music\iTunes\iTunes Music\" but in the folder snapshot it shows "c:\users\wiz\My Music\iTunes\iTunes Music\"

That would certainly cause in issue...
Pages: 1 2