HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: JackieKu on 2009-04-25 09:55:36

Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-04-25 09:55:36
This is a very simple plugin helps the users to teach foobar2000 where the images files should be load, it's implemented as a service, which supported by both default UI and Columns UI. As of 0.06, it fills up the following titleformat fields: %albumart_front%, %albumart_back%, %albumart_disc%, %albumart_artist%, %albumart_icon%. The user who want to use this component must put those fields in the settings (in the Display page).
It supports wildcard and title formatting, wildcards like "*\*\*.jpg" could be used.
Please see the screen shot, I think it's explain the usage clearly.

ChangeLog:
0.06
Changed: Renamed to foo_covers2 to get rid of the warning by foobar2000 1.0. The user should rename the configration file from foo_cover.dll.cfg to foo_cover2.dll.cfg to keep the settings.
Changed: Build with the new SDK (2010-01-19). The preference page has been updated (Apply/Cancel/OK).
Changed: It doesn't work as a album art reader as before. It only returns the image path by the titleformat fields.

0.05
Fixed: A bug (race condition) which causes foobar2000 crashes.

0.04
Added: Two options to prevent some tracks from using foo_covers (by checking URI schemes (http://en.wikipedia.org/wiki/URI_scheme) and file extensions).

0.03
Fixed: Title formatting doesn't work with the single track files.
Fixed: The configurations of artist images aren't saved.

0.02
Added: Artist images.

foo_covers2-0.06 (http://jackieku.hp.infoseek.co.jp/download/foo_covers2-0.06.7z)
screen shot (preferences page) (http://jackieku.hp.infoseek.co.jp/download/foo_covers.png)

Sources (http://ku.myftp.org/~jackie/git/?p=foo_covers.git;a=summary) (Git)
Title: foo_covers - locates your images on disk
Post by: hal9001 on 2009-04-25 10:03:11
Looks excellent.
I'm missing options for tracks and artists, though.
Title: foo_covers - locates your images on disk
Post by: Anomalous on 2009-04-25 11:45:48
Sweet, I don't know why there isn't something like this built in. Could you add a preview of the line you're on like the Playback State Formatting Display on the default ui settings?
Title: foo_covers - locates your images on disk
Post by: OnPoint on 2009-04-25 14:06:48
can i get the link to the newest album art plugin? i cant find it anywhere
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-04-25 17:09:26
Looks excellent.
I'm missing options for tracks and artists, though.

Why? Do you know what's this plugin doing?

can i get the link to the newest album art plugin? i cant find it anywhere

The album art plugin is not related to this plugin. So far, only the out-of-box Default UI and Columns UI (NG Playlist and the ArtWork Panel) can take the advantage of this plugin (as I know).
Title: foo_covers - locates your images on disk
Post by: TomBarlow on 2009-04-25 17:26:42
Why? Do you know what's this plugin doing?

I don't know about track images, but support for artist.jpg was added in the latest version- it would be great to be able to specify where the artist image is too.

What happens when you have embedded artwork? Does this component override it, or will it still show up as normal?
Title: foo_covers - locates your images on disk
Post by: Yotsuya on 2009-04-25 17:28:40
Um, am I doing it wrong?  This seems like an excellent idea for a component but I cannot get it to work.

My artwork is named as %catalognumber%.jpg in the same folder as the album.

I added the line %catalognumber%.* to the "Front" section and did not get any art.
I added the line $replace(%path%,%filename_ext%,%catalognumber%).* to the "Front" section and did not get any art
I tried changing .* to .jpg and removing it completely and still did not get any art.

This is using the album art viewers included in DUI and CUI, as well as NGPlaylist.  I can, however, use the same formatting in the CUI settings and get art under the CUI components.

OnPoint: Album art viewers are now included both in the Default UI and Columns UI. I do not believe any stand-alone components are still in development.
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-04-25 19:45:16
I don't know about track images, but support for artist.jpg was added in the latest version- it would be great to be able to specify where the artist image is too.

What happens when you have embedded artwork? Does this component override it, or will it still show up as normal?

The artist images is the new feature in 0.9.6.5, but the latest SDK has been released last year. So... wait for the new SDK.
If you have embedded artwork, which has higher priority is undefined. (you can try)

Um, am I doing it wrong?  This seems like an excellent idea for a component but I cannot get it to work.

My artwork is named as %catalognumber%.jpg in the same folder as the album.

I added the line %catalognumber%.* to the "Front" section and did not get any art.
I added the line $replace(%path%,%filename_ext%,%catalognumber%).* to the "Front" section and did not get any art
I tried changing .* to .jpg and removing it completely and still did not get any art.

I think %catalognumber%.* or %catalognumber%* should work, but I don't know why it doesn't. (Maybe %catalognumber% isn't available everywhere?)
Could you try a single * ?
Title: foo_covers - locates your images on disk
Post by: Peter on 2009-04-25 19:50:38
The artist images is the new feature in 0.9.6.5, but the latest SDK has been released last year. So... wait for the new SDK.

Code: [Select]
namespace album_art_ids {
    (...)
    //! Artist picture.
    static const GUID artist = { 0x9a654042, 0xacd1, 0x43f7, { 0xbf, 0xcf, 0xd3, 0xec, 0xf, 0xfe, 0x40, 0xfa } };
};
Title: foo_covers - locates your images on disk
Post by: Yotsuya on 2009-04-26 04:16:19
I think %catalognumber%.* or %catalognumber%* should work, but I don't know why it doesn't. (Maybe %catalognumber% isn't available everywhere?)
Could you try a single * ?


After further experimentation:
*  - Worked
*.* - Worked
%catalognumber% - Does NOT work.
%catalognumber%* - Worked
%catalognumber%.* - Does NOT work.
%catalognumber%.jpg - Does NOT work.

I guess I'll just use a single * as a generic solution until I need something more refined.  Also, I had to restart foobar after changing the source for it to become effective.. maybe some sort of image caching going on?
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-04-26 04:43:14
0.02 is released. (+artist images)



I guess I'll just use a single * as a generic solution until I need something more refined.  Also, I had to restart foobar after changing the source for it to become effective.. maybe some sort of image caching going on?

If you use CUI's NG Playlist, switch to another playlist and then switch back should refresh the images. This plugin doesn't cache anything, since it is cached by the UI components.
Title: foo_covers - locates your images on disk
Post by: TomBarlow on 2009-04-26 10:24:45
Thanks for support for artist images, although it doesn't seem to save them between restarts. I can't get it to work with just artist.jpg either... but then it's not working even without this component. Strange.

Also, is it possible to use absolute paths for streams? I'm trying E:\Pictures\$replace(%path%,:,_,/,_).* but it doesn't work (e.g. with files called http___netcast6.kfjc.org_.gif). This is for the front cover, not artist pic.
Title: foo_covers - locates your images on disk
Post by: lvqcl on 2009-04-26 11:20:13
I use this plugin to make latest foo_prettypop show images named %ALBUM%.jpg. So:

%album%.* - doesn't work.
%album%* - works, but loads first jpg in the folder, and that's not what intended.
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-04-26 15:19:32
Thanks for support for artist images, although it doesn't seem to save them between restarts. I can't get it to work with just artist.jpg either... but then it's not working even without this component. Strange.

Also, is it possible to use absolute paths for streams? I'm trying E:\Pictures\$replace(%path%,:,_,/,_).* but it doesn't work (e.g. with files called http___netcast6.kfjc.org_.gif). This is for the front cover, not artist pic.
About artist images, it is a bug  , will be fixed in the next release.
I intent to support local media files only since I thought it isn't so useful with something other than "file://". I can add this feature in the next release because it is easy to implement.

EDIT: Streams can't be supported, fb2k never use this plugin with streams.

I use this plugin to make latest foo_prettypop show images named %ALBUM%.jpg. So:

%album%.* - doesn't work.
%album%* - works, but loads first jpg in the folder, and that's not what intended.
I can't reproduced this problem here, is %album% contains some special characters?
Title: foo_covers - locates your images on disk
Post by: lvqcl on 2009-04-26 15:57:34
Quote
I can't reproduced this problem here, is %album% contains some special characters?

album = Protection

image file = Protection.jpg
(located in the folder where mp3 files)

foo_covers settings for 'Front':
Code: [Select]
front.*
%album%.*

DefaultUI, ColumnsUI, foo_prettypop doesn't show this image.

Added: renamed that file to test.jpg and added 'test.*' to foo_covers settings:
Code: [Select]
front.*
%album%.*
test.*

Now it shows test.jpg.
Title: foo_covers - locates your images on disk
Post by: hal9001 on 2009-04-26 17:23:08
I was also pondering about this beforehand.
Try this for %album%.jpg
$replace(%path%,%filename_ext%,%album%.*).
Title: foo_covers - locates your images on disk
Post by: lvqcl on 2009-04-26 17:38:40
Try this for %album%.jpg
$replace(%path%,%filename_ext%,%album%.*).

No luck. Neither this, nor  $directory_path(%path%)\%album%.*
Title: foo_covers - locates your images on disk
Post by: q-stankovic on 2009-04-26 18:20:45
I can confirm the problems of the others.

An other point:
If a whole album is selected and not only a single track the album art viewer in DUI will display "[multiple items]" - foobars built-in artwork reader is able to tell the albumart viewer that there is only one image and will display it.
Title: foo_covers - locates your images on disk
Post by: ojdo on 2009-04-26 18:32:37
Thanks so much for this plugin! A simple
Code: [Select]
..\folder.jpg

displays my artist pictures.
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-04-26 19:10:50
album = Protection

image file = Protection.jpg
(located in the folder where mp3 files)

oops, the breakage is found!! This problem appears with the single track files. I didn't discover it since I mainly use foobar2000 to play multi-track WavPack files.
Fixed in the next release.

An other point:
If a whole album is selected and not only a single track the album art viewer in DUI will display "[multiple items]" - foobars built-in artwork reader is able to tell the albumart viewer that there is only one image and will display it.

This problem is quite tricky, I can't fix that until a workaround is found. (though I don't use DUI at all)
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-04-28 02:44:26
The new version 0.03 is released, check it at the first post.
Title: foo_covers - locates your images on disk
Post by: pIv on 2009-04-28 09:45:22
With new version 0.03, if defined image not found, I see text [no image] in cover window.
With previous versions of plugin in this case, I see image that defined in Advanced/Display.
It is possible return back this item.
Title: foo_covers - locates your images on disk
Post by: ojdo on 2009-04-28 18:03:36
The new version 0.03 is released, check it at the first post.

Thanks, just wanted to report the fixed bug (with artist source). Keep up the good work!
Title: foo_covers - locates your images on disk
Post by: phool on 2009-04-29 07:55:52
Thank you! I have been waiting for something like this for some time. Now I can finally display all my album art without having to change my naming scheme  It's great to finally have all my high quality images available for use in the Default UI!

I have found a minor thing with the plugin though. When you select multiple tracks from the same album, the art view indicates '[Multiple Items]' even though it's the same cover for all the tracks. When the plugin is disabled, the art view will show cover art for all the selected tracks (obviously provided that the cover art is the same for all the tracks). Is it possible to change this behavior?

I hope that the above is clear and once again, many thanks for this!

Edit: Found a reply to my query in the posts above.
Title: foo_covers - locates your images on disk
Post by: foorious on 2009-04-29 16:29:27
This component is absolutely fantastic !!!  It's exactly what I was hoping for. This functionality should have been added to foobar a long time ago. Thank you JackieKu.

Now I have two small requests :

1. when you select several tracks, the DUI art wiewer simply displays "multiple items". But what if I have selected a whole album where all selected tracks have the same cover ? Then I'd like the art viewer to display such cover. Could this be possible, or is it a limitation from the standard DUI art viewer ?

2. Could there be a "scan mode" that would automatically scan all the library, find all tracks (or all albums) with missing artwork, and create a text log report ?

Thanks again for a fantastic work.
Title: foo_covers - locates your images on disk
Post by: GeSomeone on 2009-04-29 18:01:01
Awsome, thank you. This gives the kind of flexibility that made me love foobar2000 a lot.
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-04-29 18:05:13
1. when you select several tracks, the DUI art wiewer simply displays "multiple items". But what if I have selected a whole album where all selected tracks have the same cover ? Then I'd like the art viewer to display such cover. Could this be possible, or is it a limitation from the standard DUI art viewer ?

You are the third person ask for the same thing (read above).
For someone want more technical informations,
fb2k asks this plugin for the *content* of image to display (it's NOT a path to the image file), and there is nothing beyond this. fb2k doesn't check whether the image is the same or not, since it may be a expensive work (needs notable time when the image is large). I think the best way to address this is modifying the artwork viewer to show the first image instead of "[multiple items]", but I'm not a fbk2 developer. Perhaps you can ask the developers to make some improve about this (new API or the artwork viewer itself).

2. Could there be a "scan mode" that would automatically scan all the library, find all tracks (or all albums) with missing artwork, and create a text log report ?

No.
Title: foo_covers - locates your images on disk
Post by: Yotsuya on 2009-05-01 00:17:52
I just wanted to report that the latest version fixes the problems I had previously reported regarding %catalognumber%. Filename strings are now working as expected, thank you for your dedication to your component.
Title: foo_covers - locates your images on disk
Post by: robenroute on 2009-05-16 08:51:11
Just wanted to say thanks for a very useful plugin. So...

THANKS!
Title: foo_covers - locates your images on disk
Post by: carmenm on 2009-05-18 12:36:35
The thing i dont get is how is it used after settings the paths?
I mean does it work automatically? For CAD for example, should it work?
Title: foo_covers - locates your images on disk
Post by: Falstaff on 2009-05-20 14:38:22
@JackieKu:

Hello,

First, i want to congratulate you for this very useful plugin, thanx.

i've now a request

i have to declare (in Front, Back, Artist, ...) an alternative image (no_cover.png, ...) when the image is not found (do not exists),
but these alternative images are stored in a folder based on the foobar2000 install folder (ex: C:/Program Files/foobar2000/skins/my_skin/no_cover.png)
and so, i have to enter full path to get it displayed as well.

This full path is change with portable install of foobar (ex: usb key usage), because foobar200 folder can change, and so, i have to modify the foo_cover settings too ...

So my idea was to use foo_exvar.dll  which comes with %FOOBAR_PATH%, a default extended variable usable in all foobar components as well, but it doesn't work in foo_covers (weird), why this limitation ? maybe a thing to change to allow this? that would be great

or maybe easier for you to declare a such variable for foo_covers : %foo_cover_foobar_path% or something similar ...

Another way would be to make the relative path based on the foobar2000 install folder, and not on the music folder (titleformatting already exists to get easily the music folder)

Thanx to think about this request and hopefully bring a solution

if not possible or not wanted, just notify me, no problem
Title: foo_covers - locates your images on disk
Post by: barty on 2009-05-20 23:55:20
@Falstaff:

I put this

%FOOBAR_PATH%images\foonightday\cover\nocover.jpg

as last line in my sources and it's picking it up just fine.  I even changed to a different picture with a different filename to make sure it was not picking up the value from some place else.  It's definitely working.
Title: foo_covers - locates your images on disk
Post by: Falstaff on 2009-05-21 00:26:45
lol, you're right, just have forgotten that %FOOBAR_PATH% contains the '/' end char

thanx, pb solved
Title: foo_covers - locates your images on disk
Post by: carmenm on 2009-05-21 11:56:04
How do you point to that plugin from other plugins?
I mean how to access covers when have set them?
Title: foo_covers - locates your images on disk
Post by: Falstaff on 2009-05-21 12:17:33
How do you point to that plugin from other plugins?
I mean how to access covers when have set them?


which other plugins?

- for PSS and ELP, it's usable with $imageabs() or $drawimage() using %path% for the image path and artreader_*** for option1 (*** = front/back/disc/icon/artist)

- for CUI Artwork panel/NG Playlist/..., just be sure that the built-in foobar artwork reader is not disable (tab Artwork)

HTH
Title: foo_covers - locates your images on disk
Post by: virus_found on 2009-05-22 13:35:08
I'm sorry for a silly question, but is there any point of having this with Columns UI? What's the difference between the plugins settings and CUI Artwork's ones?
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-05-23 04:05:42
I'm sorry for a silly question, but is there any point of having this with Columns UI? What's the difference between the plugins settings and CUI Artwork's ones?

It's more flexible since it support wildcards (like *\??*\*). In addition, it can be used by any components that supports the build-in artwork reader.
Title: foo_covers - locates your images on disk
Post by: carmenm on 2009-05-23 10:11:58
How do you point to that plugin from other plugins?
I mean how to access covers when have set them?


which other plugins?

- for PSS and ELP, it's usable with $imageabs() or $drawimage() using %path% for the image path and artreader_*** for option1 (*** = front/back/disc/icon/artist)

- for CUI Artwork panel/NG Playlist/..., just be sure that the built-in foobar artwork reader is not disable (tab Artwork)

HTH


thank you
Title: foo_covers - locates your images on disk
Post by: WilB on 2009-05-23 12:09:56
I use the foo_lastfm_radio plug-in. Installing foo_covers blocks the foo_lastfm_radio plug-in from loading album covers. Am I missing something? CUI & DUI
Title: foo_covers - locates your images on disk
Post by: carmenm on 2009-05-26 13:40:25
I use the foo_lastfm_radio plug-in. Installing foo_covers blocks the foo_lastfm_radio plug-in from loading album covers. Am I missing something? CUI & DUI

Works fine here.
Title: foo_covers - locates your images on disk
Post by: barty on 2009-05-26 15:13:52
I use the foo_lastfm_radio plug-in. Installing foo_covers blocks the foo_lastfm_radio plug-in from loading album covers. Am I missing something? CUI & DUI


had the same problem. here's how I fixed it.  YMMV

close fb2k and delete foo_covers.dll (move to recycle bin, don't delete permanently).  restart fb2k and when it asks foo_covers is no longer installed, do you want to keep its settings, say YES.  verify that your last.fm radio covers are working.  close fb2k.  restore foo_covers.dll and start fb2k again.  I think it should work now.
Title: foo_covers - locates your images on disk
Post by: WilB on 2009-05-26 15:22:12
It's a strange problem seen on two different pcs (both XP SP3). About half the time I open foobar2000 0.9.6.7 the last.fm album covers show fine with foo_covers installed. At other times they do not - but if close and open foobar eventually they come back. No problems when foo_covers is not loaded. I tried barty's solution but it did not permanently fix the problem.
Title: foo_covers - locates your images on disk
Post by: tedgo on 2009-05-26 16:11:09
Have the same problems with embedded album art...
Title: foo_covers - locates your images on disk
Post by: Yirkha on 2009-05-26 16:44:30
I have a feeling that it depends on component load order, which is randomized each run exactly for the reason that it becomes easily apparent when some feature relies on such an unreliable assumption.
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-05-27 05:37:33
I use the foo_lastfm_radio plug-in. Installing foo_covers blocks the foo_lastfm_radio plug-in from loading album covers. Am I missing something? CUI & DUI


Does it block foo_lastfm_radio when the cover is not found by foo_covers? If not, this is NOT a bug since the order of the components to load the album arts is NOT determined by foo_covers.
Title: foo_covers - locates your images on disk
Post by: carmenm on 2009-05-27 10:17:10
is someone supporting cdartdisplay plugin? Would be nice to have it foo_cover aware.
Title: foo_covers - locates your images on disk
Post by: WilB on 2009-05-27 12:17:23
Quote
Does it block foo_lastfm_radio when the cover is not found by foo_covers?


I am not sure that I understand this. foo_lastfm_radio is finding its own covers and so foo_covers is not being asked to find the covers in this scenario. Therefore, the cover is not found by foo_covers and blocking of the display of covers by foo_lastfm_radio occurs.
Title: foo_covers - locates your images on disk
Post by: errzotl on 2009-05-29 03:34:11
Hi,
Is it possible to use picture inside a archive?
For example I have file "Musics 2009.zip" which contains :
01. Track 1
02. Track 2
03. Track 3
cover.jpg

So when I play the archive in Foobar, how to show that "cover.jpg" ?
Title: foo_covers - locates your images on disk
Post by: acedriver on 2009-05-29 04:17:46
Is it possible to use this to search for cover for singles?

I saved all album arts in one folder; E:\Covers; in either of this format %artist% - %album% or %artist% - %title%

how to show it in ELPlaylist?
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-05-29 15:46:59
0.04 is released.

I added two options to limit the usage of foo_covers, it should work better with other artwork sources (e.g. foo_lastfm_radio).

Hi,
Is it possible to use picture inside a archive?
For example I have file "Musics 2009.zip" which contains :
01. Track 1
02. Track 2
03. Track 3
cover.jpg

So when I play the archive in Foobar, how to show that "cover.jpg" ?

This is not this plugin intent to do. It should be support by other components which extract the data from the ZIP archive.
Is it possible to use this to search for cover for singles?

I saved all album arts in one folder; E:\Covers; in either of this format %artist% - %album% or %artist% - %title%

how to show it in ELPlaylist?

I don't using ELPlaylist. It should work fine if it support built-in artwork provider.
Title: foo_covers - locates your images on disk
Post by: barty on 2009-05-29 19:25:31
@JackieKu: thanks.  this seems to have fixed the lastfm problem.

@acedriver: you'd enter this in Preferences > Covers > Front

E:\Covers\%artist% - %album%.*
E:\Covers\%artist% - %title%.*

then in elplaylist, you can show it with

  $imageabs(x,y,w,h,%el_group_first_path%,artreader,,,)

using the latest elplaylist.  You'll have to figure out x,y,w,h for your particular config.

@JackieKu: does your foo_covers automatically strip illegal characters or should I do it manually?  i.e., is it necessary to say

$replace(%album artist%-%album%,",,?,,*,.,/,)



Title: foo_covers - locates your images on disk
Post by: WilB on 2009-05-29 19:58:07
@JackieKu: thanks - the foo_lastfm_radio problem appears to be fixed for me as well.
Title: foo_covers - locates your images on disk
Post by: acedriver on 2009-05-29 21:55:58
thx barty!!
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-05-30 08:48:22
@JackieKu: does your foo_covers automatically strip illegal characters or should I do it manually?  i.e., is it necessary to say

$replace(%album artist%-%album%,",,?,,*,.,/,)

It doesn't handle this special case, using $replace() is necessary in current version.
Title: foo_covers - locates your images on disk
Post by: Krelkor on 2009-06-11 23:17:47
Hi

I am a complete moron when it comes to this, and I am unsure which direction I need to go to get this working.

Currently I use foo_upnp to stream my library from home to work. It can embed the cover art into the stream so the standard album art viewers pick it up.

I think it creates a variable called %UPNPALBUMARTURL% which translates into http://server:port/albumart/"random (http://server:port/albumart/"random) number1"/"random number 2".jpg
Everything stays the same in that url, except the the two different numbers which changes when the song changes.

the skin I want to use uses WSH, i think? anyway, when i replace %path% in PSS with %UPNPALBUMARTURL% I get this

$replace(%UPNPALBUMARTURL%,,).jpg)

this generates the cover.path link as the appropriate http://server:port/albumart/"random (http://server:port/albumart/"random) number1"/"random number 2".jpg which should work... right? but it doesnt with the skin's art viewer.

The developer told me below:

@kelkor

You will have to install foo_covers. Set %path% as the cover path in PSS. Then search PSS for the $drawimage() lines, that include $get_ps_global(cover.path), replace

nokeepaspect
with
artreader_front nokeepaspect


I have tried every variation of the above I can think of... but i cannot seem to make it work. How can Foo_Covers help me? i am confused. Thats greatly.
Title: foo_covers - locates your images on disk
Post by: passerby on 2009-06-12 13:11:28
Hello, I'm a foobar newbie (or actually I've been using it for years, however I've never been toying around with it) and just now installed this plug-in. However I have absolutely no idea what variables to wright in order for it to be able to find the pictures. Is there an explanation of the different variables and symbols somewhere?
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-06-12 15:28:15
@Krelkor

I think foo_covers can't help you, if your images need http access. foo_covers can't download the images via http (if foobar2000 SDK's IO API doesn't handle it), on the other hand, it seems foobar2000 never asks foo_covers for images when the path is http://.

Hello, I'm a foobar newbie (or actually I've been using it for years, however I've never been toying around with it) and just now installed this plug-in. However I have absolutely no idea what variables to wright in order for it to be able to find the pictures. Is there an explanation of the different variables and symbols somewhere?


http://wiki.hydrogenaudio.org/index.php?ti...ormat_Reference (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Titleformat_Reference)
Title: foo_covers - locates your images on disk
Post by: NullString on 2009-06-20 03:07:52
Hey! I really like this component, it's a great addition for using only 1 band picture and not replicating it on each album.

However, I found a strange bug, that (so far) happens only in 1 folder.

All my band pictures are stored this way:

..\Genre\Band\band.jpg
and the albums are located in:
..\Genre\Band\Albums\

so for the artist pictures I used this:
band.*
..\band.*


It works perfectly for all the bands, like this example:
I:\Music\Groove Metal\Fear Factory\band.jpg

But, the problem ocurs here:
I:\Music\Groove Metal\5FDP\band.jpg
It doesn't display the picture. It display's "no cover found".
So I guessed there must be something wrong with the picture format, maybe it was a bmp renamed jpg or something that might trick the image display component. So I copied a picture that worked, the fear factory's band picture, and pasted it in the problematic folder. It didn't work. It still doesn't display any image. That's when I thought that the problem wasn't with the image display component.

I can't think of a solution. It's too strange. I'm just reporting this issue, but it's nothing serious anyway.

Thx again!
Title: foo_covers - locates your images on disk
Post by: errzotl on 2009-06-21 10:50:10
This is not this plugin intent to do. It should be support by other components which extract the data from the ZIP archive.


I see. Btw I just realize that if there is a file named "cover.jpg" or "folder jpg" on the archive, Album Art Viewer will displaying it....
Title: foo_covers - locates your images on disk
Post by: liekloo on 2009-06-24 15:39:21
JackieKu,

You did a fantastic job! Thank you very much!

There's one thing I haven't figured out: how to specify that the cover may be in the parent folder (e.g. in the case of a bonus disc).

Anyway, what matters is that my foobar is again showing covers, after almost 2 years, haha
Title: foo_covers - locates your images on disk
Post by: NullString on 2009-06-24 19:51:16
There's one thing I haven't figured out: how to specify that the cover may be in the parent folder (e.g. in the case of a bonus disc).

if the cover is named "folder.jpg" or something,
you should have
folder.*
..\folder.*
Title: foo_covers - locates your images on disk
Post by: virus_found on 2009-07-14 00:38:41
I have a "humble" feature request
There is a foo_uie_albumart version (http://www.hydrogenaudio.org/forums/index.php?showtopic=39924&view=findpost&p=414554), written by david_dl, which uses OpenGL output and an impressive 3D look, really very impressive. There are sources in that post as well.
If only you could use such OpenGL feature in your plugin...
I'd continue using david_dl's version, but it refuses to show me any picture in Wine. Maybe, that's because the plugin is relatively old and built in old fb2k SDK.
Title: foo_covers - locates your images on disk
Post by: lvqcl on 2009-07-14 16:00:59
foo_covers doesn't show anything. It just tells location of images to other plugins.
Title: foo_covers - locates your images on disk
Post by: virus_found on 2009-07-15 14:10:32
2lvqcl:
Oh, thanks. Then nevermind my question.
Title: foo_covers - locates your images on disk
Post by: havanaloco on 2009-07-23 15:42:09
Great plugin. But the various limitations (like embedded images unsupported, and other minor things) let me to not use it.
However, I have some questions. Which effect the square brackets have in the option string? I see them in the screenshot.
Than can you explain me if there is an official page for this plugin? For examples, where to find FAQ or eventual new versions eventually not promptly reported by the author of first post of this topic?
Title: foo_covers - locates your images on disk
Post by: Chris Norman on 2009-08-10 23:03:44
Hi,

is there any way to get this work together with foo_cronflow?

-Chris
Title: foo_covers - locates your images on disk
Post by: tdloc on 2009-08-18 16:35:42
How can I cycle images by foo_covers (Ex: 10s for each image) is I have more than one image?
Thanks.
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-08-18 17:09:37
However, I have some questions. Which effect the square brackets have in the option string? I see them in the screenshot.

The syntax is known as title formatting (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Titleformat_Reference), which is widely used in foobar2000.
is there any way to get this work together with foo_cronflow?

Contact the developer of cronflow to support the API in the official SDK.
How can I cycle images by foo_covers (Ex: 10s for each image) is I have more than one image?

In general, it is not supported, but it can be achieved by modifying the components that shows the images. foo_covers returns different images for each album_art_extractor_instance::query() calls. Without this way, it's almost impossible to do so since there is no way to know whether the two function calls are from the same place (component) or not.
Title: foo_covers - locates your images on disk
Post by: Falstaff on 2009-08-18 17:38:16
Question/(Request) : It would be great if this component generate a global variable for each path declarerd in foo_covers like : %foo_covers_front%% , %foo_covers_artist% ... and so on

so we could easily used this wonderfull way to get path in WSH panel or Graphical Browser panel, Chronflow ... every panel that use title format in fact

@JackieKu: is it possible technically ? if yes, what about this idea ? please tell us more about that, thanx in advance.

Regards,
Title: foo_covers - locates your images on disk
Post by: ojdo on 2009-08-23 01:09:34
"Bug" report: you seem not to have changed the version string for 0.04. It still shows as 0.03 in components section (and is thus mentioned by the online troubleshooter as problematic/outdated):

Code: [Select]
foo_covers.dll (2009-05-28 16:54:29)
    Locate Covers 0.03


Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-08-23 01:31:18
"Bug" report: you seem not to have changed the version string for 0.04. It still shows as 0.03 in components section (and is thus mentioned by the online troubleshooter as problematic/outdated):

OMG! Please download it again to fix that. 
Title: foo_covers - locates your images on disk
Post by: ojdo on 2009-08-23 10:51:24
OMG! Please download it again to fix that. 

Ah, much better:
Quote from: http://help.foobar2000.org/troubleshooter/ link=msg=0 date=
No known problematic components found.

Footnote: I had to clean my browser's cache to be able to retrieve the "updated" 0.04 version.
Title: foo_covers - locates your images on disk
Post by: Benji99 on 2009-11-13 08:16:21
In the hope that this plugin is still being developped, I have a couple feature suggestions if possible!

- Automatic cropping of the picture
- When using multiple Album viewer windows, it would be awesome if you could somehow prevent the various windows from displaying duplicate images

Thanks in advance!
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-11-13 09:03:40
Question/(Request) : It would be great if this component generate a global variable for each path declarerd in foo_covers like : %foo_covers_front%% , %foo_covers_artist% ... and so on

Sorry, I overlooked this. It is technically possible. I'll consider to implement it.

@Benji99
1. It should be implemented in the viewers IMHO.
2. There is no clean way to do this. However, you could insert a '|' character to the beginning of source path, the returned images will be randomized.


BTW,
I noticed this topic has been marked as [crashware], but nobody told me this component cause his/her foobar2000 crashes. Any idea?
Title: foo_covers - locates your images on disk
Post by: Zao on 2009-11-13 12:39:43
I noticed this topic has been marked as [crashware], but nobody told me this component cause his/her foobar2000 crashes. Any idea?


Users may not be aware of which component is the cause of a crash in the typical clusterhug of components that is the average CUI components dir. Other users might just accept crashing as a way of life and just restart and pray when it happens.
Title: foo_covers - locates your images on disk
Post by: musicmusic on 2009-11-13 13:19:27
Users may not be aware of which component is the cause of a crash in the typical clusterhug of components that is the average CUI components dir. Other users might just accept crashing as a way of life and just restart and pray when it happens.
So, what does this component have to do with Columns UI now?
Title: foo_covers - locates your images on disk
Post by: Falstaff on 2009-11-13 13:58:28
Question/(Request) : It would be great if this component generate a global variable for each path declarerd in foo_covers like : %foo_covers_front%% , %foo_covers_artist% ... and so on

Sorry, I overlooked this. It is technically possible. I'll consider to implement it.


it's nice, thank you


I noticed this topic has been marked as [crashware], but nobody told me this component cause his/her foobar2000 crashes. Any idea?


[crashware] cibling method of the Staff team is according to bad, they set as [crashware] some components that has never crashed and that are kept up to date by their developpers,
these compoenents are for foo_covers and foo_uie_panel_splitter.dll (that i use to the extreme on any PC (XP, Vista, Seven x32 and x64!) and had NEVER crashed.

so, don't care, i'm sure the Foobar Team will fix the crash report method and cleanning up these errors !
Title: foo_covers - locates your images on disk
Post by: Zao on 2009-11-13 14:34:08
So, what does this component have to do with Columns UI now?

Erm, heh. I must admit I only skimmed the thread and saw people mention assorted panels, so I assumed that this component was an CUI extension as well.
I have nothing against CUI itself, it's just that some of the extensions for it are … interestingly developed.
Heck, even I have made CUI extensions of dubious stability.

… (that i use to the extreme on any PC (XP, Vista, Seven x32 and x64!) and had NEVER crashed.

(http://www.acc.umu.se/~zao/works-on-my-machine-starburst.png) (http://www.codinghorror.com/blog/archives/000818.html)
Title: foo_covers - locates your images on disk
Post by: NullString on 2009-11-13 14:45:47
I've got couple of crashes daily, on the album loader thread, most likely due to this component delivering erroneus or incomplete data to that thread, causing a crash. I love this component and I don't care having it crashing foobar once in a while, but maybe adding a method of image path verification to avoid sending non-unicode, or too long filenames to the album loader thread might help.
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-11-14 02:32:59
@NullString
Well, but this component doesn't send the image file paths, instead, it sends the data (or the IO objects). Could you post your crash logs if you think foo_covers cause your foobar2000 crashes?
Title: foo_covers - locates your images on disk
Post by: Benji99 on 2009-11-14 03:09:17
@Benji99
1. It should be implemented in the viewers IMHO.
2. There is no clean way to do this. However, you could insert a '|' character to the beginning of source path, the returned images will be randomized.


Thanks for responding!

I agree that it should be implemented, but actually I think the work your plugin is doing is so useful that it should be completely integrated in Foobar
about No. 2, Yeah I have been using the | to make the pictures random, what would have been cool is if I have 3 pictures, and 3 Album viewers. that each viewer would displayer (randomly) different pictures. Right now, they are often the same ones. Just to let you know, what I was trying to re-create was the Last-FM style layout for artist pictures (1 big one and 3-4 small ones underneath)

Anyway, here's hoping it gets integrated in the DUI Art viewer someday!

NOTE: The plugin has been very stable for me too! Although I never tried doing anything too exotic with it...
Title: foo_covers - locates your images on disk
Post by: NullString on 2009-11-14 17:03:58
@NullString
Well, but this component doesn't send the image file paths, instead, it sends the data (or the IO objects). Could you post your crash logs if you think foo_covers cause your foobar2000 crashes?
I see. good to know!
the crash log is here:
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 013EC13Eh
Access violation, operation: read, address: 00000000h

Call path:
Album Art Loader Thread

Code bytes (013EC13Eh):
013EC0FEh:  0C 8B 45 18 50 8B 45 10 50 C7 44 24 08 B4 90 4B
013EC10Eh:  01 8B 11 8B 52 0C 8D 44 24 08 50 FF D2 8B E5 5D
013EC11Eh:  C2 14 00 8B 45 14 8B 08 8D 44 24 10 89 44 24 08
013EC12Eh:  8B 45 18 50 8B 45 10 50 C7 44 24 08 AC 90 4B 01
013EC13Eh:  8B 11 8B 52 0C 8D 44 24 08 50 FF D2 8B E5 5D C2
013EC14Eh:  14 00 6A FF 68 C8 71 49 01 64 A1 00 00 00 00 50
013EC15Eh:  64 89 25 00 00 00 00 51 56 68 A4 25 4E 01 8B F1
013EC16Eh:  C7 44 24 08 A4 25 4E 01 FF 15 28 92 4A 01 8B 4C

Stack (0C07FD78h):
0C07FD58h:  00000000 FFFFFD34 000002E4 FFFFFD34
0C07FD68h:  000002CC 00000019 00000000 0132B3E8
0C07FD78h:  0C07FE64 00000000 014B90AC 0C07FDA0
0C07FD88h:  0C07FD90 0C07FE68 014B90A4 00CF55A8
0C07FD98h:  00CF55E8 014DF758 014B91A4 00CF5590
0C07FDA8h:  004A7359 00000000 7C9C26A4 01C97B6C
0C07FDB8h:  00000000 0C07FEA0 013EC083 00CF55A8
0C07FDC8h:  00000000 0C07FE64 0132B428 00000000
0C07FDD8h:  00000000 013EC222 00000000 0C07FE64
0C07FDE8h:  0132B428 00000000 01320E70 00000000
0C07FDF8h:  014E25A4 0C07FE94 014971C8 00000000
0C07FE08h:  7122291B 00000000 0C07FE64 0132B428
0C07FE18h:  00000000 6EC6730D 07B59A0C 0C07FEE8
0C07FE28h:  00000000 0133706D 00000000 7123CA64
0C07FE38h:  00000002 00000000 12104490 00000000
0C07FE48h:  01320E70 7123D7B8 01320E70 00000000
0C07FE58h:  00000000 00000000 00000000 712382C0
0C07FE68h:  00000000 00000000 00000000 00000000
0C07FE78h:  00000000 00000000 00000000 00000000
0C07FE88h:  00000000 0000000A 00000000 0C07FF04

Registers:
EAX: 0C07FE64, EBX: 00000001, ECX: 00000000, EDX: 0C07FDA0
ESI: 00CF5590, EDI: 7123D7B8, EBP: 0C07FDBC, ESP: 0C07FD78

Crash location:
Module: foobar2000
Offset: 6C13Eh

Loaded modules:
foobar2000                      loaded at 01380000h - 0151A000h
ntdll                            loaded at 77A70000h - 77BF0000h
kernel32                        loaded at 75EC0000h - 75FC0000h
KERNELBASE                      loaded at 75A50000h - 75A96000h
COMCTL32                        loaded at 73740000h - 738DE000h
msvcrt                          loaded at 75AA0000h - 75B4C000h
GDI32                            loaded at 775E0000h - 77670000h
USER32                          loaded at 758B0000h - 759B0000h
ADVAPI32                        loaded at 77260000h - 77300000h
sechost                          loaded at 75FC0000h - 75FD9000h
RPCRT4                          loaded at 75B50000h - 75C40000h
SspiCli                          loaded at 755E0000h - 75640000h
CRYPTBASE                        loaded at 755D0000h - 755DC000h
LPK                              loaded at 76430000h - 7643A000h
USP10                            loaded at 75CC0000h - 75D5D000h
SHLWAPI                          loaded at 76260000h - 762B7000h
DSOUND                          loaded at 74FE0000h - 75052000h
ole32                            loaded at 77100000h - 7725C000h
WINMM                            loaded at 74FA0000h - 74FD2000h
POWRPROF                        loaded at 74F70000h - 74F95000h
SETUPAPI                        loaded at 77440000h - 775DD000h
CFGMGR32                        loaded at 762C0000h - 762E7000h
OLEAUT32                        loaded at 75FE0000h - 7606F000h
DEVOBJ                          loaded at 75640000h - 75652000h
SHELL32                          loaded at 764A0000h - 770E9000h
shared                          loaded at 10000000h - 1002B000h
imagehlp                        loaded at 762F0000h - 7631A000h
UxTheme                          loaded at 735C0000h - 73640000h
dbghelp                          loaded at 71340000h - 7142B000h
COMDLG32                        loaded at 75C40000h - 75CBB000h
IMM32                            loaded at 75D90000h - 75DF0000h
MSCTF                            loaded at 75DF0000h - 75EBC000h
GameHook                        loaded at 10D00000h - 10D0F000h
lgscroll                        loaded at 10100000h - 1010E000h
MSVCR80                          loaded at 73410000h - 734AB000h
ntmarta                          loaded at 75180000h - 751A1000h
WLDAP32                          loaded at 75860000h - 758A5000h
CLBCatQ                          loaded at 76070000h - 760F3000h
MMDevApi                        loaded at 73970000h - 739A9000h
PROPSYS                          loaded at 734C0000h - 735B5000h
dwmapi                          loaded at 72910000h - 72923000h
foo_popupplus                    loaded at 011C0000h - 01241000h
RICHED20                        loaded at 69EF0000h - 69F66000h
gdiplus                          loaded at 73FB0000h - 74140000h
foo_dsp_atsurround              loaded at 71250000h - 71336000h
MSCOREE                          loaded at 710C0000h - 71106000h
MSVCR90                          loaded at 6D580000h - 6D623000h
cudart                          loaded at 00640000h - 00680000h
cufft                            loaded at 02920000h - 02A37000h
msvcm90                          loaded at 71070000h - 710B3000h
mscorwks                        loaded at 70AD0000h - 71061000h
profapi                          loaded at 751B0000h - 751BB000h
mscorlib.ni                      loaded at 66E90000h - 67988000h
mscorjit                        loaded at 70A70000h - 70ACB000h
CRYPTSP                          loaded at 750E0000h - 750F6000h
rsaenh                          loaded at 73B90000h - 73BCB000h
nvcuda                          loaded at 05BA0000h - 05DB4000h
nvapi                            loaded at 05DC0000h - 05ECF000h
VERSION                          loaded at 73B00000h - 73B09000h
foo_freedb2                      loaded at 03200000h - 03241000h
foo_dsp_std                      loaded at 033B0000h - 033F9000h
foo_input_dts                    loaded at 036E0000h - 0374A000h
foo_covers                      loaded at 71220000h - 71248000h
foo_dsp_delta                    loaded at 02A90000h - 02AAF000h
foo_dumb                        loaded at 058E0000h - 0596D000h
foo_out_ks                      loaded at 02AD0000h - 02AFA000h
foo_dop                          loaded at 065F0000h - 0674A000h
WS2_32                          loaded at 76220000h - 76255000h
NSI                              loaded at 770F0000h - 770F6000h
QUARTZ                          loaded at 6CCB0000h - 6CE27000h
foo_input_monkey                loaded at 03400000h - 0344A000h
foo_converter                    loaded at 03760000h - 037CC000h
foo_upnp                        loaded at 06910000h - 06A53000h
iphlpapi                        loaded at 75110000h - 7512C000h
WINNSI                          loaded at 75100000h - 75107000h
foo_ac3                          loaded at 031B0000h - 031DF000h
foo_wlm                          loaded at 70A50000h - 70A6D000h
foo_fileops                      loaded at 034A0000h - 034E6000h
foo_cdda                        loaded at 05FD0000h - 06010000h
foo_midi                        loaded at 064A0000h - 0654A000h
foo_masstag                      loaded at 06010000h - 06064000h
foo_input_std                    loaded at 06A60000h - 06BA1000h
foo_rgscan                      loaded at 06890000h - 068DE000h
foo_texttools                    loaded at 70A10000h - 70A43000h
foo_facets                      loaded at 06D00000h - 06D81000h
MSIMG32                          loaded at 73640000h - 73645000h
foo_ui_std                      loaded at 070F0000h - 071FE000h
foo_lyricsgrabber                loaded at 709B0000h - 70A02000h
foo_textdisplay                  loaded at 70970000h - 709AF000h
foo_dbsearch                    loaded at 07010000h - 07080000h
foo_out_wasapi                  loaded at 061F0000h - 06216000h
foo_w7shell                      loaded at 06BB0000h - 06BEB000h
foo_bitcompare                  loaded at 070A0000h - 070C7000h
foo_abx                          loaded at 07200000h - 07232000h
foo_burninate                    loaded at 07240000h - 07280000h
foo_gep                          loaded at 072D0000h - 0736D000h
foo_albumlist                    loaded at 074B0000h - 0750B000h
foo_out_asio                    loaded at 07280000h - 072B7000h
foo_channel_mixer                loaded at 07520000h - 0755A000h
mswsock                          loaded at 75140000h - 7517C000h
wshtcpip                        loaded at 75130000h - 75135000h
dhcpcsvc                        loaded at 73B70000h - 73B82000h
WindowsCodecs                    loaded at 6C040000h - 6C13B000h
explorerframe                    loaded at 6C8C0000h - 6CA2F000h
DUser                            loaded at 6C890000h - 6C8BF000h
DUI70                            loaded at 6C710000h - 6C7C2000h
LINKINFO                        loaded at 6CBD0000h - 6CBD9000h
apphelp                          loaded at 6F050000h - 6F09B000h
gameux                          loaded at 6BDC0000h - 6C038000h
XmlLite                          loaded at 6C6E0000h - 6C70F000h
CRYPT32                          loaded at 76100000h - 7621C000h
MSASN1                          loaded at 77A40000h - 77A4C000h
wer                              loaded at 6C680000h - 6C6E0000h
ntshrui                          loaded at 6CB60000h - 6CBCF000h
srvcli                          loaded at 72730000h - 72749000h
cscapi                          loaded at 6CB50000h - 6CB5B000h
slc                              loaded at 6CB40000h - 6CB4A000h
WINTRUST                        loaded at 75D60000h - 75D8D000h
QTMLClient                      loaded at 708B0000h - 70906000h
iTunesMobileDevice              loaded at 12F10000h - 1305F000h
WSOCK32                          loaded at 751F0000h - 751F7000h
QuickTime                        loaded at 74170000h - 74D1B000h
QTCF                            loaded at 74140000h - 7416E000h
CoreFoundation                  loaded at 73EE0000h - 73FAA000h
pthreadVC2                      loaded at 73ED0000h - 73EE0000h
objc                            loaded at 73EB0000h - 73ECC000h
MSVCP80                          loaded at 72940000h - 729C7000h
icuin40                          loaded at 73DB0000h - 73EAD000h
icuuc40                          loaded at 73CC0000h - 73DA1000h
icudt40                          loaded at 71430000h - 7218B000h
ASL                              loaded at 73CB0000h - 73CBD000h
CFNetwork                        loaded at 73C10000h - 73CA3000h
WININET                          loaded at 76320000h - 76414000h
Normaliz                        loaded at 75A40000h - 75A43000h
urlmon                          loaded at 77300000h - 77435000h
iertutil                        loaded at 75660000h - 75859000h
SQLite3                          loaded at 73A10000h - 73A73000h
zlib1                            loaded at 73BF0000h - 73C03000h

Stack dump analysis:
Address: 014B90ACh (foobar2000+1390ACh)
Address: 014B90A4h (foobar2000+1390A4h)
Address: 014DF758h (foobar2000+15F758h)
Address: 014B91A4h (foobar2000+1391A4h)
Address: 013EC083h (foobar2000+6C083h)
Address: 013EC222h (foobar2000+6C222h)
Address: 014E25A4h (foobar2000+1625A4h)
Address: 014971C8h (foobar2000+1171C8h)
Address: 7122291Bh (foo_covers+291Bh)
Address: 7123CA64h (foo_covers+1CA64h), symbol: "foobar2000_get_interface" (+17954h)
Address: 7123D7B8h (foo_covers+1D7B8h), symbol: "foobar2000_get_interface" (+186A8h)
Address: 712382C0h (foo_covers+182C0h), symbol: "foobar2000_get_interface" (+131B0h)
Address: 71234B6Bh (foo_covers+14B6Bh), symbol: "foobar2000_get_interface" (+FA5Bh)
Address: 013882A6h (foobar2000+82A6h)
Address: 0149D8D4h (foobar2000+11D8D4h)
Address: 0710CDF8h (foo_ui_std+1CDF8h)
Address: 071A9BD1h (foo_ui_std+B9BD1h), symbol: "foobar2000_get_interface" (+1BE31h)
Address: 071105AEh (foo_ui_std+205AEh)
Address: 071AA5A0h (foo_ui_std+BA5A0h), symbol: "foobar2000_get_interface" (+1C800h)
Address: 75ED3677h (kernel32+13677h), symbol: "BaseThreadInitThunk" (+12h)
Address: 77AA9D72h (ntdll+39D72h), symbol: "RtlInitializeExceptionChain" (+63h)
Address: 75EF9775h (kernel32+39775h), symbol: "UnhandledExceptionFilter" (+0h)
Address: 75EF9775h (kernel32+39775h), symbol: "UnhandledExceptionFilter" (+0h)
Address: 77AE041Dh (ntdll+7041Dh), symbol: "WinSqmSetIfMaxDWORD" (+31h)
Address: 77AA9D45h (ntdll+39D45h), symbol: "RtlInitializeExceptionChain" (+36h)
Address: 07110600h (foo_ui_std+20600h)
Address: 07110600h (foo_ui_std+20600h)
Address: 75ED0DF0h (kernel32+10DF0h), symbol: "GetStartupInfoA" (+0h)
Address: 75ED102Dh (kernel32+1102Dh), symbol: "CreateProcessW" (+0h)
Address: 75ED1062h (kernel32+11062h), symbol: "CreateProcessA" (+0h)
Address: 75ED10EFh (kernel32+110EFh), symbol: "Sleep" (+0h)
Address: 75ED10FCh (kernel32+110FCh), symbol: "GetTickCount" (+0h)
Address: 75ED110Eh (kernel32+1110Eh), symbol: "ReleaseMutex" (+0h)
Address: 75ED1126h (kernel32+11126h), symbol: "WaitForSingleObject" (+0h)
Address: 75ED1141h (kernel32+11141h), symbol: "WaitForSingleObjectEx" (+0h)
Address: 75ED1199h (kernel32+11199h), symbol: "SetLastError" (+0h)
Address: 75ED11B0h (kernel32+111B0h), symbol: "GetLastError" (+0h)
Address: 75ED11C0h (kernel32+111C0h), symbol: "TlsGetValue" (+0h)
Address: 75ED11D8h (kernel32+111D8h), symbol: "GetCurrentProcessId" (+0h)
Address: 75ED11EAh (kernel32+111EAh), symbol: "SleepEx" (+0h)
Address: 75ED1202h (kernel32+11202h), symbol: "GetProcAddress" (+0h)
Address: 75ED1225h (kernel32+11225h), symbol: "GetModuleHandleA" (+0h)
Address: 75ED123Dh (kernel32+1123Dh), symbol: "FlsGetValue" (+0h)
Address: 75ED124Ah (kernel32+1124Ah), symbol: "ProcessIdToSessionId" (+0h)
Address: 75ED1262h (kernel32+11262h), symbol: "WriteFile" (+0h)
Address: 75ED12D5h (kernel32+112D5h), symbol: "WriteConsoleA" (+0h)
Address: 75ED1308h (kernel32+11308h), symbol: "GetConsoleMode" (+0h)
Address: 75ED13B0h (kernel32+113B0h), symbol: "InterlockedDecrement" (+0h)
Address: 75ED13C0h (kernel32+113C0h), symbol: "InterlockedIncrement" (+0h)
Address: 75ED13D0h (kernel32+113D0h), symbol: "CloseHandle" (+0h)
Address: 75ED1433h (kernel32+11433h), symbol: "OpenEventW" (+0h)
Address: 75ED1450h (kernel32+11450h), symbol: "GetCurrentThreadId" (+0h)
Address: 75ED1462h (kernel32+11462h), symbol: "InterlockedExchange" (+0h)
Address: 75ED1484h (kernel32+11484h), symbol: "TlsSetValue" (+0h)
Address: 75ED14A7h (kernel32+114A7h), symbol: "InterlockedCompareExchange" (+0h)
Address: 75ED14BDh (kernel32+114BDh), symbol: "HeapFree" (+0h)
Address: 75ED14DDh (kernel32+114DDh), symbol: "GetProcessHeap" (+0h)
Address: 75ED14FAh (kernel32+114FAh), symbol: "GetModuleFileNameA" (+0h)
Address: 75ED1512h (kernel32+11512h), symbol: "GetEnvironmentVariableA" (+0h)
Address: 75ED151Fh (kernel32+1151Fh), symbol: "RegKrnGetGlobalState" (+0h)
Address: 75ED154Bh (kernel32+1154Bh), symbol: "GetCurrentThread" (+0h)
Address: 75ED1568h (kernel32+11568h), symbol: "GetCurrentProcess" (+0h)
Address: 75ED156Fh (kernel32+1156Fh), symbol: "UnmapViewOfFile" (+0h)
Address: 75ED1592h (kernel32+11592h), symbol: "IsWow64Process" (+0h)
Address: 75ED159Fh (kernel32+1159Fh), symbol: "WaitForMultipleObjectsEx" (+0h)
Address: 75ED1653h (kernel32+11653h), symbol: "SetEvent" (+0h)
Address: 75ED166Bh (kernel32+1166Bh), symbol: "QueryPerformanceCounter" (+0h)
Address: 75ED1683h (kernel32+11683h), symbol: "ResetEvent" (+0h)
Address: 75ED16A6h (kernel32+116A6h), symbol: "lstrlenW" (+0h)
Address: 75ED16B3h (kernel32+116B3h), symbol: "WideCharToMultiByte" (+0h)

Environment:
App: foobar2000 v0.9.6.9
OS: Windows 6.1.7600 x64
CPU: AMD Athlon™ 64 X2 Dual Core Processor 3800+, features: 3DNow!ex MMX SSE SSE2 SSE3
Audio: Speakers (Creative SB X-Fi);
Speakers (High Definition Audio Device); Digital Audio (S/PDIF) (High Definition Audio Device);
SPDIF Out (Creative SB X-Fi)
UI: Default User Interface 0.9.5

Components:
Core (2009-08-22 07:25:22)
    foobar2000 core 0.9.6.9
foo_abx.dll (2009-06-07 09:25:26)
    ABX Comparator 1.3.4
foo_ac3.dll (2009-04-08 18:44:28)
    AC3 decoder 0.9.3
foo_albumlist.dll (2009-08-22 07:23:44)
    Album List 4.3.1
foo_bitcompare.dll (2006-08-04 22:56:50)
    Binary Comparator 1.1
foo_burninate.dll (2009-06-24 21:14:28)
    Audio CD Writer 3.0.1
foo_cdda.dll (2009-08-22 07:23:34)
    CD Audio Decoder 2.1.4
foo_channel_mixer.dll (2008-03-12 06:37:48)
    Channel Mixer 0.9.6.5
foo_converter.dll (2009-08-22 07:23:26)
    Converter 1.2.1
foo_covers.dll (2009-05-28 11:54:29)
    Locate Covers 0.03
foo_dbsearch.dll (2007-01-25 21:58:48)
    Database Search 1.4
foo_dop.dll (2009-10-18 10:21:04)
    iPod manager 0.6.5.8
foo_dsp_atsurround.dll (2009-04-08 13:35:18)
    AndrewLabs ATSurround 1.0.0
foo_dsp_delta.dll (2008-10-24 16:57:16)
    Noise Sharpening DSP 1.0.0
foo_dsp_std.dll (2009-08-22 07:23:48)
    Standard DSP Array 1.0
foo_dumb.dll (2009-04-18 12:30:08)
    DUMB module decoder 0.9.8.5
foo_facets.dll (2008-02-27 21:41:04)
    Facets 2008-02-25
foo_fileops.dll (2009-08-22 07:22:36)
    File Operations 2.1.2
foo_freedb2.dll (2009-08-22 07:22:52)
    freedb Tagger 0.6.1
foo_gep.dll (2008-03-18 17:19:54)
    Game Emu Player 1.5
foo_input_dts.dll (2009-05-02 13:58:30)
    DTS decoder 0.2.4
foo_input_monkey.dll (2007-04-13 19:39:54)
    Monkey's Audio decoder 2.1.2
foo_input_std.dll (2009-08-22 07:23:28)
    Standard Input Array 1.0
foo_lyricsgrabber.dll (2008-12-11 15:27:08)
    Lyrics Grabber 0.2.6.2 Beta
foo_masstag.dll (2009-06-22 00:04:00)
    Masstagger 1.8.2
foo_midi.dll (2006-08-21 10:42:26)
    MIDI synthesizer host 1.7
foo_out_asio.dll (2008-02-09 14:52:42)
    ASIO support 1.2.6
foo_out_ks.dll (2006-08-04 21:54:58)
    Kernel Streaming Output 1.2.2
foo_out_wasapi.dll (2009-05-19 23:45:18)
    WASAPI output support 2.1
foo_popupplus.dll (2007-12-28 19:35:56)
    PopUp Plus 20071228
foo_rgscan.dll (2009-08-22 07:23:20)
    ReplayGain Scanner 2.0.9
foo_textdisplay.dll (2008-07-08 20:45:26)
    Text Display UI Element 1.0 RC 3
foo_texttools.dll (2009-01-31 15:23:38)
    Text Tools 1.0.3
foo_ui_std.dll (2009-08-22 07:23:54)
    Default User Interface 0.9.5
foo_upnp.dll (2009-09-30 21:58:42)
    An UPnP/DLNA Media Renderer, Media Server and Control Point 0.99.14
foo_w7shell.dll (2009-09-05 01:22:36)
    Windows 7 integration 0.2.8.1
foo_wlm.dll (2009-09-21 03:54:12)
    Windows Live Messenger Notifier 1.1.1

Recent events:
w7shell: running on Windows NT 6.1.7600
w7shell: DWM composition enabled
w7shell: WA_DISALLOW_PEEK successfully set
w7shell: WA_HAS_ICONIC_BITMAP successfully set
w7shell: WA_FORCE_ICONIC_REPRESENTATION successfully set
w7shell: WA_FLIP3D_POLICY successfully set
w7shell: all green
Startup time : 0:09.489711
w7shell: taskbar button create notification got
iPod manager: Listening for Apple mobile devices.
the strings for foo_covers lookup are the following:
Code: [Select]
front.*
folder.*
back.*
disc.*
cd.*
cover.*
..\band.*
band.*
(nothing fancy)
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-11-14 18:01:12
@NullString

Could you try this version (http://jackieku.hp.infoseek.co.jp/download/foo_covers-0.05debug.7z) and let me know whether the problem is fixed or not? This is a debug build so you will see a dialog when you launch foobar2000, but it may produce more informations when crashes.
Title: foo_covers - locates your images on disk
Post by: NullString on 2009-11-14 19:22:02
@NullString

Could you try this version (http://jackieku.hp.infoseek.co.jp/download/foo_covers-0.05debug.7z) and let me know whether the problem is fixed or not? This is a debug build so you will see a dialog when you launch foobar2000, but it may produce more informations when crashes.

sure, I'll post back the log when (if) I get the crash
Title: foo_covers - locates your images on disk
Post by: NullString on 2009-11-17 23:07:05
Took it's time but here is the crash:
(the error message is now not from foobar2000 crash handler, but from the c++ debug library as expected):
Code: [Select]
---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!

Program: H:\Program Files\foobar2000\foobar2000.exe
File: c:\program files (x86)\microsoft visual studio 9.0\vc\atlmfc\include\atlcoll.h
Line: 636

Expression: iElement < m_nSize

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)
---------------------------
Abort  Retry  Ignore 
---------------------------
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-11-17 23:52:39
Took it's time but here is the crash:
(the error message is now not from foobar2000 crash handler, but from the c++ debug library as expected):

Well, I'll take a look around it. Thanks.
Title: foo_covers - locates your images on disk
Post by: NullString on 2009-11-18 11:54:03
this one is different, and didn't occur on startup:
Code: [Select]
---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!

Program: H:\Program Files\foobar2000\foobar2000.exe
File: f:\dd\vctools\crt_bld\self_x86\crt\src\dbgheap.c
Line: 1317

Expression: _CrtIsValidHeapPointer(pUserData)

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)
---------------------------
Abort  Retry  Ignore 
---------------------------
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-11-18 13:22:44
@NullString
I think the problem (race condition) is fixed, please test this copy (http://jackieku.hp.infoseek.co.jp/download/foo_covers-0.5pre.7z) to see whether the problem is gone.

EDIT: The link is corrected.
Title: foo_covers - locates your images on disk
Post by: NullString on 2009-11-18 20:05:48
@NullString
I think the problem (race condition) is fixed, please test this copy (http://jackieku.hp.infoseek.co.jp/download/foo_covers-0.05pre.7z) to see whether the problem is gone.

link not found (404)
Title: foo_covers - locates your images on disk
Post by: Innuendo_ on 2009-11-19 06:04:14
link not found (404)


I just downloaded it fine.
Title: foo_covers - locates your images on disk
Post by: NullString on 2009-11-19 14:06:05
link not found (404)


I just downloaded it fine.

ya  no crashes so far  GJ!
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-11-20 12:09:06
Thanks for your feedbacks, I've uploaded a new version.
Title: foo_covers - locates your images on disk
Post by: hal9001 on 2009-11-22 02:36:32
Hey.
Just downloaded Foobar 1.0 beta, and it seems to have implemented foo_covers within the app.
oes thisw deem the component redundant, or am I missing something?

(btw this just proves what great work and idea is behind this component)
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2009-11-22 03:07:51
Hey.
Just downloaded Foobar 1.0 beta, and it seems to have implemented foo_covers within the app.
oes thisw deem the component redundant, or am I missing something?

(btw this just proves what great work and idea is behind this component)

Yes, I'm glad to see the feature is now in 1.0. I haven't tested it so much, so I don't know if it support wildcards.
Title: foo_covers - locates your images on disk
Post by: Benji99 on 2009-11-22 05:00:08
Wildcards do work fine, but as far as I know, there's no support for randomizing the pics.
If there's a way I want to find out!
Title: foo_covers - locates your images on disk
Post by: Zao on 2009-11-22 05:08:20
Say that the backend would support returning a random image on every query. That would lead to a lot of flickering for components that query it constantly, either due to architecture or due to not wanting to try to find out whether it has changed recently or not.
Title: foo_covers - locates your images on disk
Post by: Benji99 on 2010-01-04 07:00:46
Any chance for an updated version that would remove the nagging warning when using it with 1.0 beta?
NOTE: I still would like to use the randomize feature!

Thanks
Title: foo_covers - locates your images on disk
Post by: ForteD on 2010-01-10 05:34:48
how to foor_covers work with foobar v1.0
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2010-01-10 08:29:26
@ForteD
1.0 has the function of foo_cover built-in, isn't it?
Title: foo_covers - locates your images on disk
Post by: guruboolez on 2010-01-10 10:40:14
Not all: it doesn't support wildcard for filepath.
Title: foo_covers - locates your images on disk
Post by: chrome_waves on 2010-01-10 13:57:24
can this plugin help me point to album art that's in  a subfolder of the main album folder?  i keep my album art in a folder called *band* - Album Art.

how could i use this plugin to have foobar look within subfolders for art?

i have this exact question on a thread of it's own, but so far i havent been able to figure it out.

thanks!
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2010-01-10 14:10:31
Not all: it doesn't support wildcard for filepath.

That's so bad...
You could rename the file name of foo_covers.dll to get rid of the warning.
Title: foo_covers - locates your images on disk
Post by: ForteD on 2010-01-12 17:34:34
are you understand he write ? :|
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2010-01-13 00:34:47
are you understand he write ? :|

I believe foo_covers 0.5 still works in 1.0. The only different thing in 1.0 is the warning on startup as someone said.
Any chance for an updated version that would remove the nagging warning when using it with 1.0 beta?

And I tried changing the version number of foo_covers, but it can not bypass the warning. It seems 1.0 checks it by the name "foo_covers".
Title: foo_covers - locates your images on disk
Post by: Miltiades on 2010-01-13 09:26:57
can this plugin help me point to album art that's in  a subfolder of the main album folder?  i keep my album art in a folder called *band* - Album Art.

Hi chrome_waves,
I had the same with my music-database: all covers-pics of an album are in a subfolder of every folder-album named 'Cover'.
Try this (I hope it will work for You):
Code: [Select]
|Album Art\Front.*

Regards
Miltiades
Title: foo_covers - locates your images on disk
Post by: chrome_waves on 2010-01-13 21:58:30
Miltiades, thanks for your reply - no, it didnt work for me as you typed it.

my album art, is always in a subfolder of the album. the folder with the album art, sometimes the name varies a litte, but it always ends in 'album art'
i wonder if there's a way just to have foobar look for a subfolder with a name that ends in 'album art' 

this would save me alot of trouble, because i find i'm having to go and change the name of the album art folders - something thats not fun with 200 gigs of audio files ;(

how about wild cards, what are some possible wild cards? anyone know? maybe an ability to specify a partial name of a subfolder?

i know you guys have been through this before, share the knowledge

Moderation: Removed unnecessary full quote of the preceding post.
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2010-01-13 23:51:23
my album art, is always in a subfolder of the album. the folder with the album art, sometimes the name varies a litte, but it always ends in 'album art'
i wonder if there's a way just to have foobar look for a subfolder with a name that ends in 'album art'

Try...
Code: [Select]
|*Album Art/*
|*/*Album Art/*
.
.
.

but this syntax won't work in the foobar2000 1.0 built-in album art reader.
Title: foo_covers - locates your images on disk
Post by: chrome_waves on 2010-01-14 00:26:38
jackie, thanks for your reply - i pasted it as you gave it, it didnt work (foobar 1.0 with your plugin)

was i supposed to put anything before it? what does the |  do, and where can i learn more about the syntax?

do me a small favor - look at this screenshot - if it were you, what syntax would you use to have foobar look into the album art folder to get the artwork?
note that i named the main folder "deluxe edition", but that doesnt appear anywhere in the tags, i just named it that for my own convenience.

http://i715.photobucket.com/albums/ww156/p...obar2k/fcov.jpg (http://i715.photobucket.com/albums/ww156/pink_moon_drake/Foobar2k/fcov.jpg)


and thank you for your time!
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2010-01-15 17:59:28
http://i715.photobucket.com/albums/ww156/p...obar2k/fcov.jpg (http://i715.photobucket.com/albums/ww156/pink_moon_drake/Foobar2k/fcov.jpg)

The path is relative to the directory that contains the "media file". So in this case the album art directory is not a subdirectory of you album (media files) as you said.
Try this instead ...
Code: [Select]
|..\*Album Art\*

oops...
In my previous post I used slashes '/', which is wrong. They should be backslashes '\'. 
Title: foo_covers - locates your images on disk
Post by: jazzy73 on 2010-01-17 23:23:42
are you understand he write ? :|

I believe foo_covers 0.5 still works in 1.0. The only different thing in 1.0 is the warning on startup as someone said.
Any chance for an updated version that would remove the nagging warning when using it with 1.0 beta?

And I tried changing the version number of foo_covers, but it can not bypass the warning. It seems 1.0 checks it by the name "foo_covers".


the warning is very anoying....any solution?
Title: foo_covers - locates your images on disk
Post by: Benji99 on 2010-01-17 23:43:50
Quote
the warning is very anoying....any solution?


I got rid of the warning by just changing the name of the component to something other than foo_covers.dll.
Give that a try
Title: foo_covers - locates your images on disk
Post by: jazzy73 on 2010-01-18 00:03:31
it works!!
thanks!
Title: foo_covers - locates your images on disk
Post by: Mastermnd on 2010-01-18 10:53:51
The rename trick works, thanks!
BUT remember to write down your settings first, because renaming the plugin will cause the settings dialog to reset to its defaults.
Until Foobar fixes the wildcard matching, and PrettyPopup integrates with Foobar 1.0 properly, I'm keeping this component around
Title: foo_covers - locates your images on disk
Post by: JackieKu on 2010-01-18 10:55:07
The rename trick works, thanks!
BUT remember to write down your settings first, because renaming the plugin will cause the settings dialog to reset to its defaults.

You can rename the configuration file as well.
Title: foo_covers - locates your images on disk
Post by: Sparanoid on 2010-01-19 19:13:11
I'm using foo_uie_biography to download album arts to foobar2000\lastfm\album\, named %artist%-%album%.*, so I tried this but didn't work:

Code: [Select]
%foobar2000_profile%\lastfm\album\%artist%-%album%.*


so I replaced with absoluted path but didn't work neither:

Code: [Select]
D:\Program Files (x86)\foobar2000\lastfm\album\%artist%-%album%.*
Title: foo_covers - locates your images on disk
Post by: nosatyj on 2010-01-24 18:20:42
Is your plugin working with CUI`s NGPlaylist\Artwork View (v. 0.3.8.3)?
And where your got the %foobar2000_profile% variable on the screenshot?
Title: foo_covers - locates your images on disk
Post by: magadan15 on 2010-03-04 16:16:19
Hi all!

I have some troubles: my covers always located in folder with music files.
How I can show image for no cover albums? (Such as "Image to display when no album art can be found" in foobar2000 0.9.*)

Thanks.
Title: foo_covers - locates your images on disk
Post by: Zawamura on 2010-04-05 18:09:59
Hello.

I have a question when using foo_covers.

I have my music sorted F:\Music\Artist\Album

Using this to grab the artist-image: 'F:\Music\'$replace(%artist%,.,)'\artist.jpg'

I have several artist images named artist_01, artist_02... and I wonder if I can somehow make foo_covers grab them in order or random
Title: foo_covers - locates your images on disk
Post by: Fridge on 2010-04-30 04:13:54
Unless I'm missing it, there's nowhere to put %albumart_icon% in the new DUI settings... guess the ability to customize that one's gone?
Title: foo_covers - locates your images on disk
Post by: watercolor on 2010-06-19 07:24:06
There is some request.

Please add TF function that counting found image.(e.g. %albumart_artist_count%)
Please add TF function that get specific number image.(e.g. %album_artist_2%)
not all line. these function use when * useing per line.
Title: foo_covers - locates your images on disk
Post by: Falstaff on 2010-06-19 07:39:47
Thanx JackieKu for this, it does what i've expected for a long time : returning path in TF variable, so useful (ELPlaylist, Chronflow, Graphical Browser, PSS, ...)

it's perfect!
Title: foo_covers - locates your images on disk
Post by: kabuki on 2010-07-20 11:27:13
Can anybody post a link to a copy of foo_covers?
The link in first page seams to be dead.
thx
Title: foo_covers - locates your images on disk
Post by: kabuki on 2010-07-23 14:53:49
Can anybody post a link to a copy of foo_covers?
The link in first page seams to be dead.
thx
Not needed, link in first page is ok now.
Title: foo_covers - locates your images on disk
Post by: Anomalous on 2010-09-24 07:00:29
There seem to be a couple of problems with this. The first is invalid characters such as ':' and '?', it would be nice if they were converted using the same replacements which the file operations component uses. The second is foobar2000 freezing when searching for "%albumart_front% MISSING". I guess this could be because of the large number of files to check, but adding %albumart_front% as a column shows everything without a problem so I'm not sure.
Title: foo_covers - locates your images on disk
Post by: Chris Norman on 2010-11-14 18:32:50
Download link (first post) is broken again.
Title: foo_covers - locates your images on disk
Post by: Pensive666 on 2010-11-21 10:20:54
Please Please Please add the option to embed the image into the file instead!  I would simply want either cover.jpg, or folder.jpg in each album folder, embedded into the music files, and this goes half way there. MassTagger also goes halfway there, but nothing does it out of the box. I've looked at MP3tag but cant find a way to automate this, plus it would be better to do it from within foobar of course.

Cheers

Jon
Title: foo_covers - locates your images on disk
Post by: pipoawas on 2011-01-21 14:16:20
Does this plugin supports wildcards *inside* archives? e.g. best_of.rar has several audio files and the '02350_front234.jpg'
And I use $replace(%path%,%filename_ext%,*.jpg)  to get the full path of the image inside the archive for my artreader. Is this possible?

I need the wildcards because the picture can have any name instead of just only 'cover' or 'folder' etc.

By the way, the link for the component is dead.