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
audioaficionado
I'm stumped. I must be missing something. I even uninstalled foobar and reinstalled it with freshly downloaded components and rebooted. Here's my config screens with components and Columns UI layout. Note that when I used older versions of foo_uie_albumart I at least had the art panel show up but there was no provision in layout to add a panel. Nothing like it shows in this thread or the wiki.

IPB Image
lextune
Right click a splitter/insert panels/panels/album art


A screenshot can be found here

smile.gif
audioaficionado
QUOTE(lextune @ Jun 25 2006, 19:43) *

Right click a splitter/insert panels/panels/album art
smile.gif
Wow! I finally got it rolleyes.gif

IPB Image

Thanx man for helping me out. cool.gif
Skates
I know this has been brought up before, but now that foobar2000 does not remove image data from an MP3 tag, is their a possibility of adding support for embedded album art?

TIA
gfngfgf
QUOTE(Skates @ Jul 8 2006, 22:48) *

I know this has been brought up before, but now that foobar2000 does not remove image data from an MP3 tag, is their a possibility of adding support for embedded album art?

TIA

There's always a possibility, but the question is, who's going to do it? I personally don't have any plans to add it as a feature.
Skates
QUOTE(gfngfgf @ Jul 9 2006, 00:39) *

There's always a possibility, but the question is, who's going to do it? I personally don't have any plans to add it as a feature.

That's completely understandable, hopefully someone else with coding knowledge could take a look at this and maybe add the support. I wish I could do it, but I have no programming knowledge.

Thanks for the reply!
keown
Using Foobar v0.9.2, albumart v0.2.1 and columns UI v0.1.3 beta 1v5!

I am having a big problem with the album art plugin which basically means I am unable to use it! It slows my foobar down that much its just impossible to use it....when loading tracks esp it can take up to 30s to actually flick to the track and display the info etc...

At times it can even make foobar hang.

ANy ideas anyone? Kinda desperate, one of the reasons I moved to Foobar was to have album art displayed and now I can't! sad.gif

Thanks
Raven.am0k
QUOTE(keown @ Jul 9 2006, 12:16) *

Using Foobar v0.9.2, albumart v0.2.1 and columns UI v0.1.3 beta 1v5!

I am having a big problem with the album art plugin which basically means I am unable to use it! It slows my foobar down that much its just impossible to use it....when loading tracks esp it can take up to 30s to actually flick to the track and display the info etc...

At times it can even make foobar hang.

ANy ideas anyone? Kinda desperate, one of the reasons I moved to Foobar was to have album art displayed and now I can't! sad.gif

Thanks


Maybe reinstall? delet foobar and install it again.
Or, if you havenīt done it allready, delet your albumart .dll, download it new and then put it again into the components directory, if then the problem still is there, iīm sorry that i couldnīt help you.
gfngfgf
Keown: Try disabling the fading transition. At least for me, that's the biggest resource-hog. What OS/processor are you using?
evo3
one other bug ive noticed, and i apologize if this has been brought up, but when i play a game (ie NFSMW), the album panel goes gray when i exit out of the game and i have to restart foobar.

again, sorry if this is known.
keown
QUOTE(Raven.am0k @ Jul 9 2006, 18:03) *

QUOTE(keown @ Jul 9 2006, 12:16) *

Using Foobar v0.9.2, albumart v0.2.1 and columns UI v0.1.3 beta 1v5!

I am having a big problem with the album art plugin which basically means I am unable to use it! It slows my foobar down that much its just impossible to use it....when loading tracks esp it can take up to 30s to actually flick to the track and display the info etc...

At times it can even make foobar hang.

ANy ideas anyone? Kinda desperate, one of the reasons I moved to Foobar was to have album art displayed and now I can't! sad.gif

Thanks


Maybe reinstall? delet foobar and install it again.
Or, if you havenīt done it allready, delet your albumart .dll, download it new and then put it again into the components directory, if then the problem still is there, iīm sorry that i couldnīt help you.



Thanks for the suggestions guys...

I tried the fresh install of Foobar and no luck. And I had tried replacing the .dll file recently to try and solve it also.

Also tried disabling the fading but again no help - it doesnt even seem to be just when changing tracks now, its like even when I am say for example just going into the album art preferences, the whole program just freezes up and stops responding for a bit.

On Windows XP with Athlon 64, 3500 Processor so should be no problem there right?
vlada
QUOTE(keown @ Jul 10 2006, 18:29) *

Thanks for the suggestions guys...

I tried the fresh install of Foobar and no luck. And I had tried replacing the .dll file recently to try and solve it also.

Also tried disabling the fading but again no help - it doesnt even seem to be just when changing tracks now, its like even when I am say for example just going into the album art preferences, the whole program just freezes up and stops responding for a bit.

On Windows XP with Athlon 64, 3500 Processor so should be no problem there right?


I think I have the same problem. If I for example filter something in "Browser" component, it freezes foobar2000 sometimes even for 1 minute. Sometimes fb2k freezes just by clicking on another song (not actually playing it). If I disable Album Art, all problems are gone.

