Help - Search - Members - Calendar
Full Version: Newbie Q: Artist name on jpg?
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Lucien Peter
Hi there

Sorry, but I couldnt find an answer and am trying around myself for weeks now.

How can I success to have the downloaded artist art named by artists name and not by this discogs ID?

I have the artist pics in this folder:

C:\Users\n01r\Music\Artists

I'd prefer to have it in C:\Users\n01r\Music\Library\%artist% , but probably this is not a good idea because of certain foobar dll's, right?

The discogs plugin names the artists Art by %discog_artist_ID% Tag. I also tried to use that directly, but I must say, I am a subzero in programing...

I tried this in the globals of dark1.7 foobar skin; I just try around, but no idea, as you probably see...
CODE

$if($fileexists(C:\Users\n01r\Music\Artists\%filename_ext%,%DISCOGS_ARTIST_ID%*.*),
$puts(ArtistImage1,$replace(C:\Users\n01r\Music\Artists\%filename_ext%,%DISCOGS_ARTIST_ID%*.*)),
$if($fileexists($replace(%path%,%filename_ext%,)%artist%.*),
$puts(ArtistImage1,$replace(%path%,%filename_ext%,)%artist%.*),
$if($fileexists($replace(%path%,%directory%\%filename_ext%,folder*.*)),
$puts(ArtistImage1,$replace(%path%,%directory%\%filename_ext%,folder*.*)),
$if($fileexists($replace(%path%,%directory%\%filename_ext%,*.*g)),
$puts(ArtistImage1,$replace(%path%,%directory%\%filename_ext%,*.*g)),
$if($fileexists($get(artistPath)),
$puts(ArtistImage1,$get(artistPath)),
)))))

This seems to be absolutely nonsense.

With album art I had a little bit more success:

CODE
$replace(C:\Users\n01r\Music\Artists\,%filename_ext%,)%DISCOGS_ARTIST_ID%*


This gives a useable output, but the * seems to become the sign * and not the _1 _2 and so on.

How do you solved it in your configs? I think there are dll's which could name the pics after the discogs plugin downloaded the artists art. But in 1.13 I think it should be also possible to name it directly.

I really want to learn these things, but it is hard, so it would be nice if someone could look at these things here, perhaps also basic explainings would be great... I dont want to steal your time.

Thanks


lp70
paradog
In panels,I use

CODE
$if($fileexists(%foobar_path%artistwork\%DISCOGS_ARTIST_ID%*.*),
$puts(ArtistImage1,%foobar_path%artistwork\%DISCOGS_ARTIST_ID%*.*),
$if($fileexists(K:\artistart\%DISCOGS_ARTIST_ID%*.*),
$puts(ArtistImage1,K:\artistart\%DISCOGS_ARTIST_ID%*.*),
$if($fileexists($replace(%path%,%filename_ext%,)%DISCOGS_ARTIST_ID%*.*),
$puts(ArtistImage1,$replace(%path%,%filename_ext%,)%DISCOGS_ARTIST_ID%*.*),
$if($fileexists($replace(%path%,%filename_ext%,)artist*.*),
$puts(ArtistImage1,$replace(%path%,%filename_ext%,)artist*.*),
$if($fileexists($replace(%path%,%filename_ext%,)*_*.*),
$puts(ArtistImage1,$replace(%path%,%filename_ext%,)*_*.*),
$if($fileexists($replace(%path%,%directory%\%filename_ext%,folder*.*)),
$puts(ArtistImage1,$replace(%path%,%directory%\%filename_ext%,folder*.*)),
$if($fileexists($replace(%path%,%directory%\%filename_ext%,*.*g)),
$puts(ArtistImage1,$replace(%path%,%directory%\%filename_ext%,*.*g)),
$if($fileexists($get(artistPath)),
$puts(ArtistImage1,$get(artistPath)),
))))))))


In dark1.7,however it cant switch artistarts if there are more than one pic..

The albumart is quite good in this prospect..

PS:
The dark1.7 configure is said to support albumart component to display pic.But my foobar always crashed when use albumart in that configure..
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.