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
gapetto
I've never had any problems with it, but I'll try this to see if anything happens. Are you going to post the modified source?
david_dl
I'll upload the source now.
Duble0Syx
Using it now. Seems considerably faster. Providing it is stable this is a great improvement. Thanks a lot. I hope this component and the track info panel get updated for foobar v9 once the SDK is released for it. smile.gif
waileongyeo
Thanks for the update. Testing now.

Would it be nice to indicate the version which you base on when you release the plugin. Or you could update the version number to prevent confusion from different builds.


Thanks. Keep on. cool.gif
gfngfgf
Thanks for the update. Redrawing is improved very nicely.
theWANDERER
Thanks for the update.

the fading effect is great and is working so far.

thank you very much
Cutter
Hello!

I can't get the panel to appear (juste as with the previous version). I probably forgot something. I get the Album art panel item in the preferences, but the cover art doesn't appear (not even the default one wich is located in the "components" folder). Please help.
metal_termite
QUOTE(david_dl @ Dec 20 2005, 09:58 PM)
I have modified foo_uie_albumart to make it a lot faster and fix the artifacts that appeared when another window was dragged across it etc. It should also no longer flicker.


Works great except one bug. It broke PNG transparency.
david_dl
QUOTE(metal_termite @ Dec 22 2005, 06:11 AM)
QUOTE(david_dl @ Dec 20 2005, 09:58 PM)
I have modified foo_uie_albumart to make it a lot faster and fix the artifacts that appeared when another window was dragged across it etc. It should also no longer flicker.


Works great except one bug. It broke PNG transparency.
*



Can you show me some images that you have this problem with? I just created a transparent PNG in Photoshop which seemed to have no problems.
metal_termite
QUOTE(david_dl @ Dec 21 2005, 03:31 PM)
QUOTE(metal_termite @ Dec 22 2005, 06:11 AM)
QUOTE(david_dl @ Dec 20 2005, 09:58 PM)
I have modified foo_uie_albumart to make it a lot faster and fix the artifacts that appeared when another window was dragged across it etc. It should also no longer flicker.


Works great except one bug. It broke PNG transparency.
*



Can you show me some images that you have this problem with? I just created a transparent PNG in Photoshop which seemed to have no problems.
*



http://sv1.randomcrap.net/uploads/files/0/default.png

The background shows up black with your plugin though the background is transparent.
david_dl
QUOTE(metal_termite @ Dec 22 2005, 09:35 AM)
QUOTE(david_dl @ Dec 21 2005, 03:31 PM)
QUOTE(metal_termite @ Dec 22 2005, 06:11 AM)
QUOTE(david_dl @ Dec 20 2005, 09:58 PM)
I have modified foo_uie_albumart to make it a lot faster and fix the artifacts that appeared when another window was dragged across it etc. It should also no longer flicker.


Works great except one bug. It broke PNG transparency.
*



Can you show me some images that you have this problem with? I just created a transparent PNG in Photoshop which seemed to have no problems.
*



http://sv1.randomcrap.net/uploads/files/0/default.png

The background shows up black with your plugin though the background is transparent.
*



Black is the default background colour. If you want a different colour use the options on the preferences page (Use background colour).
Hope that helps.
david_dl
QUOTE(Cutter @ Dec 22 2005, 04:09 AM)
Hello!

I can't get the panel to appear (juste as with the previous version). I probably forgot something. I get the Album art panel item in the preferences, but the cover art doesn't appear (not even the default one wich is located in the "components" folder). Please help.
*



Are you using the columns UI? Right click somewhere on the interface and check Panels->Album Art. Do other panels work?
Ivanov
I cant use it with new beta 13 of foobar. Why? May be is not supported yet?
Stratman
Great work! So far the experimental version works great for me. I love the fading between covers!
enjoilax
QUOTE(Stratman @ Dec 21 2005, 04:48 PM)
Great work! So far the experimental version works great for me. I love the fading between covers!
*


Same here! Thanks for the plugin!
Cutter
QUOTE(david_dl @ Dec 21 2005, 10:07 PM)
QUOTE(Cutter @ Dec 22 2005, 04:09 AM)
Hello!

I can't get the panel to appear (juste as with the previous version). I probably forgot something. I get the Album art panel item in the preferences, but the cover art doesn't appear (not even the default one wich is located in the "components" folder). Please help.
*



Are you using the columns UI? Right click somewhere on the interface and check Panels->Album Art. Do other panels work?
*