My current workaround is disabling "follow cursor" option. Btw. I use version 0.1763 with Matroska support.
gfngfgf
QUOTE(vlada @ Jul 10 2006, 13:03) *

My current workaround is disabling "follow cursor" option. Btw. I use version 0.1763 with Matroska support.

Since I didn't develop that version (or at least, I didn't add Matroska support), I can't officially offer any support. The last version I released was 0.2.1. However, I'll assume for now that keown is using one of my versions, so this is something I can and should address. Could you both list what components you're using? (or just take a screenshot of "Preferences -> Components")

evo3: I'll see if I can recreate that bug with the demo version. I'll try to fix it, too, unless I get hooked on the game tongue.gif
keown
Yup I am using 0.2.1!

IPB Image

Sorry to be a pain, but I appreciate anything you come up with!

Its even stranger as I have foobar on an old laptop of mine and its fine with the album art! Although I am only using Foobar v0.9 on it... dry.gif
start78
Good job with the screenshot! huh.gif

Exact version of columns ui is hidden. But Album list panel isn't the latest so it may be possible that columns ui isn't, too...
keown
QUOTE(start78 @ Jul 12 2006, 06:43) *

Good job with the screenshot! huh.gif

Exact version of columns ui is hidden. But Album list panel isn't the latest so it may be possible that columns ui isn't, too...


Nope just checked, am using v0.1.3 beta 1v5!
vlada
I just reproduced the problem with the latest official Album Art Panel. I knew I tried it before, but I wasn't really sure. Sometimes just clicking on another song means 10-20s delay and my HDD becomes very active. But if I disable "follow cursor" and a song is playing (so the album art doesen't change) the problem dissapears. Well not completely, but doesen't happen so often. If I disable Album Art completely, I have no more delays.

As for request for info on my components - I remember there was plugin which could list them. But I can't find it, can you help me?
vlada
Finally here it is, Components versions viewer.


QUOTE
CPU: AMD Athlon™ [x86 Family 6 Model 6 Stepping 2]
Operating System: Microsoft Windows XP [version: 5.1.2600 Service Pack 2]
Installed RAM: 1024 MBytes
Free disk space on foobar2000 partition: 2683 MBytes
foobar2000 path: C:\Program Files\Multimedia\Audio\foobar2000\
Core version: foobar2000 v0.9.2
Build time: 17:54:58 on 07 June 2006

Active components (49):

foo_abx.dll v1.3 [07 June 2006] - ABX comparator
foo_ac3.dll v0.7 [23 March 2006] - AC3 decoder
foo_albumlist.dll v3.2.0 [07 June 2006] - Album List
foo_bitcompare.dll v1.0 [19 March 2006] - Binary comparator
foo_browser.dll v1.2.0b [Jun 14 2006 - 08:28:57] [14 June 2006] - Music Browser
foo_cdda.dll v2.1 [07 June 2006] - CD Audio decoder
foo_channel_mixer.dll v0.9.4 [12 April 2006] - Channel Mixer
foo_common.dll v0.1 [11 March 2006] - Common services
foo_converter.dll v1.0.1 [07 June 2006] - Converter
foo_cuesheet_creator.dll v0.4.5 [22 June 2006] - Cuesheet Creator
foo_dbsearch.dll v1.3.1 beta 11 [13 March 2006] - Database search
foo_dsp_continuator.dll v0.4.0 [11 April 2006] - Continuator
foo_dsp_std.dll v1.0 [07 June 2006] - Standard DSP array
foo_dsp_vlevel.dll v20060324.0 [24 March 2006] - VLevel
foo_dts.dll v0.1 [25 May 2006] - DTS decoder
foo_freedb2.dll vv0.5.1 [14 March 2006] - freedb tagger
foo_history.dll v0.2 [31 March 2006] - History
foo_input_matroska.dll v0.9.0.8 [10 May 2006] - Matroska Plugin
foo_input_shorten.dll v0.4.2a [11 March 2006] - Shorten decoder
foo_input_std.dll v1.0 [07 June 2006] - Standard input array
foo_input_std.dll v1.1.0 [07 June 2006] - FLAC decoder
foo_input_tta.dll v2.4.1 [14 April 2006] - TTA Audio Decoder (unofficial)
foo_lnk.dll v1.1 [11 March 2006] - Shell link resolver
foo_lyricsdb.dll v0.0.7 beta 3 [09 May 2006] - foo_lyricsdb
foo_masstag.dll v1.5 [07 June 2006] - Masstagger
foo_packet_decoder_ac3.dll v0.9 [30 April 2006] - ATSC A/52 (AC3) Packet Decoder
foo_packet_decoder_wavpack.dll v0.9.0 [10 May 2006] - WavPack Packet Decoder
foo_playcount.dll v1.9.2 [12 April 2006] - Play Count
foo_playlist_bind.dll v2.2 [06 April 2006] - Playlist Bind
foo_playlist_manager.dll v1.0 [13 March 2006] - Playlist Manager
foo_playlist_tree.dll v2.2.beta1 [Jun 16 2006 - 14:42:32] [16 June 2006] - Playlist Tree Panel
foo_prettypop.dll v1.2.2 [13 April 2006] - Pretty Popup
foo_random.dll v1.2.3 [13 March 2006] - Randomized playlist entry
foo_rgscan.dll v2.0.1 [07 June 2006] - ReplayGain Scanner
foo_tradersfriend.dll v0.6.1 [13 March 2006] - Live show tagger
foo_ui_columns.dll v0.1.3 beta 1v5 [29 April 2006] - Columns UI
foo_ui_std.dll v0.9acc [07 June 2006] - Default User Interface
foo_uie_albumart.dll v0.2.1 [21 June 2006] - Album Art Panel
foo_uie_albumlist.dll v0.2.1 beta 1 [20 March 2006] - Album list panel
foo_uie_explorer.dll v1.04.6 [23 March 2006] - Explorer Tree
foo_uie_lyrics.dll v0.3.0.0 [02 June 2006] - Lyric Show Panels
foo_uie_quicksearch.dll v2.0 [27 May 2006] - Quick Search Toolbar
foo_uie_tabs.dll v0.2.1 [07 July 2006] - Tabbed panel modifyed
foo_uie_trackinfo.dll v0.8 [03 May 2006] - Track info panel
foo_unpack.dll v1.0 [07 June 2006] - ZIP/GZIP reader
foo_unpack.dll v1.1 [07 June 2006] - RAR reader
foo_utils.dll v0.5.6 [13 March 2006] - Playlist tools
foo_version.dll v0.1 [15 July 2006] - Components versions viewer
foo_vis_projectM.dll v1.97.6.2 [16 April 2006] - projectM visualization


