XBMC Community Forum
"cdArt" concept - current cdImage with artist fanart support in music visualizations - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Skin Help and Support (/forumdisplay.php?fid=67)
+---- Forum: Artwork packs (/forumdisplay.php?fid=71)
+---- Thread: "cdArt" concept - current cdImage with artist fanart support in music visualizations (/showthread.php?tid=53242)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44


- snowdrift - 2009-11-02 20:54

kornkidpr Wrote:
Code:
<!--artist slideshow if fanart exist in define folder-->

    <control type="multiimage">
          <description>artist slideshow</description>
          <posx>0</posx>
          <posy>-</posy>
          <width>1280</width>
          <height>720</height>
        <imagepath>backdrops/artist_fanart/$INFO[MusicPlayer.Artist]</imagepath>
          <timeperimage>4000</timeperimage>
          <fadetime>2000</fadetime>
          <pauseatend>4000</pauseatend>
          <randomize>true</randomize>
          <loop>yes</loop>
          <aspectratio>keep</aspectratio>
          <visible>!Visualisation.Enabled + Player.HasAudio</visible>
    </control>

<!-- end artist slideshow -->
BTW this might be of help, this is what it says on my MusicVisualization.xml file. All I get is a black screen Sad

In the code above, you need to have your fanart arranged in the folder as in <imagepath> where your XBMC is installed, rather than where your music actually lives:

e.g. media/backdrops/artist_fanart/Black Eyed Peas/fanart1.jpg
media/backdrops/artist_fanart/Black Eyed Peas/fanart2.jpg

Is that how yours is? Shouldn't matter what resolution it is (or the filename, I think) as long as its big enough not to be scaled up and be pixelated.

I generally get most of my cdarts from xbmc stuff or allcdcovers have a good range too. I haven't had to scan any so far. Unless, of course, what you're after isn't there...


- kornkidpr - 2009-11-02 22:24

Well the whole directory of fan art is this one:
/home/username/.xbmc/skin/Aeon/media/backdrops/artist_fanart

This is the whole adress obviously the artist name goes at the end.
Do I have to write all that? I wrote what u put up in the example still not working Sad
anything I'm doing wrong or something?
BTW I don't have to change this part /$INFO[MusicPlayer.Artist] from there right?


- snowdrift - 2009-11-02 22:32

kornkidpr Wrote:Well the whole directory of fan art is this one:
/home/username/.xbmc/skin/Aeon/media/backdrops/artist_fanart

This is the whole adress obviously the artist name goes at the end.
Do I have to write all that? I wrote what u put up in the example still not working Sad
anything I'm doing wrong or something?
BTW I don't have to change this part /$INFO[MusicPlayer.Artist] from there right?

No, no, no. Apologies if I misled you. You don't alter the code at all. Leave that as it is. That path I gave was just an example of how your folder should be organised on disk. So from what you've said it should be something like this:

/home/username/.xbmc/skin/Aeon/media/backdrops/artist_fanart/Black Eyed Peas/fanart1.jpg


- azido - 2009-11-02 22:35

kornkidpr Wrote:Well the whole directory of fan art is this one:
/home/username/.xbmc/skin/Aeon/media/backdrops/artist_fanart

This is the whole adress obviously the artist name goes at the end.
Do I have to write all that? I wrote what u put up in the example still not working Sad
anything I'm doing wrong or something?
BTW I don't have to change this part /$INFO[MusicPlayer.Artist] from there right?

hmm.

<imagepath>backdrops/artist_fanart/$INFO[MusicPlayer.Artist]</imagepath>

for "black sabbath" it would resolve to

backdrops/artist_fanart/black sabbath

..is this how that is intended to be? shouldn't there be a slash at the end? also, doesn't a path with spaces in it need to go in quotes to be recognized completely?


- kornkidpr - 2009-11-02 22:45

snowdrift Wrote:No, no, no. You don't alter the code at all. Leave that as it is. That path I gave was just an example of how your folder should be organised on disk. So from what you've said it should be something like this:

/home/username/.xbmc/skin/Aeon/media/backdrops/artist_fanart/Black Eyed Peas/fanart1.jpg

EDIT: Note that the "media" folder should be in a folder with others such as 720p, fonts etc. Is that the case?
Yes that's exactly how it is and all I see is a black screen, I really don't know why.
/home/username/.xbmc/skin/Aeon/media/backdrops/artist_fanart/michael jackson/picture.jpg

Do I have to write that whole address in the .xml everytime I wanna use a fan art? lol
Yes media folder is in the same place 720p is and all the other ones.


- snowdrift - 2009-11-02 23:04

azido Wrote:hmm.

<imagepath>backdrops/artist_fanart/$INFO[MusicPlayer.Artist]</imagepath>

for "black sabbath" it would resolve to

backdrops/artist_fanart/black sabbath

..is this how that is intended to be? shouldn't there be a slash at the end? also, doesn't a path with spaces in it need to go in quotes to be recognized completely?

Yep, its correct. Strange, but true Smile

The multiimage control seems to fill in the trailing slash, so its not required. On my Mac, I also don't need any quotes for artists with spaces in their names - I obviously can't speak for other platforms though - but I wouldn't expect it to be different...


- kornkidpr - 2009-11-02 23:06

Where would the quotes go? I'm on Linux maybe that's what I need I dunno lol.


- reaven - 2009-11-03 11:37

you need to match the folder name where the fanarts are exactly with the artist/band name xbmc read from the album that is playing.

to test select a more easier artist that doesnt have any spaces.

just follow the logic of the code
Code:
<imagepath>backdrops/artist_fanart/$INFO[MusicPlayer.Artist]</imagepath>
xbmc will play an slideshow of the images inside the folder name $INFO[MusicPlayer.Artist] which means the name of the currently playing artist/band, of course if that folder is in this path (backdrops/artist_fanart/)

I could provide more info but i cant test this because I dont use it anymore, mine is setup with single fanart read from the music source storage the same with the cdarts.


- snowdrift - 2009-11-03 14:59

reaven Wrote:I could provide more info but i cant test this because I dont use it anymore, mine is setup with single fanart read from the music source storage the same with the cdarts.

Me too! Wink


- kornkidpr - 2009-11-03 18:56

reaven Wrote:you need to match the folder name where the fanarts are exactly with the artist/band name xbmc read from the album that is playing.

to test select a more easier artist that doesnt have any spaces.

just follow the logic of the code
Code:
<imagepath>backdrops/artist_fanart/$INFO[MusicPlayer.Artist]</imagepath>
xbmc will play an slideshow of the images inside the folder name $INFO[MusicPlayer.Artist] which means the name of the currently playing artist/band, of course if that folder is in this path (backdrops/artist_fanart/)

I could provide more info but i cant test this because I dont use it anymore, mine is setup with single fanart read from the music source storage the same with the cdarts.
Thanx reaven maybe that will work better. Can you drop the code so the fanArt gets read in the same folder as the cdArt?
If im not mistaken what your saying is you have to name the fanArt file the same way you do with the cdArt and drop em inside the same folder?