Help - Search - Members - Calendar
Full Version: problem with coverart - i dont see it
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Sukacek
Hi,

sorry, im newbie with foobar and have problem with coverart in single column config. i use some foobarpack.
i have in single column config this:
CODE
//Supported Files
$imageabs2(84,84,,,,,5,3,'images\Toolej\noalbum.png',)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)cover.png,)


and my tree on disc is for example:
d:\my music\barbara - best\and here are mp3s and cover.png

but i dont see cover, only white window.

when i do this:
d:\my music\my music\barbara - best\and here are mp3 and cover.png

i see cover.

what i must do pls so as see cover in first possibility?

thx for your help and sorry my english
Yotsuya
According to your code:
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)cover.png,)

If you are playing the file
C:\Folder\Subfolder\songtitle.mp3

Then foobar will display the image
C:\Folder\Subfolder\cover.png

Can you please give an example including the exact path of an MP3 you are playing and the exact path of the image you would like to display when you are playing that MP3?

With your existing code it shouldnt matter where in your directory structure the mp3 and cover are stored but the cover must be called cover.png and reside in the same directory as the mp3.
Sukacek
This is all what are in Single Column Config:

CODE
//Supported Files
$imageabs2(84,84,,,,,5,3,'images\Toolej\noalbum.png',)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)*.png,)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)*.jpg,)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)*.gif,)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)*.bmp,)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)*.png,)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)*.jpg,)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)*.gif,)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)*.bmp,)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)*.png,)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)*.jpg,)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)*.gif,)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)*.bmp,)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)*.png,)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)*.jpg,)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)*.gif,)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)*.bmp,)
$imageabs2(85,85,,,,,5,3,'images\Toolej\artoverlay.png',)


my structure is: example
C:\music\barbara - best\01.mp3
C:\music\barbara - best\cover.jpg
I see only album art, but not little cover
CODE
http://img127.imageshack.us/my.php?image=01dc0.jpg


when i do:
C:\music\music\barbara - best\01.mp3
C:\music\music\barbara - best\cover.jpg
I see all - album cover and little cover
CODE
http://img127.imageshack.us/my.php?image=02yk8.jpg

i want have only one method: c:\music\barbara - best\ or c:\barbara - best\
and see all covers, but dont know where is mistake sad.gif

thx very much
Yotsuya
Well to begin with we can simplify that image code considerably. Try this block of code instead, it should be much friendlier on your resources:
CODE
// Supported Files
$puts(cover.art,$replace(%path%,%filename_ext%,cover.*))

$if($fileexists($get(cover.art)),
$imageabs2(84,84,,,,,5,3,$get(cover.art),)
,
$imageabs2(84,84,,,,,5,3,/images\Toolej\noalbum.png,)
)
$imageabs2(85,85,,,,,5,3,/images\Toolej\artoverlay.png,)


However I do not see why your album art was not displayed. Would you please add a temporary track display panel with the following code and post the output?

CODE
Path - %path%$char(10)
Image - $replace(%path%,%filename_ext%,cover.*)
Sukacek
Hi Yotsuya,

i got it... biggrin.gif problem was, that i had new folder for my music - ###Music### and this sign # was the problem.
i copy all on root and all OK.. biggrin.gif

Very much thank for help.
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.