I'll ty a clear fb2k install with just a few components (Columns UI, Album Art and Browser if necessary) and let you know the results.
Moonwhaler
QUOTE
I just reproduced the problem with the latest official Album Art Panel. I knew I tried it before, but I wasn't really sure. Sometimes just clicking on another song means 10-20s delay and my HDD becomes very active. But if I disable "follow cursor" and a song is playing (so the album art doesen't change) the problem dissapears. Well not completely, but doesen't happen so often. If I disable Album Art completely, I have no more delays.


Exactly this is my problem, too - but even worse, since all my music is stored on a network server. That said, if I have "follow cursor" activated and try to select another song from the list I have to wait up to 30 seconds before foobar comes back to me again. With "AlbumArt" deactivated the problems will also vanish, so I think this is the main source of the problem. Here is my configuration:

QUOTE
CPU: Intel® Pentium® 4 CPU 3.00GHz [x86 Family 15 Model 4 Stepping 3]
Operating System: Microsoft Windows XP [version: 5.1.2600 Service Pack 2]
Installed RAM: 2048 MBytes
Free disk space on foobar2000 partition: 4009 MBytes
foobar2000 path: C:\Programme\foobar2000\
Core version: foobar2000 v0.9.2
Build time: 17:54:58 on 07 June 2006

Active components (34):

foo_abx.dll v1.3 [07 June 2006] - ABX comparator
foo_albumlist.dll v3.2.0 [07 June 2006] - Album List
foo_browser.dll v1.2.2c [Jul 6 2006 - 09:42:02] [06 July 2006] - Music Browser
foo_burninate.dll v2.0.1 [27 June 2006] - Audio CD Writer
foo_cdda.dll v2.1 [07 June 2006] - CD Audio decoder
foo_common.dll v0.1 [11 March 2006] - Common services
foo_converter.dll v1.0.1 [07 June 2006] - Converter
foo_dbsearch.dll v1.3.1 beta 11 [13 March 2006] - Database search
foo_dsp_std.dll v1.0 [07 June 2006] - Standard DSP array
foo_freedb2.dll vv0.5.1 [14 March 2006] - freedb tagger
foo_infobox.dll v2.0.3 [25 June 2006] - Special file info box
foo_input_shorten.dll v0.4.2a [11 March 2006] - Shorten decoder
foo_input_std.dll v1.0 [07 June 2006] - Standard input array
foo_input_std.dll v1.1.0 [07 June 2006] - FLAC decoder
foo_lnk.dll v1.1 [11 March 2006] - Shell link resolver
foo_masstag.dll v1.5 [07 June 2006] - Masstagger
foo_notaskbar.dll v0.1 [16 April 2006] - Taskbar Button Remover
foo_playlist_manager.dll v1.0 [13 March 2006] - Playlist Manager
foo_random.dll v1.2.3 [13 March 2006] - Randomized playlist entry
foo_rgscan.dll v2.0.1 [07 June 2006] - ReplayGain Scanner
foo_run.dll v0.3.2 [15 June 2006] - Run services
foo_tradersfriend.dll v0.6.1 [13 March 2006] - Live show tagger
foo_ui_columns.dll v0.1.3 beta 1v5 [29 April 2006] - Columns UI
foo_ui_std.dll v0.9acc [07 June 2006] - Default User Interface
foo_uie_albumart.dll v0.2.1 [21 June 2006] - Album Art Panel
foo_uie_albumlist.dll v0.2.1 beta 4 [28 April 2006] - Album list panel
foo_uie_lyrics.dll v0.3.0.0 [02 June 2006] - Lyric Show Panels
foo_uie_playlists_dropdown.dll v0.5.7.5 [09 June 2006] - Playlists Dropdown
foo_uie_quicksearch.dll v2.8f [20 June 2006] - Quick Search Toolbar
foo_uie_trackinfo.dll v0.8 [03 May 2006] - Track info panel
foo_unpack.dll v1.1 [07 June 2006] - RAR reader
foo_unpack.dll v1.0 [07 June 2006] - ZIP/GZIP reader
foo_utils.dll v0.5.7 [27 April 2006] - Playlist tools
foo_version.dll v0.1 [15 July 2006] - Components versions viewer
vlada
I just reproduced the problem with this configuration (everything set to default):

