2009-11-05, 20:00
reaven Wrote:so the code practically would be the same except instead of the <texture> line I would use <info> ?
you can still use texture if you want:
<texture>$INFO[MusicPlayer.Property(Fanart_Image)]</texture>
reaven Wrote:so the code practically would be the same except instead of the <texture> line I would use <info> ?
joebrady Wrote:Just thinking out loud here, but can the default image be based of $INFO[MusicPlayer.Genre], if there is no cdart for that artist?
<texture fallback="backdrops/artist_fanart/default/default.png">backdrops/artist_fanart/cd/$INFO[MusicPlayer.Artist]-$INFO[MusicPlayer.Album].png</texture>
<texture fallback="backdrops/artist_fanart/default/$INFO[MusicPlayer.Genre].png">backdrops/artist_fanart/cd/$INFO[MusicPlayer.Artist]-$INFO[MusicPlayer.Album].png</texture>
joebrady Wrote:Just thinking out loud here, but can the default image be based of $INFO[MusicPlayer.Genre], if there is no cdart for that artist?
ronie Wrote:nope, not supported by xbmc. you can't use infolabels as fallback.
reaven Wrote:really?, I was talking about that in the thread of my other mod
maybe the music is different because not everyone scrape the music info and maybe those tags are not avaliable to xbmc but for videos that info is there, I haven't try yet but soon.
bblauritzen Wrote:Just tried to change this (im using a Rapier MOD):
PHP Code:<texture fallback="backdrops/artist_fanart/default/default.png">backdrops/artist_fanart/cd/$INFO[MusicPlayer.Artist]-$INFO[MusicPlayer.Album].png</texture>
to this
PHP Code:<texture fallback="backdrops/artist_fanart/default/$INFO[MusicPlayer.Genre].png">backdrops/artist_fanart/cd/$INFO[MusicPlayer.Artist]-$INFO[MusicPlayer.Album].png</texture>
And then i placed a "genre".png in the fallback path
No luck...
<control type="largeimage" id="7000">
...
<texture>backdrops/artist_fanart/cd/$INFO[MusicPlayer.Artist]-$INFO[MusicPlayer.Album].png</texture>
</control>
<control type="largeimage">
...
<texture>backdrops/artist_fanart/default/$INFO[MusicPlayer.Genre].png</texture>
<visible>IsEmpty(Control.GetLabel(7000))</visible>
</control>
bblauritzen Wrote:EDIT: What about music with multiple genres?
Roni Wrote:Code:<control type="largeimage" id="7000">
...
<texture>backdrops/artist_fanart/cd/$INFO[MusicPlayer.Artist]-$INFO[MusicPlayer.Album].png</texture>
</control>
<control type="largeimage">
...
<texture>backdrops/artist_fanart/default/$INFO[MusicPlayer.Genre].png</texture>
<visible>IsEmpty(Control.GetLabel(7000))</visible>
</control>
Roni Wrote:me neither but anyway music always have a main Genre even if is classified with multiples and is always very easy to edit the tags, thats why I dont used to scrape the music I just use mp3Tag and put the tags the way I want.bblauritzen Wrote:EDIT: What about music with multiple genres?i checked my library and couldn't find many albums with multiple genres.
another option would be to use the album cover as a fallback instead of a genre image...not sure if that will look right though
reaven Wrote:ok...of course this is part of the code right ? ... implies that !
so just remove the fallback line and make another image control with the visible tag bool to check if the cdArt control is empty or not and display the genre cdArt accordingly, right ?? (just need one for each genre)
reaven Wrote:BTW..you have MSN messenger that you can PM me ! I would like to change more ideas with you.
Stenager Wrote:First a very nice MOD. Next i have a question: Is it possible to have cdart to a compilation cd and is it possible to have a different disc to a 2 disc cd.
Hope someone can help.
Stenager Wrote:I'm trying to get it to work with the Ministry of Sound - The Annual 2010.
My music folder looks like this compilation/ministry of sound - the annual 2010/cdx (1,2,3)
What should my cdart folder look like? Sorry må stupid question. I'm a noob