IPB

Welcome Guest ( Log In | Register )

Foo_uie_albumart, Very simple album art panel
rexy
post Nov 14 2004, 01:35
Post #1





Group: Members
Posts: 128
Joined: 28-February 04
Member No.: 12351



UPDATE: version updated to v0.045
UPDATE: source released

New since v0.01:
v.045
* Minimum height
* Cyclable sources
* Updated albumlist
* Bug fixes
* ...other stuff.
v0.044
* Fixed wildcard matching so it works with unicode
* Bug fixes
* Source released
v0.043
* 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)
v0.042
* Cleaned up code
* Recompiled using the new SDK
* Changed source list defaults
v0.041
* Recoded the UIE implementation, which by itself fixed too many bugs to list here
v0.040
* 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)
v0.034
* 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.
v0.033
* Paths with special characters work.
* Better resource management.
v0.032
* Ability to set background color.
* Option to follow cursor.
* Some random fixes and changes.
v0.03a:
* Better resizing quality.
* Sources list (uses title formatting).
v0.02:
* 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.

Download:
v0.045 Binary
v0.045 Source


This post has been edited by rexy: Feb 3 2005, 07:45
Go to the top of the page
+Quote Post
 
Start new topic
Replies
rexy
post Nov 15 2004, 23:36
Post #2





Group: Members
Posts: 128
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.
*
[/quote]The upcoming revision of the UI extension API will allow this. For more information on this, please see the discussion about the ui_extension API in the dev forum.
*
[/quote]
Thanks. Will go check out that thread.

[quote=free,Nov 15 2004, 06:02 AM]
thx now it's correctly work for me
*
[/quote]
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]
[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
*
[/quote]
I wanted to report this too but my net was dead for a while crying.gif

Good job rexy, nice plugin!!! smile.gif
*
[/quote]
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.
(XP-SP2, P4-2.8GHz)
*
[/quote]
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! smile.gif

Though I've a similar request for foo_uie_albumart as I had for foo_uie_trackinfo tongue.gif. 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.
*
[/quote]
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.
*
[/quote]
I'll have to fix that host transfer thing. Where exactly can I get these helpers of yours? They sound helpful. wink.gif
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]
Feature request:
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.
*
[/quote]
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).
[/quote]

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.

+Reardon
*
[/quote]
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]
Thanks.

[quote=EZ-man,Nov 15 2004, 11:24 AM]

Here's a wrong word in default setting.

"deafult.jpg" should be "default.jpg"
*
[/quote]
rolleyes.gif Thanks. Will get fixed.

[quote=TheGreekGeek,Nov 15 2004, 01:18 PM]
hi,

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.

any ideas?

thx!
*
[/quote]
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]
Hi!

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!
Moon
*
[/quote]
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.
*
[/quote]
So I guess I am the only one having this happen?
*
[/quote]
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
Go to the top of the page
+Quote Post