QUOTE
CPU: AMD Athlon™ [x86 Family 6 Model 6 Stepping 2]
Operating System: Microsoft Windows XP [version: 5.1.2600 Service Pack 2]
Installed RAM: 1024 MBytes
Free disk space on foobar2000 partition: 2533 MBytes
foobar2000 path: c:\Program Files\Multimedia\Audio\fb2k\
Core version: foobar2000 v0.9.3 beta 1
Build time: 21:20:42 on 11 July 2006

Active components (7):

foo_albumlist.dll v3.2.0 [11 July 2006] - Album List
foo_input_std.dll v1.1.0 [11 July 2006] - FLAC decoder
foo_input_std.dll v1.0 [11 July 2006] - Standard input array
foo_ui_columns.dll v0.1.3 beta 1v5 [29 April 2006] - Columns UI
foo_ui_std.dll v0.9acc [11 July 2006] - Default User Interface
foo_uie_albumart.dll v0.2.1 [21 June 2006] - Album Art Panel
foo_version.dll v0.1 [15 July 2006] - Components versions viewer


But it doesen't happen so often. It might depend on playlist size, I don't know. I'll try to explain more deeply what happens. If I click on different songs, the album art usually changes with a few seconds delay. That's O.K., my machine is rather slow. But sometimes (I would say randomly) fb2k hangs for quite a long time (20-30 seconds I'd guess) and I hear a lot of HDD activity. I think it might be a bug when Album Art searches for images on defined paths.
foosion
QUOTE(vlada @ Jul 13 2006, 21:42) *
I just reproduced the problem with the latest official Album Art Panel. I knew I tried it before, but I wasn't really sure. Sometimes just clicking on another song means 10-20s delay and my HDD becomes very active. But if I disable "follow cursor" and a song is playing (so the album art doesen't change) the problem dissapears. Well not completely, but doesen't happen so often. If I disable Album Art completely, I have no more delays.
This lag would be foo_uie_albumart searching for images. Unfortunately, it does so in a way that blocks the user interface. The problem is especially pronounced, if your sources list ist large, has many wildcards, or references files on a slow drive (for example a network drive).
vlada
foosion> But my files are on a local drive (quite fast 200 GB SATA drive). I left all the source paths on default, so there were only 3 directories where to look for an album art. And furthermore, it hangs up randomly. So sometimes the ablum art is displayed within a few (2-3) seconds, but sometimes it takes up to 30 seconds. So I'm not really satisfied with your explanation, I think the problem must be elsewhere.
tool++
Is your music all in one big directory?

Try manually adding the sources, initially, just use this one:

"$replace(%path%,%filename_ext%,)*"

and have your album art in the same directory as an album.
Moonwhaler
QUOTE(foosion @ Jul 16 2006, 13:01) *

This lag would be foo_uie_albumart searching for images. Unfortunately, it does so in a way that blocks the user interface. The problem is especially pronounced, if your sources list ist large, has many wildcards, or references files on a slow drive (for example a network drive).


This is definately not the cause, since older versions (at least the original AlbumArt panel) didn't produced this kind of odd behaviour. My sources list is exactly two entries "large" looking for "no cover art" and "cover art", the second one in the manner "folder.jpg", so I think this rules out the sources-idea... blink.gif
Another thing is that my network is based on a linux NFS share system which is blazing fast with all other things than album art. wink.gif

What I will try now is to delete all references of album art, reinstall it using standard sources. I will report back if this has helped...
Chaser
I also experienced this behaviour. Will examine this beeing back in my "studying-place".
gfngfgf
QUOTE(Moonwhaler @ Jul 16 2006, 06:44) *

This is definately not the cause, since older versions (at least the original AlbumArt panel) didn't produced this kind of odd behaviour.

