Help - Search - Members - Calendar
Full Version: updated foo_uie_albumart
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20
gfngfgf
Frostmourne: use ".." to look one directory above. For instance:

CODE
match:$replace(%_path%,%_filename_ext%,)..\cover*
Frostmourne
Thanks!
Duble0Syx
QUOTE(Frostmourne @ Apr 1 2006, 06:07 PM)
Thanks!
*


This also works. It's what I was told when I asked the same question some time ago. I think I like the other way better though. May also be faster. smile.gif
CODE
match:$replace(%_path%,%_filename_ext%,,%_directoryname%,)cover*
gfngfgf
QUOTE(Duble0Syx @ Apr 1 2006, 08:32 PM)
QUOTE(Frostmourne @ Apr 1 2006, 06:07 PM)
Thanks!
*


This also works. It's what I was told when I asked the same question some time ago. I think I like the other way better though. May also be faster. smile.gif
CODE
match:$replace(%_path%,%_filename_ext%,,%_directoryname%,)cover*

*


I used to suggest this code, too, but someone pointed out a great example of when this code would fail:

Suppose you use "Artist\Album\" as your directory scheme....if the artist and the album have the same name, then the above code would return "\\", instead of "Artist\". I actually had that happen on a few of my albums and I had just never noticed.
rehgf
QUOTE(lav-chan @ Apr 1 2006, 05:22 AM)
You could make some room in the configuration panel by getting rid of the 'minimum height' item, since it's useless in the new Columns UI.
*


Please don't remove the "minimum height" item, since it's very useful in the new Columns UI.
elishnevsky
QUOTE(rehgf @ Apr 2 2006, 12:16 PM)
QUOTE(lav-chan @ Apr 1 2006, 05:22 AM)
You could make some room in the configuration panel by getting rid of the 'minimum height' item, since it's useless in the new Columns UI.
*


Please don't remove the "minimum height" item, since it's very useful in the new Columns UI.
*


Absolutely! I always use it. I would also suggest to add Minimum width feature.
lav-chan
o. i didn't know it did anything, my bad
opiu
Sorry maybe is a silly question... is this plugin able to get covers from the web? Something like Amarok does.
Thanks
Alessandro
metal_termite
QUOTE(opiu @ Apr 3 2006, 06:02 AM)
Sorry maybe is a silly question... is this plugin able to get covers from the web? Something like Amarok does.
Thanks
Alessandro
*


No. Only images stored locally.
knarre
QUOTE(G-Lite @ Mar 30 2006, 12:15 PM)
QUOTE(hedge153 @ Mar 30 2006, 07:56 AM)
Actually, the 0.8 albumart did walk through all sources found for instance with a search like match:$replace(%_path%,%_filename_ext%,)*... At least it does here.
*


I'll have a look at it, but it doesn't look like it does in the code. Maybe this was in the later versions which don't have the source available?

QUOTE(knarre @ Mar 30 2006, 11:43 AM)
Is there any plan or possibilty to make this plugin to read album art from tags  . . . like in itunes & mediamonkey
*


I'm not sure how they are stored, if I can find any information about it I could try...
*



Hi G-Lite
Have you got any info about where/how the art is stored?? I have a big collection of mp3's with pictures stored in the file, and I have not sorted the files in different folders, because I thought that was an "old fashion" way??
blackmartinix
I had the updated album art working all day yesterday and today, suddenly FB just constantly crashes for no apparent reason that I can find. I didnt change any album art settings, now I'm clueless
gfngfgf
QUOTE(blackmartinix @ Apr 3 2006, 01:55 PM)
I had the updated album art working all day yesterday and today, suddenly FB just constantly crashes for no apparent reason that I can find. I didnt change any album art settings, now I'm clueless
*


Do the crashes stop if you remove foo_uie_albumart from your components folder? (Or even better, rename it to something like foo_uie_albumart.dll.bak)
blackmartinix
QUOTE(gfngfgf @ Apr 3 2006, 06:06 PM)
QUOTE(blackmartinix @ Apr 3 2006, 01:55 PM)
I had the updated album art working all day yesterday and today, suddenly FB just constantly crashes for no apparent reason that I can find. I didnt change any album art settings, now I'm clueless
*


Do the crashes stop if you remove foo_uie_albumart from your components folder? (Or even better, rename it to something like foo_uie_albumart.dll.bak)
*



yep they sure do, if it helps, my music folder looks like this... some are music/artist/album, ones without multiple albums is just music/artist
cybermantis
I cant use it either. I have a fresh copy of foobar .9 and the columnsui and thats it. I put the dll of the album_art in the components folder and foobar crashes saying I either need more files or its meant for a different version of foobar. ???
lukemh
QUOTE(cybermantis @ Apr 5 2006, 09:20 AM) *

I cant use it either. I have a fresh copy of foobar .9 and the columnsui and thats it. I put the dll of the album_art in the components folder and foobar crashes saying I either need more files or its meant for a different version of foobar. ???



me too... same message
wolver1ne
Posted this in the other albumart topic, but apparently this is the active one.

***