Thank you. I feel dumb now but it works (I'm not used to ColumnsUI).
DeepDose
Working great in foobar 0.8.3....fading rocks my world
Punio.4
Just a question... been having this problem with the old version too...
There is an option to control it also via the album list panel, however the albumart doesn't change until I select a track in the playlist (if follow cursor is enabled).
david_dl
QUOTE(Punio.4 @ Dec 22 2005, 12:47 PM)
Just a question... been having this problem with the old version too...
There is an option to control it also via the album list panel, however the albumart doesn't change until I select a track in the playlist (if follow cursor is enabled).
*



It's never worked for me either. I believe it requires a modified version of the album list panel. The original foo_uie_albumart zip file (which can be found here) includes this. It's older than the foo_uie_albumlist I was using, but it does work properly with this feature. I prefer my album art to display the currently playing track anyway...
symbiont7
Okay, so I finally tried out this plugin. Couple questions...

This is my "sources" set-up:
D:\My Music\album art\%artist% - %album%.jpg
D:\My Music\album art\no cover.jpgmi
-match:$replace(%_path%,%_filename_ext%,)*
-components\default.png

What is this line in the preferences for? I couldn't find anything pertaining to this line in my search.
-match:$replace(%_path%,%_filename_ext%,)*

I left the last 2 lines in because I'm still trying to understand it all. From what I have gathered from searching, the last line would normally point to a "default.png" file in my "components" folder in the fb2k folder. I don't see one there, so do I need to put a file there?

Well, since I want all my covers (even "no cover") in one folder, I'm going to delete that line anyway.

I'm basically curious to what -match, -components, and * means.

Thanks for any help!

david_dl
Edit: removed incorrect info : sad.gif , see below...
gfngfgf
Ivanov: this does not work for version 0.9, and it won't until the final version of 0.9 is released (along with the SDK).

To the people who are talking about the album art panel interacting with the album list panel: yes, you need the modified foo_uie_albumlist.dll that is/was included with foo_uie_albumart. I remember, though, that there were many bug reports related to this modified album list panel, so be warned.

symbiont7: I'll be back in a minute with a link to the explanation on how the sources list works (it's buried in the original foo_uie_albumart thread).
gfngfgf
rexy's explanation of the sources list

That's straight from the author's mouth. :-D

edit: changed "cycling" to "the sources list"
symbiont7
Thank you david_dl and gfngfgf. It all makes sense now. biggrin.gif
Punio.4
QUOTE(david_dl @ Dec 22 2005, 03:08 AM)
QUOTE(Punio.4 @ Dec 22 2005, 12:47 PM)
Just a question... been having this problem with the old version too...
There is an option to control it also via the album list panel, however the albumart doesn't change until I select a track in the playlist (if follow cursor is enabled).
*



It's never worked for me either. I believe it requires a modified version of the album list panel. The original foo_uie_albumart zip file (which can be found here) includes this. It's older than the foo_uie_albumlist I was using, but it does work properly with this feature. I prefer my album art to display the currently playing track anyway...
*



thanx, it really works now ^^
Lance Uppercut
Wow! I never thought a little thing like fading would make such a big difference. Excellent work and thanks!
stripe
Any chance you could have a go at trying to fix this bug?

stripe/ben
gfngfgf
QUOTE(stripe @ Dec 23 2005, 09:18 PM)
Any chance you could have a go at trying to fix this bug?

stripe/ben
*


fixed url

Can you paste your sources list here?
Storm
Looks great, watch out for the new SDK when it comes out, this would be really hot for 0.9...
acedriver
love the transition..
stripe
QUOTE(gfngfgf @ Dec 23 2005, 09:07 PM)
QUOTE(stripe @ Dec 23 2005, 09:18 PM)
Any chance you could have a go at trying to fix this bug?

stripe/ben
*


fixed url

Can you paste your sources list here?
*



(whoops, should have previewed) I'm currently using the default sources, but with earlier versions of albumart I have attempted plenty of different configs, none of which worked. I'm getting the exact same behavior with this version, so I don't think the source list is the problem.

-ben/stripe
Tomacco_Boy
Great work on the update, and would there be any chance of adding support for reading in archived files ?
Bob... Just Bob
Very awesome idea, I love the transition.

500 miliseconds is perfect. :D
david_dl
QUOTE(Tomacco_Boy @ Dec 25 2005, 11:21 AM)
Great work on the update, and would there be any chance of adding support for reading in archived files ?
*



I'll investigate this some time after christmas, if I can do it through the foobar archive plugin (I forget what its called, its midnight on christmas day here blink.gif) it shouldn't be too hard.

500ms, that's the default I set right? I did a lot of research before settling on 500 wink.gif
tksh
Has anyone else notice this with transitions?

Turn off "follow cursor" mode. Play the second song and then select the first song. Albumart should show second song's cover, and it does. Now advance to the next track, instead of fading from the second song's to the third song's cover, it immdiately shows the first song's cover (the selected track) and then fades to the third song's cover.

Using foobar 8.3 with columns_ui here.
gfngfgf
QUOTE(stripe @ Dec 24 2005, 01:03 PM)
(whoops, should have previewed)  I'm currently using the default sources, but with earlier versions of albumart I have attempted plenty of different configs, none of which worked.  I'm getting the exact same behavior with this version, so I don't think the source list is the problem.

-ben/stripe
*