Do you remember which version this slowdown started happening with?

I was actually leaning towards foosion's explanation, too. I haven't had a chance to check myself, but before I add support for getting images over HTTP, I will definitely change so the image search doesn't lock up the interface.
Moonwhaler
QUOTE(gfngfgf @ Jul 16 2006, 19:05) *

QUOTE(Moonwhaler @ Jul 16 2006, 06:44) *

This is definately not the cause, since older versions (at least the original AlbumArt panel) didn't produced this kind of odd behaviour.

Do you remember which version this slowdown started happening with?

I was actually leaning towards foosion's explanation, too. I haven't had a chance to check myself, but before I add support for getting images over HTTP, I will definitely change so the image search doesn't lock up the interface.


I've recently switched from foobar 0.83 to 0.93 Beta. Since 0.83 is not able to display the DLL version I just uploaded it. Maybe you are able to extract the version information from it? I just overlooked something: It's version 0.048. I'm sorry I don't have more information for you...

>> foo_uie_albumart.dll <<
tool++
Using albumart makes games lose FPS. (makes CS1.6 run at about 30fps?)

Why.
Moonwhaler
Hi there,

I just thought about that: Just release some sort of debug DLL version that would at least spill out debug info which function / procedure took how long into a text file. This way we could trigger this "bug" pretty easily. At least we would know where and when it hangs up...

Just a quick thought... rolleyes.gif
- Chris
gfngfgf
QUOTE(Moonwhaler @ Jul 17 2006, 05:10) *

Hi there,

I just thought about that: Just release some sort of debug DLL version that would at least spill out debug info which function / procedure took how long into a text file. This way we could trigger this "bug" pretty easily. At least we would know where and when it hangs up...

Just a quick thought... rolleyes.gif
- Chris

Yeah, I started to work on something like that, but I think I'd better first address the issue foosion brought up, because it's going to come up again if I, for instance, add support for album art from over the web. I don't think anyone would want their foobar2000 to lock up because some server is down (but this is already happening to people, kind of). Plus, I think this will help with at least some problems that people have been having.
Moonwhaler
QUOTE(gfngfgf @ Jul 18 2006, 06:59) *

QUOTE(Moonwhaler @ Jul 17 2006, 05:10) *

Hi there,

I just thought about that: Just release some sort of debug DLL version that would at least spill out debug info which function / procedure took how long into a text file. This way we could trigger this "bug" pretty easily. At least we would know where and when it hangs up...

Just a quick thought... rolleyes.gif
- Chris

Yeah, I started to work on something like that, but I think I'd better first address the issue foosion brought up, because it's going to come up again if I, for instance, add support for album art from over the web. I don't think anyone would want their foobar2000 to lock up because some server is down (but this is already happening to people, kind of). Plus, I think this will help with at least some problems that people have been having.


This would make AlbumArt usable for me again (although the root of the problem is not yet fixed). Starting some background threads wouldn't bother me at least. smile.gif Thank you!
david_dl
I've been doing a bit of experimentation and have added support for rendering using OpenGL. This should be considered highly experimental. It supports all the features of the GDI+ renderer (borders, colours etc) but should be a lot faster, since its completely hardware accelerated. This has allowed me to add 'fading' between images of different sizes/aspect ratios (narrower/wider), where the image will grow or shrink with animation, an effect I quite like.

Also there is a basic '3D view' mode, which you should probably not enable because it doesnt let you do much more than move the art around in 3D space using the mouse (ctrl and shift cause it to move in different ways.) Hopefully this can be developed by me or someone else into a virtual CD case or something shiny that looks nice biggrin.gif .

Anyway, please do not consider this an updated version of the plugin, it could be unstable, and I've only tested it on my ageing graphics card (Radeon 8500). You will loose your albumart settings on upgrading to this version.

Download here
Source code

This may or may not work very well depending on your graphics card. There is an 'OpenGL Info' button on the Display tab [edit: of the albumart configuration dialog]. The line "Max texture size (standard/extended):" is important, if the second value is 0, then the OpenGL extension I'm using isn't avaliable on your card. This shouldn't be the case on any reasonable graphics card made in the last 5 years or so, if it is the case for you, please post the entire contents of the OpenGL Info window in a codebox here.

The line "Vendor:" is also important, if it's not the manufacturer of your graphics card, or even worse, it contains the word 'Microsoft', you probably don't have the right drivers installed and performance could be very, very poor.
4nt1
w00t w00t sounds awesome downloading to try now cant wait
Masahiko
Works for me (GeForce 6600GT), 3D Mode is OK

- Resizing quality in OpenGL is not very good even in Highest Mode
- In 3D Mode, an option to reset position would be nice

Thanks for this major update smile.gif
Chaser
Follow cursor doesn't seem to work for me!
Thank you for your efforts!

edit: sorry - it works...
4nt1
tested with GF 6800 GT and working fine...

is it also possible to make the cd cover size larger when in 3d mode.. it only seems to take up half the screen...

