Foo_uie_albumart, Very simple album art panel
Foo_uie_albumart, Very simple album art panel
Nov 14 2004, 01:35
Joined: 28-February 04
Member No.: 12351
UPDATE: version updated to v0.045
UPDATE: source released
New since v0.01:
* Minimum height
* Cyclable sources
* Updated albumlist
* Bug fixes
* ...other stuff.
* Fixed wildcard matching so it works with unicode
* Bug fixes
* Source released
* If cover stays the same, no redrawing.
* Option to show the cover for the Album List selection if the list has focus (needs a sepcial version of the Album List panel, included in the release archive)
* Cleaned up code
* Recompiled using the new SDK
* Changed source list defaults
* Recoded the UIE implementation, which by itself fixed too many bugs to list here
* Change code to GDI+ in order to improve resizing quality
* Mouse clicks user-selected functionality
* Fix sources list bug (changing precedence seldom messes up source display)
* Wildcards in cover sources
* Add png support
* Allow access to all possible click functionalities through context menu.
* Works with the new columns_ui (is it .012? something like that)
* In initial sources, change "deafult.jpg" to "components\default.jpg" (click reset to get new defaults if you are updating to this version)
* Include a default.jpg with the DLL
* Refresh on source list change
* Option for auto-fit without maintaining aspect ratio
* When no track playing, follow cursor regardless of settings
* Load focued track's cover on start up (works with start playing on startup because
it plays the focused track anyway)
* Option for a black pixel border around cover art image--image, not panel (I wanted it this way... looks pretty)
* Fix host transfer
* Added an option that opens the preferences to the end of the standard ui_extension context menu.
* Paths with special characters work.
* Better resource management.
* Ability to set background color.
* Option to follow cursor.
* Some random fixes and changes.
* Better resizing quality.
* Sources list (uses title formatting).
* Album cover not a control anymore and is now simply drawn using StretchBlt.
* Config window with options for auto-center, auto-expand, and auto-shrink.
Needs both MSVCP71.dll and MSVCR71.dll present in order to work, as well as GDI+ runtime installed (standard in Windows XP and newer). Please make sure these necessities are met before complainining about DLL load errors. Thanks.
Also, if you are upgrading from a previous version, it is recommended that you reset the source list by clicking Reset.
This post has been edited by rexy: Feb 3 2005, 07:45
Nov 15 2004, 23:36
Joined: 28-February 04
Member No.: 12351
[quote=foosion,Nov 15 2004, 05:54 AM]
[quote=rexy,Nov 15 2004, 02:39 PM]As for auto-hiding, does any ui_extension master coder (foosion?) know if there's a message I can send to columns_ui telling it to hide the sidebar? I guess I can tell my component to go to the menu and execute the hide thing, but I was wondering if there was a "proper" way. Anywho, you can set a default image to take up the sapce if you want to.
Thanks. Will go check out that thread.
[quote=free,Nov 15 2004, 06:02 AM]
thx now it's correctly work for me
Great! Your welcome.
[quote=upNorth,Nov 15 2004, 06:25 AM]
@rexy: There is a bug in the sources list. From time to time names gets mixed up when they are moved around, and you get two entries with the same name. Meaning name doesn't correspond to value for one of them. It can be corrected again by moving them around some more
I don't know how to explain it any better, but my guess is that you copied this from one of the plugins that comes with the SDK. At least I did that myself, and got the same bug (don't remember how much I modified it though).
[quote=kalmark,Nov 15 2004, 06:45 AM]
[quote=upNorth,Nov 15 2004, 04:25 PM]@rexy: There is a bug in the sources list. From time to time names gets mixed up when they are moved around, and you get two entries with the same name. Meaning name doesn't correspond to value for one of them. It can be corrected again by moving them around some more
I wanted to report this too but my net was dead for a while
Good job rexy, nice plugin!!!
Thanks. I noticed the source list bug thing too, but left it alone for now as it's not too critical as it can fixed by reopenning the config window. After a very brief look I couldn't figure out what was causing, so I'll just have to have a closer look later sometime.
[quote=esa372,Nov 15 2004, 07:02 AM]
[quote=EZ-man,Nov 15 2004, 07:45 AM]I have put this plugin in components folder.
When I run fb2k, it doesn't show any errors.
But it also doesn' work...[/quote]Same here.
There's a DLL that this component needs. Look at the first post. I'll make it more apparent... later.
[quote=desigrid,Nov 15 2004, 07:06 AM]
Great UIE rexy!
Though I've a similar request for foo_uie_albumart as I had for foo_uie_trackinfo . Besides have the option to either follow cursor or not, could you add a somewhat intermediary option that will turn off follow cursor when a track is currently playing and to turn it on when no track is playing? i.e. if a track is playing, album art of currently playing track is displayed and it is not affected by the playlist focus; if no track is playing, album art of currently selected track is displayed.
Thanks. Great idea! I like it. Will undoubtedly get implemented.
[quote=foosion,Nov 15 2004, 07:07 AM]
Problem 1 (crash): Transfering the album art panel from one host to another crashes foobar2000.
How to reproduce: add album art panel to regular sidebar, then try to add it to a panel stack instance.
Examples of how to do this correctly can be found in my foo_history/foosion_helpers source and in Phi's foo_uie_trackinfo (perhaps also in one of musicmusic's examples).
Problem 2 (glitch): The labels in the sources list are displayed wrong after adding one or more entries, like some entries appearing twice or being displayed in the wrong order. Double-clicking opens the expected entry.
Both tested with foo_uie_albumart 0.033.
I'll have to fix that host transfer thing. Where exactly can I get these helpers of yours? They sound helpful.
About the list thing, as I said above, I'll have to have a closer look at it.
[quote=upNorth,Nov 15 2004, 08:18 AM]
Option to refresh image for the playing track, to avoid the current need to start it over.
With foo_looks I used a simple "pause then play" to update it, so maybe it could be triggered by a on_playback_starting() callback or something.
Alternatively you could just add a "refresh" entry to the context menu.
The only reason it doesn't refresh by itself is because I forgot to tell my notifier thing to listen to the list cfg vars aswell. Will get fixed in next release.
[quote=reardon,Nov 15 2004, 09:05 AM]
[quote=rexy,Nov 14 2004, 05:27 PM]Version 0.03a added.
@reardon: How exactly does it store the cover? Is it a tag that has the file's adress? If so, then it is now supported with the new version. Otherwise, is it simply binary data within a tag?... do you know where I may find specifications about the standart use of covers in tags? I may consider implementing this (I might not implement it though).
Check here: http://louhi.kempele.fi/~skyostil/projects/albumart/
It seems to be in the APIC tag for MP3 (ID3v2) or in COVR tag for AAC. I don't know the exact format from there, but I believe you can dig it out of the python sources.
I know a lot of people here simply want file-based referals, but I believe that embedded images are de facto more popular (if you use more than a PC to play music, it is basically the only option). And iTunes is just making even more popular method.
I'll have a look at it, but this is pretty low priority because it seems like a lot of work for something not too important. I'll have a look and see and if it seems easy I'll prolly add it.
[quote=NEMO7538,Nov 15 2004, 10:14 AM]
Nice plugin ! Congratulations.
[quote=EZ-man,Nov 15 2004, 11:24 AM]
Here's a wrong word in default setting.
"deafult.jpg" should be "default.jpg"
Thanks. Will get fixed.
[quote=TheGreekGeek,Nov 15 2004, 01:18 PM]
I'm using foobar with columnsUI 1.2 beta 3 (with azrael config). I tried your plugin, but I can't find a switch or button or whatever to switch on the panel. I can configure the plugIn, but I see no panel. A 'folder.jpg' is existing.
Sorry, but I really don't understand what your problem is. Be more specific. Is the panel not showing up? Is it not displaying images, but is showing up? Be sure to actually add the panel (right click your side bar).
[quote=Moonwhaler,Nov 15 2004, 01:19 PM]
How about this crazy idea: Use some sort of "Get cover using XYZ" as context menu when clicking on a songs name. This will initiate a web search (amazon.whatever / configuration) and extracts the cover image and saves it to the appropriate folder... Something similar like foo_freedb already does. The next step would be "mass"-downloading covers for all selected albums / songs in the playlist (like masstagging), but with some intelligence: If there already is a folder.jpg / png jump to the next song etc.
The advantage within foobar would be using tags instead of the filename > higher accuracy...
This would be VERY nice. The "Album Cover Art Downloader" is a cool program, but if this functionality would be part of foobar (uie_albumart) that would rock - big time.
Anyways: I love your component!
Thanks. That sounds like a seperate component for cover retreival (that is, while it could be in the same DLL, logically there is no point to it and it would make more sense as a seperate component). I might make one and publish it along with the panel component, but that would be low priority. Maybe someone else would like to make a cover retreival component...
[quote=badrad,Nov 15 2004, 01:48 PM]
[quote=badrad,Nov 14 2004, 11:58 PM]Hey, recently I have been getting a dialog box with
"metadb_handle leaks, 1 objects"
when quitting foobar. I thought of what plugins I have recently installed, and removing them one by one, narrowed it down to yours.
So I guess I am the only one having this happen?
Try v0.033. Sorry I didn't add a new post informing of the new version.
This post has been edited by rexy: Nov 15 2004, 23:38
Nov 15 2004, 23:51
Joined: 15-November 04
Member No.: 18152
the panel isnt showing up. But as usual the user is the problem The switch to show the panel is at the 'topic' of the sidebar. I clicked everywhere to find something like that but not there...
Now its working.
This post has been edited by TheGreekGeek: Nov 15 2004, 23:53
|Lo-Fi Version||Time is now: 27th December 2014 - 02:25|