Help - Search - Members - Calendar
Full Version: updated foo_uie_albumart
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20
mazy
QUOTE(david_dl @ Jun 16 2006, 08:14) *
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.

seconded! this would be very useful and would help to add album art to other components easily ...
MasterMite
QUOTE(gfngfgf @ Jun 13 2006, 07:28) *
QUOTE(MasterMite @ Jun 12 2006, 20:21) *

- 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.


Sure yes .. I mean, is there a simple way of downloading covers with foobar itself and foo_run maybe (and which script leading to which database ?), instead of using external software, like AlbumArtAggregator which I don't find really convenient nor complete?
The good way to have albumart something to display !

gfngfgf
QUOTE(MasterMite @ Jun 16 2006, 11:10) *

Sure yes .. I mean, is there a simple way of downloading covers with foobar itself and foo_run maybe (and which script leading to which database ?), instead of using external software, like AlbumArtAggregator which I don't find really convenient nor complete?
The good way to have albumart something to display !

Ah...I totally misunderstood your question smile.gif

david_dl made a nice little cover art downloader available here. That post also has a string to use with foo_run.

QUOTE(david_dl @ Jun 15 2006, 23:14) *

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.

Interesting idea, for sure. I would think that foo_uie_albumart should be split into two components for this to work: one to actually find and load the images, manage the sources list, etc. ("foo_image_loader", maybe?), and the other would just draw the found art as a panel. I probably won't get to this for a long while, but I'll keep it in mind.
david_dl
QUOTE(gfngfgf @ Jun 17 2006, 14:05) *

QUOTE(david_dl @ Jun 15 2006, 23:14) *

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.

Interesting idea, for sure. I would think that foo_uie_albumart should be split into two components for this to work: one to actually find and load the images, manage the sources list, etc. ("foo_image_loader", maybe?), and the other would just draw the found art as a panel. I probably won't get to this for a long while, but I'll keep it in mind.


Splitting it is a very good idea, that would make it available to those who don't use/have columns ui installed and reduce feature bloat.

Also is foobar2000 capable of reading binary (ie. image) data from ID3v2 tags yet?
barfoo
Question for Album Art users/developers: how does everyone make albumart recognize a stream (vs a local file), so that it will display different images for each? I noticed that some people listed two separate images in the "no cover art" thread. I've done a forum search but couldn't find a way to do it.

After playing around with tag formatting, I came up with the following line for my configuration (Album Art Panel 0.20) but I wonder if there an easier or more straightforward way:

--$if($stricmp($left(%path%,7),'http://'),components\defaultradio.png,components\default.png)

In particular, this approach will get it wrong if it's reading a fixed file via http. So two questions:

- is there a better way to determine whether foobar is reading a stream?

