Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: [CRASHWARE] updated foo_uie_albumart (Read 693416 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[CRASHWARE] updated foo_uie_albumart

Reply #475
- how can I get album covers from INSIDE Foobar with foo_run and which .exe and which dedicated scripts ?

It isn't possible to access the images that Album Art Panel displays or their locations from another plugin (e.g., foo_run).  Perhaps if you described what your ultimate goal is, we could offer some suggestions.

- is it possible to display random pics from external folder, alternatively with album cover ? script ?

Try this as your sources list:

Code: [Select]
$replace(%path%,%filename_ext%,)*
C:\Music\Arts\$rand(10).*


how the hell can I make for that albumart match all and cicle between them ?

Right now, there's no nice way, other than to have one line in your source list for each image.  There was a version a while back that would allow you to cycle through all the images that matched a wildcard.  For instance, if you specified "akfgcdcover*.jpg", the panel would cycle between all the "akfgcdcover40.jpg", "akfgcdcover41.jpg", etc.  I'll see if I can add that feature back into my version.

[CRASHWARE] updated foo_uie_albumart

Reply #476
alright, so say i have a track that currently has no album art. i download the pic of the cover off of the web... what do i do to "paste" it to the track info (make it so when i play that track, it can find the art)?

[CRASHWARE] updated foo_uie_albumart

Reply #477
alright, so say i have a track that currently has no album art. i download the pic of the cover off of the web... what do i do to "paste" it to the track info (make it so when i play that track, it can find the art)?

If you're using the default settings, just rename it to folder.jpg and place it in the same folder as your tracks.

[CRASHWARE] updated foo_uie_albumart

Reply #478

alright, so say i have a track that currently has no album art. i download the pic of the cover off of the web... what do i do to "paste" it to the track info (make it so when i play that track, it can find the art)?

If you're using the default settings, just rename it to folder.jpg and place it in the same folder as your tracks.

so how come all my tracks that currently have album art have no image files in the folder they are in?

[CRASHWARE] updated foo_uie_albumart

Reply #479


alright, so say i have a track that currently has no album art. i download the pic of the cover off of the web... what do i do to "paste" it to the track info (make it so when i play that track, it can find the art)?

If you're using the default settings, just rename it to folder.jpg and place it in the same folder as your tracks.

so how come all my tracks that currently have album art have no image files in the folder they are in?

Chances are you played one or more of the files with WMP which automatically downloaded the album art into the folder with the music.  Navigate to the folder, go to Tools>Folder Options, click on the "View" tab and uncheck "Hide protected operating system files"

You'll see the hidden images in the folder after that
Bostitch vs. Swingline; Choose your stapler wisely.

[CRASHWARE] updated foo_uie_albumart

Reply #480
First I apologize if this has been asked before. I did run a search and didnt find this asked asked but we're at 20 pages now so I might have overlooked something.

Is it possible (and if it is not would you consider adding support) to use an URL as an albumart source?  Can I for example add the line http://image.weather.com/images/sat/region...sat_720x486.jpg to the bottom of my sources list to display my local weather map instead of a "no image" picture?  I played around a bit with it but could not get it to work.

[CRASHWARE] updated foo_uie_albumart

Reply #481
-----
Version 0.2.0 (June 13, 2006)
Plugin homepage

NOTE: All your Album Art Panel settings WILL be lost when upgrading from an earlier version of Album Art Panel to the current version.

Download
Change log
Source

Known bugs and planned features:
  • Read images from within archives
       
  • User-adjustable threshold for maintaining aspect ratio (fuzzy resizing)
       
  • Cycle through all wildcard matches
       
  • CTRL+drag to copy image
-----

The big change with this version is that multiple panels is now supported.  Unfortunately, this means that your settings will be lost (including your sources list).  Make sure you save your favorite sources list somewhere before your install the new version.  I think your Columns UI layout should be saved, though (at least it was for me when I tried just now).  Also note that the "Album Art Panel" page in Preferences is now gone.  Much like the Track Info Panel, the preferences page is now only accessible either by right-clicking the panel, or by clicking the "Configure..." button on the Columns UI Layout page.  (PS, big, BIG thanks to G-Lite...the trackinfo source code answered a lot of questions I had about multiple instances)

Another new change is that you can prefix a source with "--" (two hyphens) to indicate that it is a "no cover" image.  The panel will then (optionally) skip those "no cover" arts while automatically cycling.

One last note: I enabled XP Themes on the Preferences pages in this latest version.  I tried to maintain compatibility with Windows 2000, but I'm not sure if I did it correctly.  Please, if you're using Windows 2000, let me know if you can or can't access the Preferences page.

Is it possible (and if it is not would you consider adding support) to use an URL as an albumart source?  Can I for example add the line http://image.weather.com/images/sat/region...sat_720x486.jpg to the bottom of my sources list to display my local weather map instead of a "no image" picture?  I played around a bit with it but could not get it to work.

Right now, I don't think it's possible.  I'll look into adding that, though.  I have a hunch that it's going to be similar to reading from archives in terms of implementing within the code.

[CRASHWARE] updated foo_uie_albumart

Reply #482
Great Stuff  Would it at all be possible to have 2 pictures in the one frame.. Say 1 Covering the whole frame & 1 on top, say 1/2 the size ??

Cheers

[CRASHWARE] updated foo_uie_albumart

Reply #483
Thank you for the update, I installed the latest version and everything seems to be working fine. In fact better than fine.. I used to get some unhandled exception errors when exiting foobar and hadnt gotten around to tracking down the source. This update has eliminated those error and my foobar now exits cleanly. Keep up the good work!

As for my previous request for URL support, thank you for the consideration and also keep in mind this sort of a feature could be used in conjunction with meta tags to dynamically pull covers from online album databases. This would significantly boost the value of this component IMO and eliminate the need for local storage of album covers if a good online database could be found.

[CRASHWARE] updated foo_uie_albumart

Reply #484
Thanks for the update, gfngfgf, but I think I found a bug.
If I have 'Follow cursor' enabled and select a song that has no album art, the album art panel will display the album art of the previously marked song until I click another song which has album art. Same happens with playing song.

I also tried to set the option 'On track change, revert to first source:' to 'Always'. Didn't help.

It's just like the panel wouldn't get "cleaned up" when I change either selected/playing song.

[CRASHWARE] updated foo_uie_albumart

Reply #485

Is it possible (and if it is not would you consider adding support) to use an URL as an albumart source?  Can I for example add the line http://image.weather.com/images/sat/region...sat_720x486.jpg to the bottom of my sources list to display my local weather map instead of a "no image" picture?  I played around a bit with it but could not get it to work.

Right now, I don't think it's possible.  I'll look into adding that, though.  I have a hunch that it's going to be similar to reading from archives in terms of implementing within the code.
You can use the filesystem API to read from HTTP addresses as well, but I would suggest to move the whole image searching and reading into a worker thread, if you have not done this already.

[CRASHWARE] updated foo_uie_albumart

Reply #486
It appears I may have found a bug.

If the "Behavior" preference for "Cycle sources during playback" and "Skip no-cover images while cycling" are both selected, and the playlist moves from a file which has an albumart pic to a file which doesnt.. the pic for no-cover is not displayed and the image from the previous song remains.

I would suspect that the plugin is trying to cycle non-existant images and skipping the no-cover image per the preferences even on songs which have no albumart. I tried changing "On track change, revert to first source" to "Always" thinking that might trigger things to reset when it changes tracks but it does not.

I disabled the option for "Cycle sources during playback" and images are displayed normally as with previous versions of this component. I'm satisfied not to use this feature but would like to report the potential bug. Or am I simply misconfiguring it?

Edit: This bug may be the same one reported a few posts up by Anas, however I do not use the option "Album cover art follows cursor even when playing"

Edit: In the interest of debugging, I enabled "Cycle sources during playback" but disabled "Skip no-cover images while cycling" and the component functions normally.  The bug appears to be specific to the "Skip no-cover images while cycling" option being applied to playlist items that have no cover.  This does make logical sense and if it's intentional then so be it. But atleast IMO the expected behavior would be for the entire "Cycle sources during playback" would not apply to items that had no source (though I guess the no-cover counts as a source).. you may want to consider a bit of code and/or an additional sub-option to compensate for this behavior.

[CRASHWARE] updated foo_uie_albumart

Reply #487
Great Stuff  Would it at all be possible to have 2 pictures in the one frame.. Say 1 Covering the whole frame & 1 on top, say 1/2 the size ??

I don't think so.  I'd like to keep it to one image per panel for now.

If I have 'Follow cursor' enabled and select a song that has no album art, the album art panel will display the album art of the previously marked song until I click another song which has album art. Same happens with playing song.

What's your sources list?  I can't reproduce this with my list (which is admittedly pretty simple).

edit: see my response to Yotsuya below.  I'll try and fix this for the next version.

You can use the filesystem API to read from HTTP addresses as well, but I would suggest to move the whole image searching and reading into a worker thread, if you have not done this already.

Thanks for confirming my hunch, and for the suggestion.  I can see how a worker thread would be helpful when reading from HTTP addresses.

If the "Behavior" preference for "Cycle sources during playback" and "Skip no-cover images while cycling" are both selected, and the playlist moves from a file which has an albumart pic to a file which doesnt.. the pic for no-cover is not displayed and the image from the previous song remains.

Thanks for the detailed report.  That is indeed a bug.  It appears that I don't properly handle the case where none of the sources match.  I bet this is what Anas is seeing, too.  I'll definitely deal with it before the next version.

[CRASHWARE] updated foo_uie_albumart

Reply #488
I think i may have also noticed a bug with the newest version.
When the Album Art Prefrences window is open, and you switch to another window (Ex. Firefox) by clicking the window name on the taskbar and then try switching back to foobar the same way, foobar will not come up, you have to minimise all other windows. Also, when you rightclick on the foobar taskbar icon, no menu comes up.

[CRASHWARE] updated foo_uie_albumart

Reply #489
Since the no-cover image is handled differently than other sources and this component is adding features that treat this special source differently (as evident by the above mentioned bug), I would like to suggest that perhaps the "no-cover" image be moved to a separate part of the configuration instead of simply being the last entry on the sources list. I should think this would make features like the transitioning effect easier to code without worrying about the no-cover image being thrown in the mix. "if any exist in list 1, random entry from list 1, else no-cover" this would also open the door for adding more options to no-cover such as searching online albumart databases or switching to a vis plugin or whatever we can come up with.

Just a suggestion, dont want to get the bloat police called out or anything.

[CRASHWARE] updated foo_uie_albumart

Reply #490
I think i may have also noticed a bug with the newest version.
When the Album Art Prefrences window is open, and you switch to another window (Ex. Firefox) by clicking the window name on the taskbar and then try switching back to foobar the same way, foobar will not come up, you have to minimise all other windows. Also, when you rightclick on the foobar taskbar icon, no menu comes up.

You know, I noticed this while testing, but I thought it was just a side-effect from the preferences dialog being modal.  It wasn't until just now that I checked trackinfo's preferences dialog, and it doesn't exhibit the same behavior.  I'll take a look at it.

edit: actually, after playing with it for a little bit, I made the following observations: right-clicking the tray icon does bring up a menu, and it will switch back to foobar2000.  Still, I'm doing something wrong when I open the preferences dialog.

[CRASHWARE] updated foo_uie_albumart

Reply #491
what strings should i use to make th panel always display folder.jpg as the first source, then cycle thru any other image files in the tracks directory?

[CRASHWARE] updated foo_uie_albumart

Reply #492

I think i may have also noticed a bug with the newest version.
When the Album Art Prefrences window is open, and you switch to another window (Ex. Firefox) by clicking the window name on the taskbar and then try switching back to foobar the same way, foobar will not come up, you have to minimise all other windows. Also, when you rightclick on the foobar taskbar icon, no menu comes up.

You know, I noticed this while testing, but I thought it was just a side-effect from the preferences dialog being modal.  It wasn't until just now that I checked trackinfo's preferences dialog, and it doesn't exhibit the same behavior.  I'll take a look at it.

edit: actually, after playing with it for a little bit, I made the following observations: right-clicking the tray icon does bring up a menu, and it will switch back to foobar2000.  Still, I'm doing something wrong when I open the preferences dialog.


Right clicking the tray icon may but right clicking the taskbar does not. Nor are you able to bring the window to the front.

Edit: I think I might have noticed another bug. If you have 'Album cover art follows cursor even when playing' enabled and click the random button and it selects a track that has cover art the cover shows, but if you click it again and it selects a track that doesnt have art the art from the previously selected track stays.

[CRASHWARE] updated foo_uie_albumart

Reply #493
I come with some good news, probably...

gfngfgf, I am currently using Windows 2000, foobar v0.9.2, and Album Art Panel v0.2.0 and have no problems accessing the Prefrences menu.

Nice job and keep up the good work.  d(^_^)b

[CRASHWARE] updated foo_uie_albumart

Reply #494
Is there a way to have it display any image with front somewhere in the filename (so I don't have to rename them all to folder.jpg)?


[CRASHWARE] updated foo_uie_albumart

Reply #496
Thanks a lot for the update gfngfgf. Multiple panels ROCK!

[CRASHWARE] updated foo_uie_albumart

Reply #497

Is there a way to have it display any image with front somewhere in the filename (so I don't have to rename them all to folder.jpg)?

just try to add *front*.* into the sources list. it should work

Thanks, I'll give that a try.  Actually, I'll try *front*.jpg, to make sure it doesn't try loading a music file. 

[CRASHWARE] updated foo_uie_albumart

Reply #498
I come with some good news, probably...

gfngfgf, I am currently using Windows 2000, foobar v0.9.2, and Album Art Panel v0.2.0 and have no problems accessing the Prefrences menu.

Nice job and keep up the good work.  d()b

That is definitely good news.  Thanks for letting me know

Thanks a lot for the update gfngfgf. Multiple panels ROCK!

I know, huh?  I didn't really think multiple panels would be that great (and I really don't have room in my layout), but when I was testing, and I had one panel set to show the playing track, and another to follow cursor, I thought that was pretty neat.

On a personal note, I'm moving in a week or two, so development might be a little slow.  I'll try to get a version 0.2.1 out within the next week to address the preferences/taskbar issue and the old album art stays when selecting a track with no album art, but don't expect anything new for a while after that.

 

[CRASHWARE] updated foo_uie_albumart

Reply #499
Just an idea, but how about providing an interface for other components to retrieve the 'now playing' and 'follow cursor' bitmaps, perhaps as a Gdiplus::Bitmap or HBITMAP, so that they don't have to worry about url retrieval or archives.

This way, other components that require albumart, such as foo_prettypop and maybe someday columns_ui (If a WMP11-like albumart-in-playlist feature is implmeneted), can all use the same images, and 3 different sources lists won't have to be configured.