cdArt on Albums Level possible?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ekim232 Offline
Posting Freak
Posts: 1,204
Joined: Nov 2008
Reputation: 5
Location: Chicago, IL
Question  cdArt on Albums Level possible? Post: #1
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
find quote
ronie Offline
Team-XBMC Member
Posts: 8,263
Joined: Jan 2009
Reputation: 108
Post: #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.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
ekim232 Offline
Posting Freak
Posts: 1,204
Joined: Nov 2008
Reputation: 5
Location: Chicago, IL
Post: #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.
find quote
igotdvds Offline
Skilled Skinner
Posts: 1,616
Joined: Jul 2009
Reputation: 11
Post: #4
So do we have to set Skin.String(Music_Folder_Path)?
find quote
ronie Offline
Team-XBMC Member
Posts: 8,263
Joined: Jan 2009
Reputation: 108
Post: #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.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
igotdvds Offline
Skilled Skinner
Posts: 1,616
Joined: Jul 2009
Reputation: 11
Post: #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>
find quote
ronie Offline
Team-XBMC Member
Posts: 8,263
Joined: Jan 2009
Reputation: 108
Post: #7
debug log ;-)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
igotdvds Offline
Skilled Skinner
Posts: 1,616
Joined: Jul 2009
Reputation: 11
Post: #8
Here ya go:

http://hpaste.org/46764/debug log
find quote
ronie Offline
Team-XBMC Member
Posts: 8,263
Joined: Jan 2009
Reputation: 108
Post: #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.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
igotdvds Offline
Skilled Skinner
Posts: 1,616
Joined: Jul 2009
Reputation: 11
Post: #10
Anyone got this working?
find quote
Post Reply