Would it be possible to implement cover masking. That is masking the cover image with a black/white image and then merging it with say a cd case. Basically like Winamp CD Case. Additionally allowing to rotate the cover image would be ideal. Assuming that GDI+ is being used for the plugin, this shouldn't be hard to achieve given someone knows how to code it.

This is what I am aiming at.

IPB Image
knarre

any news/plans/progress conserning getting album art from tags?? blink.gif
The Link
QUOTE(knarre @ Apr 11 2006, 04:25 PM) *


any news/plans/progress conserning getting album art from tags?? blink.gif
You'll have to wait. If you're lucky the SDK for 0.9.1 will perhaps include possibilities to access albumart in tags.
mgsisawesome
QUOTE(wolver1ne @ Apr 11 2006, 08:25 AM) *

Would it be possible to implement cover masking. That is masking the cover image with a black/white image and then merging it with say a cd case. Basically like Winamp CD Case. Additionally allowing to rotate the cover image would be ideal. Assuming that GDI+ is being used for the plugin, this shouldn't be hard to achieve given someone knows how to code it.

This is what I am aiming at.

IPB Image


That would be really cool. I dont know anything about GDI+ but it does not seems like it would be too hard to do. There was a separate toaster plugin for winamp that I used for a while that did something along these lines, only it displayed the image on the desktop instead of in the player.
Northpole
QUOTE(The Link @ Apr 11 2006, 09:40 AM) *

QUOTE(knarre @ Apr 11 2006, 04:25 PM) *


any news/plans/progress conserning getting album art from tags?? blink.gif
You'll have to wait. If you're lucky the SDK for 0.9.1 will perhaps include possibilities to access albumart in tags.


@The Link

I take it you have tried to get the album art from the mp4 (or m4a) container and didn't have any luck? This would be very cool if it was possible.
castaway
Hi there,

I have a similar problem as the one posted before regarding the covers being in a different folder. But the previous solutions didn't fix mine sad.gif
I keep the album images in the same folder where the zipped albums are (one folder per zipped file and image), and the panel doesn't show anything at all. I remember changing the the sources search criteria in version 0.8, but I completely forgot how... mad.gif
anyone could give a hand?

Thanks a lot
acedriver
try this (cover saved as folder.jpg)
CODE