i also agree about the resizing quality... but understandably its probably different in open gl...

i like the transitions... very cool...

keep it up no bugs so far
david_dl
QUOTE(Masahiko @ Jul 23 2006, 21:50) *
Works for me (GeForce 6600GT), 3D Mode is OK

- Resizing quality in OpenGL is not very good even in Highest Mode

This is a problem with doing the resizing in hardware. I've noticed the reduction in quality is a lot more noticable with large scans, art of a size closer to that of your album-art pane is scaled more nicely. The advantage of doing scaling this was is that it is done by the graphics card, not the CPU, and is done very very quickly. However, if you are after quality, you should use GDI+ mode since the end result is basically the same (in 2D mode).

I will investigate ways to increase the quality, but keep in mind that this is only really to test the suitabilty of OpenGL for this sort of thing.

My plans for 3D mode (if I have the time) are of a nature where resizing quality shouldn't be as noticable as in 2D, but it still is a problem that needs to be solved if possible.

QUOTE(Masahiko @ Jul 23 2006, 21:50) *

- In 3D Mode, an option to reset position would be nice

Right-click->Refresh should accomplish this.


QUOTE(4nt1 @ Jul 23 2006, 23:58) *
tested with GF 6800 GT and working fine...

is it also possible to make the cd cover size larger when in 3d mode.. it only seems to take up half the screen...

Scrolling the mousewheel should zoom the image. But remember this is just for testing purposes.

Since you have a high-end nvidia card, could you post the output from the 'OpenGL Info' button (found on the Display tab of the preferences dialog) in a codebox so I can see which extensions it supports?
Blitzmeister
I have a Radeon X800 Pro & it works as advertised so far smile.gif
CODE
Version: 2.0.5819 WinXP Release
Vendor: ATI Technologies Inc.
Renderer: RADEON X800 PRO x86/MMX/3DNow!/SSE2
Max texture size (standard/extended): 2048/2048
Extensions:
GL_ARB_multitexture
GL_EXT_texture_env_add
GL_EXT_compiled_vertex_array
GL_S3_s3tc
GL_ARB_depth_texture
GL_ARB_fragment_program
GL_ARB_fragment_program_shadow
GL_ARB_fragment_shader
GL_ARB_multisample
GL_ARB_occlusion_query
GL_ARB_point_parameters
GL_ARB_point_sprite
GL_ARB_shader_objects
GL_ARB_shading_language_100
GL_ARB_shadow
GL_ARB_shadow_ambient
GL_ARB_texture_border_clamp
GL_ARB_texture_compression
GL_ARB_texture_cube_map
GL_ARB_texture_env_add
GL_ARB_texture_env_combine
GL_ARB_texture_env_crossbar
GL_ARB_texture_env_dot3
GL_ARB_texture_mirrored_repeat
GL_ARB_transpose_matrix
GL_ARB_vertex_blend
GL_ARB_vertex_buffer_object
GL_ARB_vertex_program
GL_ARB_vertex_shader
GL_ARB_window_pos
GL_ARB_draw_buffers
GL_ATI_draw_buffers
GL_ATI_element_array
GL_ATI_envmap_bumpmap
GL_ATI_fragment_shader
GL_ATI_map_object_buffer
GL_ATI_separate_stencil
GL_ATI_texture_compression_3dc
GL_ATI_texture_env_combine3
GL_ATI_texture_float
GL_ATI_texture_mirror_once
GL_ATI_vertex_array_object
GL_ATI_vertex_attrib_array_object
GL_ATI_vertex_streams
GL_ATIX_texture_env_combine3
GL_ATIX_texture_env_route
GL_ATIX_vertex_shader_output_point_size
GL_EXT_abgr
GL_EXT_bgra
GL_EXT_blend_color
GL_EXT_blend_func_separate
GL_EXT_blend_minmax
GL_EXT_blend_subtract
GL_EXT_clip_volume_hint
GL_EXT_draw_range_elements
GL_EXT_fog_coord
GL_EXT_framebuffer_object
GL_EXT_multi_draw_arrays
GL_EXT_packed_pixels
GL_EXT_point_parameters
GL_EXT_rescale_normal
GL_EXT_secondary_color
GL_EXT_separate_specular_color
GL_EXT_shadow_funcs
GL_EXT_stencil_wrap
GL_EXT_texgen_reflection
GL_EXT_texture3D
GL_EXT_texture_compression_s3tc
GL_EXT_texture_cube_map
GL_EXT_texture_edge_clamp
GL_EXT_texture_env_combine
GL_EXT_texture_env_dot3
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_lod_bias
GL_EXT_texture_mirror_clamp
GL_EXT_texture_object
GL_EXT_texture_rectangle
GL_EXT_vertex_array
GL_EXT_vertex_shader
GL_HP_occlusion_test
GL_NV_blend_square
GL_NV_occlusion_query
GL_NV_texgen_reflection
GL_SGI_color_matrix
GL_SGIS_generate_mipmap
GL_SGIS_multitexture
GL_SGIS_texture_border_clamp
GL_SGIS_texture_edge_clamp
GL_SGIS_texture_lod
GL_SUN_multi_draw_arrays
GL_WIN_swap_hint
WGL_EXT_extensions_string
WGL_EXT_swap_control
tool++
QUOTE(david_dl @ Jul 23 2006, 07:14) *