Hmm, are you still using Windows 98SE? Is there anybody who is using the albumart plugin and Windows 98 without errors?
david_dl
QUOTE(tksh @ Dec 26 2005, 06:07 AM)
Has anyone else notice this with transitions?

Turn off "follow cursor" mode.  Play the second song and then select the first song.  Albumart should show second song's cover, and it does.  Now advance to the next track, instead of fading from the second song's to the third song's cover, it immdiately shows the first song's cover (the selected track) and then fades to the third song's cover.

Using foobar 8.3 with columns_ui here.
*



Fixed biggrin.gif, Get the update from my first post.
tksh
QUOTE(david_dl @ Dec 25 2005, 05:59 PM)
Fixed  biggrin.gif, Get the update from my first post.
*



Yep, it's working as expected now. Thanks for the quick fix.
Slourte
I'm having a hard time refreshing a cover that has been changed... anyone else noticed that? Great work nonetheless!
bigdave
Thanks for this great plugin the fading between album art images looks just great.



Nice job.
gfngfgf
One little thing: I normally have foobar2000 minimized to the system tray. When I open it and the album art has changed, it fades from the old album art to the current one. This is kind of awkward, though, because I might have minimized foobar2000 4 hours ago, and the old album art is, well, old. Is it possible to have the album just change when foobar2000 is restored, rather than fade?
corganzero0
I have a simply question:
how can I get this plugin to display whatever image I have in the folder where the playing file is located, regardless of file name?
gfngfgf
QUOTE(corganzero0 @ Jan 2 2006, 02:45 PM)
I have a simply question:
how can I get this plugin to display whatever image I have in the folder where the playing file is located, regardless of file name?
*


CODE
match:$replace(%_path%,%_filename_ext%,)*


That should do the trick.
topdownjimmy
QUOTE(gfngfgf @ Dec 21 2005, 11:24 PM)
To the people who are talking about the album art panel interacting with the album list panel: yes, you need the modified foo_uie_albumlist.dll that is/was included with foo_uie_albumart.  I remember, though, that there were many bug reports related to this modified album list panel, so be warned.
*

is there anybody who can fix that albumlist panel modification?, because that along with this updated albumart would be so beautiful.

VLSI
QUOTE(david_dl @ Dec 21 2005, 04:04 PM)
Black is the default background colour. If you want a different colour use the options on the preferences page (Use background colour).
Hope that helps.
*


I think originally the default colour was the window background colour, usually light gray, but dependent on your Windows settings/theme. It would be great if you could revert to the old behavior. Also, please post your latest source for the fading version. Thanks in advance.
rexy
Great to see further development of my code. Good luck, david.
WigBaM
QUOTE(gfngfgf @ Jan 1 2006, 10:18 AM)
One little thing: I normally have foobar2000 minimized to the system tray.  When I open it and the album art has changed, it fades from the old album art to the current one.  This is kind of awkward, though, because I might have minimized foobar2000 4 hours ago, and the old album art is, well, old.  Is it possible to have the album just change when foobar2000 is restored, rather than fade?
*


Put my hand up for this one as well! dry.gif
WigBaM
Also this needs to be dealt with as well please. The problem is when you have multiple sources and one of them is not there album_art shows the last good source in the list instead of continuing skipping until the next good one is found. Hope you'll get it sorted! cool.gif
Anyway, great job!

Added: Another one, bind 'first source' as a double-click action. Now when I double click the first source shows up only for a brief moment before it switches to second source.

FIXED SOURCE
David, I had a look into the source myself and managed to fix all of the above issues (not the system tray one though):

in uie_albumart.cpp:
CODE
bool uie_albumart::set_image(..
....
 if(!file.is_empty()){
  Bitmap bmp(string_wide_from_utf8(file.get_ptr()));
  if(bmp.GetHeight()){
   img=file;
   crnsource = n; -ADDED THIS TO FIX ALBUM COVER STAYING ON;
   break;
  }
 }


I've implemented a little walk-around on the issue with double-clicking returning the second source. In the same uie_albumart.cpp:
CODE
LRESULT WINAPI uie_albumart::on_message(HWND wnd1,UINT msg,WPARAM wp,LPARAM lp){
static bool b_dblclick = false; -ADDED THIS VARIABLE TO INDICATE DOUBLE-CLICK
switch(msg)
{
case WM_CREATE:
....
....
 break;
case WM_LBUTTONDBLCLK:
 click_func(cfg_dblclickfunc);
 b_dblclick = true; -ADDED
 break;
case WM_LBUTTONUP:
 if(!b_dblclick){  -ADDED
  click_func(cfg_lftclickfunc);
 }
 b_dblclick = false;
 break;
case WM_MBUTTONUP:


Hope it helps! rolleyes.gif
ak47mega
Anybody who know foo_ui_albumart 2 and more used ?
ex) trackinfo.dll trackinfo2.dll trackinfo3.dll

thanks for your help.. biggrin.gif
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.