$replace(%_path%,%_filename_ext%,)folder.jpg
-match:$replace(%_path%,%_directoryname%'\'%_filename_ext%,)folder.jpg
castaway
QUOTE(acedriver @ Apr 16 2006, 09:07 PM) *

try this (cover saved as folder.jpg)
CODE

$replace(%_path%,%_filename_ext%,)folder.jpg
-match:$replace(%_path%,%_directoryname%'\'%_filename_ext%,)folder.jpg




well... it didn't mad.gif
I changed the following line:
CODE

-components\default.png

for this one instead
CODE

-components\folder.jpg


and put a random cover in the components folder, just to check if it would do anything at all. This seems to be working, but it really is far away from what it should be...
Any help will be highly appreciated.
gfngfgf
castaway: Could you cut and paste the "Location" for one of your files, as shown in "Properties"? (Right-click the track and select "Properties..." from the context menu) This should be the same as what "%_path%" gives. I don't use zip files with my music, so I'm not familiar with what foobar2000 puts as the path.
david_dl
The plugin uses GdiPlus to load the image from a file. GdiPlus cannot read zip files, and does not understand foobar's virtual zip paths (for example: "X:\path\zipfile.zip|file.mp3" ).

To allow the reading of images from within zip files, the plugin would need to be modified to load the file using the foobar2000 'reader' (if that's what it's still called in the 0.9 SDK). However GdiPlus refuses to load a file from memory, the easiest way would probably be to wrap 'reader' as an IStream interface.
gfngfgf
hmm, but if the images are not zipped, but in the same folder as the zip file (which is what I understand castaway's situation to be), then it should be possible to use titleformatting to get the current directory, right? I think this will work, and it even should work for regular (non-zipped) tracks as well:

CODE
$substr(%_path%,1,$strrchr(%_path%,'\'))folder.jpg
david_dl
Sorry, my bad, I just saw the word 'zipped' and assumed the images were in the zips blink.gif
Hmm, I'd been using
CODE
$replace(%_path%,%_filename_ext%,)folder.jpg
, but I do like the string you're offering - it wont fail if the filename appears elsewhere in the path (unlikely of course).

As for zipped folders, I just made a test file, the path comes up as:
CODE
C:\Documents and Settings\<removed my full name>\Desktop\this is a test folder.zip|this is a test folder/bleargh.wav


It appears to be using a forward slash for directories inside the archive, so gfngfgf's code should work.

So to clarify, in the case of a zipped album, you should use gfngfgf's string, which is
CODE
$substr(%_path%,1,$strrchr(%_path%,'\'))folder.jpg


Edit: removed my name from that filepath. Stupid windows, storing stuff in such a stupid place lol.
castaway
QUOTE(gfngfgf @ Apr 17 2006, 10:18 PM) *

hmm, but if the images are not zipped, but in the same folder as the zip file (which is what I understand castaway's situation to be), then it should be possible to use titleformatting to get the current directory, right? I think this will work, and it even should work for regular (non-zipped) tracks as well:

CODE
$substr(%_path%,1,$strrchr(%_path%,'\'))folder.jpg



worked like a charm!! biggrin.gif

thanks a lot, gfngfgf
Daeron Tinúviel
how to display a no cover art?
gfngfgf
QUOTE(Daeron Tinúviel @ Apr 24 2006, 05:04 PM) *

how to display a no cover art?

If you use the default source list, you can just put a "default.jpg" in your foobar2000 "components" directory.
Jared
I'm am still confused about something. I've been trying to read this thread, but it is very overwhelming.

I used to use iTunes for all my album artwork. Nearly every single song on iTunes has artwork, however, when I use the foobar plugin MAYBE only 10% of the albums display artwork. The problem is I don't know where iTunes saves the album artwork files. I also do not understand why foobar only picks up a handful of artworks and other don't get picked up at all when they work in iTunes just fine.

Can anyone shed some light on this for me please?
acedriver
iTunes saves the artwork in the tag. Currently the plugin does not read covers from tag.
Northpole
QUOTE(acedriver @ Apr 24 2006, 11:37 PM) *

iTunes saves the artwork in the tag. Currently the plugin does not read covers from tag.


@acedriver

Anyway to implement this now that the 0.91 SDK is out?
acedriver
QUOTE(Northpole @ Apr 25 2006, 10:57 PM) *

QUOTE(acedriver @ Apr 24 2006, 11:37 PM) *

iTunes saves the artwork in the tag. Currently the plugin does not read covers from tag.


@acedriver

Anyway to implement this now that the 0.91 SDK is out?

you have to ask the developer..
Northpole
@G-Lite

Any chance that the album art can be obtained from the actual tag itself (similar to iTunes?)? (instead of a jpg in the directory)

Thanks for updating & porting this plugin to v0.9!
unabatedshagie
Can the panel look for covers stored in the following format %artist%_%album%.png ?

if it can what would I put in so that it would find the images in H:\music\covers ?


I guess it can and suprize suprize I needed to put H:\music\covers\%artist%_%album%.png for it to work laugh.gif
carmenm
G-Lite, could you just recompil it please in order for it to work with the last columns UI?
looking on http://stephan.kochen.nl/proj/foobar2000.html i only see the last version from march
G-Lite
Foosion has made a newer, improved version compatible with Columns UI 0.1.3 beta 1. Grab it here:
http://foosion.foobar2000.org/0.9/foo_uie_albumart.dll

Note that he has no intention of doing any further development for it, so don't even think about bothering him with it. wink.gif
I've updated my page to link there.
carmenm
ok thanks for all your work, and i wont bother him tongue.gif
evo3
thanks!
molnart
My minimum panel heght value is always at 999 and i can't change it (it always jumps back to 999, making the plug-in useless for me)
Could somebody help me solving this problem ?
SOS
QUOTE(molnart @ Apr 28 2006, 03:58 PM) *

My minimum panel heght value is always at 999 and i can't change it (it always jumps back to 999, making the plug-in useless for me)
Could somebody help me solving this problem ?

I have that bug as well.
cygn
the dl link is not working
foosion
QUOTE(cygn @ Apr 28 2006, 11:37 PM) *
the dl link is not working
Please use http://foosion.foobar2000.org/0.9/foo_uie_albumart.zip. The ZIP archive contains the DLL and a change log.
carmenm
there is some problems with this version. If i had album art to column UI, i cannot add any other panel anymore because the panel menu in insert menu doesnt open anymore. Another thing is that if i change the min size it got stuck to 999 and i cannot change it anymore.
I had to delete the plugin and its settings for the min size to get back to 0.

EDIT: just seen that he panel problem was due to column UI, you are all really toooooo fast smile.gif. thanks for your amazing workkkkkk
enjoilax
IPB Image

This happens whenever I put Album Art Panel in as a component.

Latest beta, I still haven't updated Libpng, everything else should be to the latest versions.

Foo 0.9.1;Columns=Latest beta;Win XP Pro SP2
carmenm
Enjoilax: this is corrected, you need the last column UI(v3)
Mangix
there's also a problem with foosion's version. if you go preferences > Album Art Panel > Behaviour and check the "album covert art follows cursor even when playing", it works. but when you click "Save All", it becomes unchecked(even though it is actually in effect. so i guess the problem is that it can't be turned off.
elishnevsky
There's another problem with it. When you specify the minimum panel height and press Save All, it always gets reset to 999. And you cannot change it to anything else anymore, even to 0. Only Reset all helps smile.gif
81x
QUOTE(Mangix @ Apr 29 2006, 02:10 AM) *

there's also a problem with foosion's version. if you go preferences > Album Art Panel > Behaviour and check the "album covert art follows cursor even when playing", it works. but when you click "Save All", it becomes unchecked(even though it is actually in effect. so i guess the problem is that it can't be turned off.

Yeah i can confirm this (using v0.162), you can still turn it off from the right click context menu on the panel though (toggle follow cursor).
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.