I've been doing a bit of experimentation and have added support for rendering using OpenGL. This should be considered highly experimental. It supports all the features of the GDI+ renderer (borders, colours etc) but should be a lot faster, since its completely hardware accelerated. This has allowed me to add 'fading' between images of different sizes/aspect ratios (narrower/wider), where the image will grow or shrink with animation, an effect I quite like.

Also there is a basic '3D view' mode, which you should probably not enable because it doesnt let you do much more than move the art around in 3D space using the mouse (ctrl and shift cause it to move in different ways.) Hopefully this can be developed by me or someone else into a virtual CD case or something shiny that looks nice biggrin.gif .

Anyway, please do not consider this an updated version of the plugin, it could be unstable, and I've only tested it on my ageing graphics card (Radeon 8500). You will loose your albumart settings on upgrading to this version.

Download here
Source code

This may or may not work very well depending on your graphics card. There is an 'OpenGL Info' button on the Display tab [edit: of the albumart configuration dialog]. The line "Max texture size (standard/extended):" is important, if the second value is 0, then the OpenGL extension I'm using isn't avaliable on your card. This shouldn't be the case on any reasonable graphics card made in the last 5 years or so, if it is the case for you, please post the entire contents of the OpenGL Info window in a codebox here.

The line "Vendor:" is also important, if it's not the manufacturer of your graphics card, or even worse, it contains the word 'Microsoft', you probably don't have the right drivers installed and performance could be very, very poor.



AWESOME, this may be a fix to my FPS issue - wil report back and see if it fixes things.


E: Ok it severly helps FPS issues, but there's the slight issue of the fact that this is a mod of the original art plugin, rather than the MSN one that had more functionality. Perhaps these could be combined?

I have an FX5600XT sad.gif


PS code a bloom shader xD
jonesses
Hi, I'm having a problem.

When I startup foobar, I get this: "OpenGL initialisation failed. Switching to GDI+ mode."

And the OpenGLInfo button just tells me this "Error retrieving information"

I've got a Nvidia Geforce 4, 440 Go Mobile or something similar in this Notebook. Is there something essential missing??

thanks, Jonesses
Skates
Awesome work...

My only request would be to add album art tag reading support! wink.gif

But in all seriousness it's really great, keep up the good work!!
Stuart60611
Dito on the great job. Would love display of various random pictures with wild card support.
vlada
I think this mod fixed my problem with fb2k randomly hang ups. But I have to test it for a longer time. Anyway what I would appriciate is an import/export feature so I won't have to manually set up my Album Art pathes each time I upgrade to a new version which is not backward compatible.
walla
I testet your plugin with my ATI x800XL and it works great. Just kind of a anti-alising-option would be great and, what other people already mentioned, a better quality when resizing big images.

But now I've a bigger problem. I wanted to switch back to the old albumart-plugin and so deleted your dll and put back the old one. After (trying) to start foobar the following two notices appeared:

IPB Image IPB Image
Yotsuya
Thank you for your continuing efforts developing this popular component for foobar. I installed the OpenGL version and am overall quite pleased with the transitions and performance.

There seems to be a problem displaying transparent png files with the OpenGL renderer. All my normal jpg,gif,etc album covers display fine however I use transparent png's for my no-cover, online radio, etc. The new version does not display the transparent png file properly and instead shows some strange blocks similar to what I've seen when ImageShack tries to create a thumbnail of a transparent png. If I disable the OpenGL option in preferences the images display fine.
4nt1
David_dl, here is the information you requested for my GF 6800GT output

Hope it helps smile.gif

CODE

