cdArt on Albums Level possible?
#1
Question 
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
Reply
#2
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.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
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.
Reply
#4
So do we have to set Skin.String(Music_Folder_Path)?
Image
To learn more, click here.
Reply
#5
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.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#6
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>
Image
To learn more, click here.
Reply
#7
Debug Log ;-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#8
Here ya go:

http://hpaste.org/46764/Debug Log
Image
To learn more, click here.
Reply
#9
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.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#10
Anyone got this working?
Image
To learn more, click here.
Reply
#11
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.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#12
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!!!
Image
To learn more, click here.
Reply
#13
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.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#14
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?
Image
To learn more, click here.
Reply
#15
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...
-stoli-
Reply

Logout Mark Read Team Forum Stats Members Help
cdArt on Albums Level possible?0