- should this be put into the documentation? It's something a lot of users might want.
kockroach
I believe you could use "$if(%length_seconds%,...)", which would check to see if there is a total time listed. Streams wouldn't have that. At least I recall seeing this used elsewhere.
Bachi-Bouzouk
Hi, just a quite simple thing: this topic is getting crazy: the album art component is no longer developed by david dl and finding the good last version of foo uie album art is problematic: no official page (or at least I didn't find any for the last version) and new users (and me biggrin.gif) have to spend a lot of time to find the dll in this huge topic.

Would it be possible to make a split, a new topic, edit the first post with the last version or whatever to make things easier?

Well I'm plunging again in this topic to find the last version of this plugin which seems to be very interesting smile.gif

edit: I found the official page but editing the first post would help anyway smile.gif
gfngfgf
^ while I agree with you, I'd rather not start a third foo_uie_albumart thread. For reference, I do try to update the "(Current Version)" link on the wiki page to always point to the forum post I made with the latest version (though I admittedly forgot to do that with version 0.2.0). Maybe that's where the first page of the thread should link.

And, just to add to your general confusion tongue.gif

-----
Version 0.2.1 (June 18, 2006)
Plugin homepage

Download
Change log
Source

Reminder: if you are upgrading from a version prior to 0.2.0, your preferences will be lost
-----

This version should fix the issues with tracks that don't have album art. The display should be blank for tracks with no album art. With auto-cycling and "skip no-covers" enabled, Album Art Panel will first scan the sources list and ignore "no-cover" sources. If a match can't be found, it will then pick a no-cover image to display.

Also, the preferences dialog should be fixed so you can switch between foobar2000 and other applications. I wasn't able to get the menu to appear when you right-click on the taskbar button, though.
Acropolis
Hello, I've just made a modified version of version 0.2.1 that support changing the MSN avator (dp).
It can be treated as a separate plugin in fact, because it is single instance (doesn't make sense to have more than one instance to change the avator), and the config data is separated from the original one.
When playing music, the MSN avator is the same as the albumart, otherwise the original avator will be restored.
Also, this modified one can be used together with the original one.

download

Neural_Overload
QUOTE(Acropolis @ Jun 18 2006, 20:06) *

Hello, I've just made a modified version of version 0.2.1 that support changing the MSN avator (dp).
It can be treated as a separate plugin in fact, because it is single instance (doesn't make sense to have more than one instance to change the avator), and the config data is separated from the original one.
When playing music, the MSN avator is the same as the albumart, otherwise the original avator will be restored.
Also, this modified one can be used together with the original one.

download

Maybe what you've done can be integrated into foo_amip as it seems it might be better suited for that plugin.
4nt1
awesome work on album art
i am using windows vis called milk, and have my fonts set to 120 dpi, when i go to the prefs window i am missing about 10% of the right hand side, i am just wondering if its possible for you to fix, or do i have to revert to 90dpi text?

thanks again for your work on this component
gfngfgf
QUOTE(4nt1 @ Jun 18 2006, 21:24) *

awesome work on album art
i am using windows vis called milk, and have my fonts set to 120 dpi, when i go to the prefs window i am missing about 10% of the right hand side, i am just wondering if its possible for you to fix, or do i have to revert to 90dpi text?

Probably. I've kind of wondered what would happen if someone were using a different font size. I'll see what I can do.
SOS
QUOTE(Neural_Overload @ Jun 18 2006, 23:16) *

QUOTE(Acropolis @ Jun 18 2006, 20:06) *

Hello, I've just made a modified version of version 0.2.1 that support changing the MSN avator (dp).
It can be treated as a separate plugin in fact, because it is single instance (doesn't make sense to have more than one instance to change the avator), and the config data is separated from the original one.
When playing music, the MSN avator is the same as the albumart, otherwise the original avator will be restored.
Also, this modified one can be used together with the original one.

download

Maybe what you've done can be integrated into foo_amip as it seems it might be better suited for that plugin.

Or foo_msn.
david_dl
QUOTE(gfngfgf @ Jun 19 2006, 17:45) *

QUOTE(4nt1 @ Jun 18 2006, 21:24) *

awesome work on album art
i am using windows vis called milk, and have my fonts set to 120 dpi, when i go to the prefs window i am missing about 10% of the right hand side, i am just wondering if its possible for you to fix, or do i have to revert to 90dpi text?

Probably. I've kind of wondered what would happen if someone were using a different font size. I'll see what I can do.


If its a standard dialog resource won't windows automatically adjust the size of the Dialog Units?
Bachi-Bouzouk
Thanks for your edit of the first post David wink.gif
KarnEvil9
Thanks for a great plugin!

I was wondering, is there a way to have more than one No Cover image? I tried both a wild card and listing them separately, but it still only shows the first one, even when I select Next Source.

(I know I can move them manually in the config.)
Bachi-Bouzouk
http://eolindel.free.fr/foobar0.9/albumart.shtml#tip Look the tip, it can show 10 pictures (or more) randomly.
KarnEvil9
QUOTE(Bachi-Bouzouk @ Jun 19 2006, 08:29) *

http://eolindel.free.fr/foobar0.9/albumart.shtml#tip Look the tip, it can show 10 pictures (or more) randomly.

Thanks, that works great!

(Once I figured out that it starts from 0. wink.gif )
Stuart60611
I noticed this was mentioned above, but I would love the ability to cycle through all of the *.jpg files in a given folder which was already coded in a prior version but taken out of the current version.
gfngfgf
QUOTE(david_dl @ Jun 19 2006, 00:29) *

If its a standard dialog resource won't windows automatically adjust the size of the Dialog Units?

That's what all the documentation I've read has told me. As far as I recall, all the controls are defined in the resource file, so yeah, it should resize itself. I have yet to test it out really.

edit: I've tested now and confirmed that the dialog gets cut off when using 120dpi fonts. I'll try to get that corrected soon.

QUOTE(Stuart60611 @ Jun 19 2006, 11:39) *

I noticed this was mentioned above, but I would love the ability to cycle through all of the *.jpg files in a given folder which was already coded in a prior version but taken out of the current version.

It's already on my to-do list ("Cycle through all wildcard matches"), which is on my plugin page.
Yotsuya
Now that we can use multiple albumart panels at once (Thank You!), albumart allows us a lot more freedom with foobar with regards to adding frames, borders, and other "useless eyecandy". Much more flexible than the old dummy button trick. While I realize this use is probably far outside the designers original intent it works very well. This does bring up a small feature request on my part though..

Is it possible to tile an albumart image (and if not would you consider looking into making it possible)? We can already view the images normally or apply different methods of stretching and scaling. It seems only natural we would eventually want to tile them.

Thank you for all your work ceating one of the most popular and useful components for foobar.
Ihmemies
(On another thread)
QUOTE(Yotsuya @ Jun 20 2006, 15:17) *

However to answer the question, foo_uie_albumart supports TAGZ for sources. Here's a quick example of how to make it change images depending on wether anything is playing (hit stop/play to toggle your frames):

CODE
$if(%isplaying%,border\image1.png,border\image2.png)


Oh, I didn't know that foobar automatically searches from foobar dir, so I tried to type the whole path into the small window (like C:\program files\foobar 2000\ ...). Also, %ispaused% doesn't seem to work at all (it would be nice if it worked), so that was another reason I didn't get it to work. Anyways, thank you very much biggrin.gif
Yotsuya
One additional thing to note, I dont know if this is a bug or not but I've noticed that sometimes if you add a new variable to a source (as in, a %variable% that isnt anywhere else in the panel config) that it wont get processed properly until you restart foobar. If you spend the time to come up with a good block of code but you think a new variable is not working you may want to restart foobar before giving up on the approach.
KarnEvil9
Has anyone tried splitting the frames of an animated GIF and then have albumart cycle through them at maximum speed, for faux animation? I wonder if it would be fast enough. (Does 0 mean no delay, or no cycling?) I guess it would depend on the original animation. Obviously, you'd have to disable transitions.
Melomane
Version 2.1 is reported in preferences/components as 2.0!
Duble0Syx
QUOTE(Melomane @ Jun 20 2006, 06:58) *

Version 2.1 is reported in preferences/components as 2.0!

Nothing serious, but I can confirm that. Another odd thing is that I didn't lose my settings for the panel when upgrading too. Compile date is right, version number is not. I can't tell if anything is different though.
eyebex
Just a tiny suggestion: Could you make the default "Inactive selection background (no focus)" color in the "Playlist switcher" R=228, G=228, B=235, which is the corresponding default color for the regular playlist and looks much better than using the same gray as the UI elements.

EDIT: Sorry, wrong thread, this was supposed to go to foo_ui_columns:
http://www.hydrogenaudio.org/forums/index....ndpost&p=405292
gfngfgf
QUOTE(Yotsuya @ Jun 19 2006, 23:25) *

Is it possible to tile an albumart image (and if not would you consider looking into making it possible)? We can already view the images normally or apply different methods of stretching and scaling. It seems only natural we would eventually want to tile them.

Yeah, that doesn't sound like a bad idea.

QUOTE(Yotsuya @ Jun 19 2006, 23:25) *

Thank you for all your work modifying one of the most popular and useful components for foobar.

-- don't forget that it was rexy who initially created this plugin, and (*deep breath*) david_dl, WigBaM, G-Lite, and foosion who made contributions before I even touched it. smile.gif

QUOTE(Ihmemies @ Jun 20 2006, 05:29) *

Also, %ispaused% doesn't seem to work at all (it would be nice if it worked),

Make sure you're using version 0.2.0 or higher.

QUOTE(Yotsuya @ Jun 20 2006, 05:48) *

One additional thing to note, I dont know if this is a bug or not but I've noticed that sometimes if you add a new variable to a source (as in, a %variable% that isnt anywhere else in the panel config) that it wont get processed properly until you restart foobar. If you spend the time to come up with a good block of code but you think a new variable is not working you may want to restart foobar before giving up on the approach.

huh.gif Can you give me an example of this? I would qualify that as a bug....

QUOTE(KarnEvil9 @ Jun 20 2006, 06:46) *

Has anyone tried splitting the frames of an animated GIF and then have albumart cycle through them at maximum speed, for faux animation? I wonder if it would be fast enough. (Does 0 mean no delay, or no cycling?) I guess it would depend on the original animation. Obviously, you'd have to disable transitions.

0 means no cycling (analagous to 0 disabling animation). I should probably have made that clearer. Also, the units are in seconds, so you wouldn't be able to get it to cycle quickly enough. Plus, it'd probably use a lot of CPU to do that. But it is a fun idea. Maybe I'll change the units to milliseconds some time in the future and people can play with the animation idea.

QUOTE(Melomane @ Jun 20 2006, 07:58) *

Version 2.1 is reported in preferences/components as 2.0!

D'oh! silly me! Thanks for letting me know.

QUOTE(eyebex @ Jun 20 2006, 13:58) *

Just a tiny suggestion: Could you make the default "Inactive selection background (no focus)" color in the "Playlist switcher" R=228, G=228, B=235, which is the corresponding default color for the regular playlist and looks much better than using the same gray as the UI elements.

huh.gif wrong thread?

QUOTE(Duble0Syx @ Jun 20 2006, 09:58) *

QUOTE(Melomane @ Jun 20 2006, 06:58) *

Version 2.1 is reported in preferences/components as 2.0!

Nothing serious, but I can confirm that. Another odd thing is that I didn't lose my settings for the panel when upgrading too. Compile date is right, version number is not. I can't tell if anything is different though.

Okay, you can downloaded the updated 0.2.1 here. The only difference should be the version number actually shows 0.2.1 and the compile date is today's date. I did upload the correct version before, just forgot to bump the number.

Also, you'll only lose your settings if you upgrade from a version before 0.2.0, like 0.176 -> 0.2.1. I left the warning just in case anyone didn't see it earlier.
carmenm
I may have found a bug. If i am listening to a song and that i change the cover while playing, i cant refresh it, it does nothing. I need to load a track with another cover then go back to the cover i changed to see the change.
obsessor
how to insert albumart panel ?
before 0.9.2, it's only do a right click and insert the panel, but now how can i do it ?
crying.gif
Ihmemies
QUOTE(obsessor @ Jun 21 2006, 20:46) *

how to insert albumart panel ?
before 0.9.2, it's only do a right click and insert the panel, but now how can i do it ?
crying.gif


Use the fooorce, luuke!

http://www.kotiposti.net/ihmemies/roina/art.png
obsessor
QUOTE(Ihmemies @ Jun 21 2006, 16:16) *

QUOTE(obsessor @ Jun 21 2006, 20:46) *

how to insert albumart panel ?
before 0.9.2, it's only do a right click and insert the panel, but now how can i do it ?
crying.gif


Use the fooorce, luuke!

http://www.kotiposti.net/ihmemies/roina/art.png


ahuahuahua very thanks my pretty dandy
gfngfgf
QUOTE(carmenm @ Jun 21 2006, 10:28) *

I may have found a bug. If i am listening to a song and that i change the cover while playing, i cant refresh it, it does nothing. I need to load a track with another cover then go back to the cover i changed to see the change.

When you say "change the cover", do you mean you actually replace the .jpg file on your disk? Did you try doing a "Refresh" (right-click on the panel, then select "Refresh")? Which version are you using? The "refresh" function was one of the "minor tweaks and fixes" I made in version 0.2.0, so make sure you're using the latest version and let me know if it's still a problem.
firemaplegirl
Edit: Nevermind, I tried a few more things and X:\My Music\MP3 Albums\00 Covers\[%Artist% ~ %Album%]*.* is working.

I'm sorry, this is a rather basic question, but I've spent a fair amount of time browsing the thread and playing around and can't seem to figure it out. I have all of my album art saved to X:\My Music\MP3 Albums\00 Covers, with the filenames in the format Artist ~ Album ~ Cover.jpg. How do I tell albumart to look in this folder and select the correct image?
carmenm
QUOTE(gfngfgf @ Jun 21 2006, 17:44) *

QUOTE(carmenm @ Jun 21 2006, 10:28) *

I may have found a bug. If i am listening to a song and that i change the cover while playing, i cant refresh it, it does nothing. I need to load a track with another cover then go back to the cover i changed to see the change.

When you say "change the cover", do you mean you actually replace the .jpg file on your disk? Did you try doing a "Refresh" (right-click on the panel, then select "Refresh")? Which version are you using? The "refresh" function was one of the "minor tweaks and fixes" I made in version 0.2.0, so make sure you're using the latest version and let me know if it's still a problem.

Yeah i am using the last version, and by changing the cover i mean replacing the folder.jpg by another one (better quality). I tried the refresh it did nothing. I am not really sure but i think i already had that problem on older versions.
Generalverdacht
i have a question: i installed albumart and choose a picture if the albumart isnt available, but if i shift to an album where the cover is available, i have to right click -> next source, is there a way to let album art search for the next source automaitcally?
gfngfgf
QUOTE(Generalverdacht @ Jun 22 2006, 03:38) *

i have a question: i installed albumart and choose a picture if the albumart isnt available, but if i shift to an album where the cover is available, i have to right click -> next source, is there a way to let album art search for the next source automaitcally?

Are you using 0.2.1? This was one of the bugs I thought I addressed between 0.2.0 and 0.2.1.
Yotsuya
What order are your sources in albumart? Is the line for you no-cover image BELOW the line that finds the album's cover? Here is my sources list:

CODE

$replace(%path%,%filename_ext%,)cover.*
$replace(%path%,%filename_ext%,)*
-$if($strcmp($left(%path%,7),http$char(58)$char(47)$char(47)),components\online-radio.*,components\no-cover.*)


First it looks for a file named cover.* in the song's directory. Then it looks for any image in the song's directory. Then it checks to see if the song is online or local and displays an appropriate no-cover image.
paradynamic
Are there any plans to display Neroaactag embedded cover art?
gfngfgf
QUOTE(paradynamic @ Jun 22 2006, 17:16) *

Are there any plans to display Neroaactag embedded cover art?

Not by me, no.
fareed
Am I the only one getting a non-solid color in the album art background?

Describing screenshot (sorry about the compression on the jpg)

I've chosen the same background color on the trackinfo and the albumart panel but they end up as shown on the picture above; the album art has a dotted background and the dots have the correct color.

This concerns: fb2k v0.9.2 b.5 and foo_uie_albumart 0.2.1

Edit: Nevermind, it's all good.
cecilie
I tried to update to 0.2.1, but when I do it doesn't display in preferences, the latest version that does is 0.176a, but that one doesn't display in the layout window so I can't use that either
Am I missing some dll or what else could be the problem?
The previous version I used was something around 0.15 and that worked fine.
kockroach
After you add the panel to your layout, right click to open up the preferences. Since you can add multiple album art panels now, each one has its own preferences....just like the Track Info panel.
young twig
Is it possible to add HTTP support to this plugin? I have a little PHP script running on localhost that uses AWS to download album art. It'd be pretty sweet if I could use it. tongue.gif
cecilie
QUOTE
After you add the panel to your layout, right click to open up the preferences. Since you can add multiple album art panels now, each one has its own preferences....just like the Track Info panel.


But it isn't an option in my layout tab so I can't add it

This is what I have

IPB Image
KarnEvil9
What version of ColumnsUI are you using? Yours looks different than mine. Mine shows "Horizontal Splitter" or "Vertical Splitter", while yours just shows "Splitter". You might be using an incompatible version.
Yotsuya
QUOTE(young twig @ Jun 23 2006, 11:12) *

Is it possible to add HTTP support to this plugin? I have a little PHP script running on localhost that uses AWS to download album art. It'd be pretty sweet if I could use it. :P


Please see posts 481, 482, 486, and 488. This has recently been discussed in this same thread and I got the impression gfngfgf is working on it's implementation.

Please search the forum before asking questions or making suggestions.
Yotsuya
QUOTE(cecilie @ Jun 23 2006, 11:23) *

QUOTE
After you add the panel to your layout, right click to open up the preferences. Since you can add multiple album art panels now, each one has its own preferences....just like the Track Info panel.


But it isn't an option in my layout tab so I can't add it

This is what I have

IPB Image


Under Preferences go to the Components section and find Columns UI in the list (foo_ui_columns). What is the version number? The latest version, which has been out for awhile and is what most of us use, is v0.1.3 beta 1v5 and can be obtained here. As KarnEvil indicated you appear to be running an older version due to the lack of splitter types.
young twig
QUOTE(Yotsuya @ Jun 23 2006, 12:00) *

QUOTE(young twig @ Jun 23 2006, 11:12) *

Is it possible to add HTTP support to this plugin? I have a little PHP script running on localhost that uses AWS to download album art. It'd be pretty sweet if I could use it. tongue.gif


Please see posts 481, 482, 486, and 488. This has recently been discussed in this same thread and I got the impression gfngfgf is working on it's implementation.

Please search the forum before asking questions or making suggestions.

My bad.

Sounds great, though. Hope they add it soon as I have maybe 2 albums with correct art in the folders. tongue.gif

EDIT: 4 albums. biggrin.gif
cecilie
Ok, it's fixed now, so thanks for your help
I was sure that I had checked Columns UI, but I must have cancelled the download, since the new one was the exact same size as the dll I had plus same last modified date and time
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.