Version: 2.0.1
Vendor: NVIDIA Corporation
Renderer: GeForce 6800 GT/AGP/SSE2
Max texture size (standard/extended): 4096/4096
Extensions:
GL_ARB_color_buffer_float
GL_ARB_depth_texture
GL_ARB_draw_buffers
GL_ARB_fragment_program
GL_ARB_fragment_program_shadow
GL_ARB_fragment_shader
GL_ARB_half_float_pixel
GL_ARB_imaging
GL_ARB_multisample
GL_ARB_multitexture
GL_ARB_occlusion_query
GL_ARB_pixel_buffer_object
GL_ARB_point_parameters
GL_ARB_point_sprite
GL_ARB_shadow
GL_ARB_shader_objects
GL_ARB_shading_language_100
GL_ARB_texture_border_clamp
GL_ARB_texture_compression
GL_ARB_texture_cube_map
GL_ARB_texture_env_add
GL_ARB_texture_env_combine
GL_ARB_texture_env_dot3
GL_ARB_texture_float
GL_ARB_texture_mirrored_repeat
GL_ARB_texture_non_power_of_two
GL_ARB_texture_rectangle
GL_ARB_transpose_matrix
GL_ARB_vertex_buffer_object
GL_ARB_vertex_program
GL_ARB_vertex_shader
GL_ARB_window_pos
GL_ATI_draw_buffers
GL_ATI_texture_float
GL_ATI_texture_mirror_once
GL_S3_s3tc
GL_EXT_texture_env_add
GL_EXT_abgr
GL_EXT_bgra
GL_EXT_blend_color
GL_EXT_blend_equation_separate
GL_EXT_blend_func_separate
GL_EXT_blend_minmax
GL_EXT_blend_subtract
GL_EXT_compiled_vertex_array
GL_EXT_Cg_shader
GL_EXT_depth_bounds_test
GL_EXT_draw_range_elements
GL_EXT_fog_coord
GL_EXT_framebuffer_object
GL_EXT_multi_draw_arrays
GL_EXT_packed_depth_stencil
GL_EXT_packed_pixels
GL_EXT_pixel_buffer_object
GL_EXT_point_parameters
GL_EXT_rescale_normal
GL_EXT_secondary_color
GL_EXT_separate_specular_color
GL_EXT_shadow_funcs
GL_EXT_stencil_two_side
GL_EXT_stencil_wrap
GL_EXT_texture3D
GL_EXT_texture_compression_s3tc
GL_EXT_texture_cube_map
GL_EXT_texture_edge_clamp
GL_EXT_texture_env_combine
GL_EXT_texture_env_dot3
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_lod
GL_EXT_texture_lod_bias
GL_EXT_texture_mirror_clamp
GL_EXT_texture_object
GL_EXT_texture_sRGB
GL_EXT_timer_query
GL_EXT_vertex_array
GL_HP_occlusion_test
GL_IBM_rasterpos_clip
GL_IBM_texture_mirrored_repeat
GL_KTX_buffer_region
GL_NV_blend_square
GL_NV_copy_depth_to_color
GL_NV_depth_clamp
GL_NV_fence
GL_NV_float_buffer
GL_NV_fog_distance
GL_NV_fragment_program
GL_NV_fragment_program_option
GL_NV_fragment_program2
GL_NV_half_float
GL_NV_light_max_exponent
GL_NV_multisample_filter_hint
GL_NV_occlusion_query
GL_NV_packed_depth_stencil
GL_NV_pixel_data_range
GL_NV_point_sprite
GL_NV_primitive_restart
GL_NV_register_combiners
GL_NV_register_combiners2
GL_NV_texgen_reflection
GL_NV_texture_compression_vtc
GL_NV_texture_env_combine4
GL_NV_texture_expand_normal
GL_NV_texture_rectangle
GL_NV_texture_shader
GL_NV_texture_shader2
GL_NV_texture_shader3
GL_NV_vertex_array_range
GL_NV_vertex_array_range2
GL_NV_vertex_program
GL_NV_vertex_program1_1
GL_NV_vertex_program2
GL_NV_vertex_program2_option
GL_NV_vertex_program3
GL_NVX_conditional_render
GL_SGIS_generate_mipmap
GL_SGIS_texture_lod
GL_SGIX_depth_texture
GL_SGIX_shadow
GL_SUN_slice_accum
GL_WIN_swap_hint
WGL_EXT_swap_control
steamfish81
Firstly, thanx for the efforts...smile.gif

The plugin doesn't work with transparent PNGs in OpenGL mode...

IPB Image

BTW, I'm using ATI X700.
gfngfgf
QUOTE(walla @ Jul 23 2006, 14:33) *

But now I've a bigger problem. I wanted to switch back to the old albumart-plugin and so deleted your dll and put back the old one. After (trying) to start foobar the following two notices appeared:

From a quick glance at the code, it looks like this error is from the part of the code that reads the config, which I wrote. I didn't really consider the case where people might revert to an older version. The only way you'll be able to revert to an older version is to rename "foo_uie_albumart.dll" to something like "foo_uie_albumart.dll.bak", start foobar2000, erase foo_uie_albumart's settings when it asks, then reinstall album art. Unfortunately, you'll lose your settings this way.

edit: shoot! That method doesn't work. I'll check it out right now...

BTW, to all those pasting your "OpenGL Info", please use [ codebox ][ /codebox ] tags instead of [ code ].
gfngfgf
Okay, for those of you who want to switch back and forth between david_dl's version and mine, here's a beta build:

http://cherans.bol.ucla.edu/foo_uie_albumart021b.zip

If you change from a newer version to this beta build, your preferences should be reset. It's really just a quick solution, though, which might not even work with all the variants of this plugin that are out there (if they use the same GUID as my version, they better be updating the VERSION_CURRENT constant).
Anas
Thanks for the new version, but it seems the edge style option is not working anymore when I enable OpenGL. If OpenGL is disabled it works fine.
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.