Posts in this topic
- rexy   Foo_uie_albumart   Nov 14 2004, 01:35
- - Messer   What are the requirements? For now I'm getting...   Nov 14 2004, 01:57
- - rexy   Hmmm... Well, I compiled it with VS.NET 2003, but ...   Nov 14 2004, 02:05
- - musicmusic   QUOTE (rexy @ Nov 14 2004, 02:05 AM)Hmmm... W...   Nov 14 2004, 02:14
- - dano   yes it's MSVCP71.dll   Nov 14 2004, 02:16
|- - Messer   QUOTE (dano @ Nov 14 2004, 03:16 AM)yes it...   Nov 14 2004, 02:28
- - Tomacco_Boy   Great work rexy, working fine here and i was wonde...   Nov 14 2004, 02:24
- - longyan   High security alert!!! You are not per...   Nov 14 2004, 04:43
- - spaceships   any way to pop it up on the side if it has album a...   Nov 14 2004, 07:26
- - eliazu   hi man the plug don't work.. i had the proble...   Nov 14 2004, 10:52
|- - dano   QUOTE (eliazu @ Nov 14 2004, 10:52 AM)hi man ...   Nov 14 2004, 10:59
- - upNorth   Thanks for making such a plugin rexy Now the pr...   Nov 14 2004, 11:28
|- - NEMO7538   QUOTE (upNorth @ Nov 14 2004, 02:28 AM)Thanks...   Nov 14 2004, 11:59
|- - upNorth   QUOTE (NEMO7538 @ Nov 14 2004, 12:59 PM)QUOTE...   Nov 14 2004, 20:05
- - kalmark   QUOTE (NEMO7538 @ Nov 14 2004, 12:59 PM)I...   Nov 14 2004, 19:35
- - Skates   Any chance of adding support of reading album art ...   Nov 14 2004, 20:01
- - free   not worked for me MSVCP71.dll installed latest ver...   Nov 14 2004, 20:21
- - kalmark   The folder.jpg has to be called "folder.jpg...   Nov 14 2004, 20:34
- - rexy   Thanks for the compliments. Don't worry, this ...   Nov 14 2004, 20:51
- - spaceships   QUOTE Thanks for the compliments. Don't worry,...   Nov 14 2004, 21:03
- - rexy   Version updated. Look at first post.   Nov 14 2004, 21:20
- - TedFromAccounting   Working fine here so far. However... A few ideas...   Nov 14 2004, 21:20
- - The Link   Thanks for this update. Would it be possible to ma...   Nov 14 2004, 21:24
- - dano   rexy, i really hope for better resizing, currently...   Nov 14 2004, 21:40
- - free   his not work if filepath contained non-english cha...   Nov 14 2004, 21:42
- - upNorth   I think I found the cause of my problem. It's ...   Nov 14 2004, 21:56
- - NappyHead   The ability to use .jpg would be nive, since all m...   Nov 14 2004, 23:45
|- - Morgensonne   QUOTE (NappyHead @ Nov 14 2004, 02:45 PM)The ...   Nov 14 2004, 23:52
- - NappyHead   My bad, changed name of file to folder and it work...   Nov 14 2004, 23:55
- - nbv4   Awesome! You're making it harder and harde...   Nov 15 2004, 00:55
- - reardon   Have you thought about supporting the COVER tag if...   Nov 15 2004, 02:18
- - rexy   Version 0.03a added. @reardon: How exactly does i...   Nov 15 2004, 02:27
|- - foosion   QUOTE (rexy @ Nov 15 2004, 02:27 AM)Right now...   Nov 15 2004, 09:27
|- - reardon   QUOTE (rexy @ Nov 14 2004, 05:27 PM)Version 0...   Nov 15 2004, 18:05
- - badrad   Thanks! Just wanted to let you know this is ap...   Nov 15 2004, 03:57
- - hedge153   How about wildcard support in the 'Sources for...   Nov 15 2004, 05:34
- - nbv4   What would be cool is a way to have the plugin sea...   Nov 15 2004, 05:39
- - spaceships   hmm the download link doesn't seem to be worki...   Nov 15 2004, 05:45
- - rexy   Thanks, eveyone. Version updated. @nbv4: Already...   Nov 15 2004, 05:54
- - badrad   QUOTE (rexy @ Nov 14 2004, 08:54 PM)Version u...   Nov 15 2004, 06:10
- - Tomacco_Boy   Is there a possibility of adding a feature to scan...   Nov 15 2004, 06:51
- - free   not work if my path contain cyryllic(russian) char...   Nov 15 2004, 06:58
- - Klato   Absolutely no problems with this plugin. Awesome...   Nov 15 2004, 07:10
|- - Duble0Syx   Maybe I just need sleep or more skill, but if my c...   Nov 15 2004, 07:31
- - rexy   @Souble0Syx: If the cover art is in the track...   Nov 15 2004, 08:39
- - Tomacco_Boy   QUOTE @Tomacco_Boy: Probably won't get impleme...   Nov 15 2004, 08:51
- - badrad   Hey, recently I have been getting a dialog box wit...   Nov 15 2004, 08:58
|- - badrad   QUOTE (badrad @ Nov 14 2004, 11:58 PM)Hey, re...   Nov 15 2004, 22:48
- - syrek   I want to give in fixed with and hight and maybe a...   Nov 15 2004, 11:45
- - metal_termite   Yes, finally! Very nice! Pretty please ad...   Nov 15 2004, 11:51
- - upNorth   I really like the way the list of sources work. Bu...   Nov 15 2004, 12:10
- - Tomacco_Boy   Just thought this would compliment your work rexy....   Nov 15 2004, 12:44
|- - krazy   QUOTE (Tomacco_Boy @ Nov 15 2004, 07:44 PM)Ju...   Nov 15 2004, 18:50
|- - upNorth   QUOTE (krazy @ Nov 15 2004, 07:50 PM)I wasn...   Nov 15 2004, 19:06
|- - NEMO7538   Nice plugin ! Congratulations. Some users of ...   Nov 15 2004, 19:14
|- - Zurman   QUOTE (NEMO7538 @ Nov 15 2004, 10:14 AM)Nice ...   Nov 15 2004, 22:00
- - rexy   QUOTE (foosion @ Nov 15 2004, 12:27 AM)QUOTE ...   Nov 15 2004, 14:39
|- - foosion   QUOTE (rexy @ Nov 15 2004, 02:39 PM)As for au...   Nov 15 2004, 14:54
- - free   thx now it's correctly work for me   Nov 15 2004, 15:02
- - upNorth   @rexy: There is a bug in the sources list. From ti...   Nov 15 2004, 15:25
- - kalmark   QUOTE (upNorth @ Nov 15 2004, 04:25 PM)@rexy:...   Nov 15 2004, 15:45
- - EZ-man   I have put this plugin in components folder. When ...   Nov 15 2004, 15:45
|- - esa372   QUOTE (EZ-man @ Nov 15 2004, 07:45 AM)I ...   Nov 15 2004, 16:02
- - desigrid   Great UIE rexy! Though I've a similar re...   Nov 15 2004, 16:06
- - foosion   Problem 1 (crash): Transfering the album art panel...   Nov 15 2004, 16:07
- - koach   QUOTE (EZ-man @ Nov 15 2004, 11:45 PM)I ...   Nov 15 2004, 16:55
|- - sleepyboy   I found another method to solve this problem: pre...   Nov 15 2004, 17:07
- - upNorth   Feature request: Option to refresh image for the p...   Nov 15 2004, 17:18
- - EZ-man   Finally, I found a problem from component libaries...   Nov 15 2004, 17:58
- - EZ-man   Yeah! Finally I solve my problem! Now it w...   Nov 15 2004, 18:14
|- - Duble0Syx   I've run into a problem. If my covers are all...   Nov 15 2004, 18:34
- - EZ-man   Here's a wrong word in default setting. ...   Nov 15 2004, 20:24
- - TheGreekGeek   hi, I'm using foobar with columnsUI 1.2 beta ...   Nov 15 2004, 22:18
- - Moonwhaler   Hi! How about this crazy idea: Use some sort ...   Nov 15 2004, 22:19
|- - mazy   QUOTE (Moonwhaler @ Nov 15 2004, 10:19 PM)How...   Nov 16 2004, 00:37
- - kalmark   QUOTE (Moonwhaler @ Nov 15 2004, 11:19 PM)The...   Nov 15 2004, 22:36
|- - Duble0Syx   QUOTE (kalmark @ Nov 15 2004, 01:36 PM)(Sadly...   Nov 15 2004, 22:47
- - Saint   i haven't come across that error message yet.   Nov 15 2004, 23:36
- - rexy   The upcoming revision of the UI extension API will...   Nov 15 2004, 23:36
|- - TheGreekGeek   hei rexy, the panel isnt showing up. But as usual...   Nov 15 2004, 23:51
- - tourmalet   I am obviously being incredibly stupid, but I just...   Nov 16 2004, 00:33
- - foosion   rexy: http://www.stud.uni-karlsruhe.de/~uzbs/fb2k/...   Nov 16 2004, 00:34
- - rexy   Version updated. @foosion: thanks.   Nov 16 2004, 01:31
|- - badrad   QUOTE (rexy @ Nov 15 2004, 04:31 PM)Version u...   Nov 16 2004, 02:36
- - Olive   It keeps crashing at startup here QUOTE Illegal ...   Nov 16 2004, 02:52
|- - Duble0Syx   QUOTE (Olive @ Nov 15 2004, 05:52 PM)It keeps...   Nov 16 2004, 04:59
|- - Gemini   QUOTE (Duble0Syx @ Nov 15 2004, 07:59 PM)QUOT...   Nov 16 2004, 05:23
- - rexy   That's really weird... especially the blue scr...   Nov 16 2004, 05:37
|- - Duble0Syx   QUOTE (rexy @ Nov 15 2004, 08:37 PM)That...   Nov 16 2004, 06:08
- - EZ-man   when running with track info+quick tag+play counte...   Nov 16 2004, 08:08
|- - upNorth   QUOTE (EZ-man @ Nov 16 2004, 09:08 AM)wh...   Nov 16 2004, 08:42
- - EZ-man   But After I restart my computer, the problem was s...   Nov 16 2004, 10:27
- - free   add function: when double-click on cover open this...   Nov 16 2004, 23:13
|- - upNorth   QUOTE (free @ Nov 17 2004, 12:13 AM)add funct...   Nov 16 2004, 23:18
- - Overdo   ok having a problem with this plugin which i'm...   Nov 16 2004, 23:30
- - rexy   @EZ-man: Are you sure you have the latest build (I...   Nov 16 2004, 23:46
- - Overdo   haha thx! i wasn't right clicking at the c...   Nov 17 2004, 00:44
- - EZ-man   I have update to 0.34 ,but sometimes it shows the ...   Nov 17 2004, 04:00
- - rocketsauce   It seems that upgrading to the current version (v0...   Nov 17 2004, 05:38
- - Duble0Syx   It's always possible that it may use things wi...   Nov 17 2004, 06:10
8 Pages V   1 2 3 > » 


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 22nd October 2014 - 10:49