Album and Cover Art Vis Plugin (xmp-coverart rev.8, source code)

Started by Barna, 5 Aug '08 - 06:26

Barna

Hi All

Here's the other half of the previous multi-functionality plugin winamp_svp.
This visualisation plugin displays cover and album art for the currently playing song. It either shows covers integrated into the audio tag (images in ID3 and FLAC tags supported) or images stored in the same directory as the song or in a fixed default directory. The plugin supports the PNG and JPEG image formats. There is also an auto download feature which downloads covers from amazon (and optionally saves them automatically).



Download: https://github.com/schellingb/xmp-coverart/releases/latest
Read the included xmp-coverart.txt for all features, notes and version history.

If you're missing the other half, the Winamp visualisation plugin wrapper, check the topic for xmp-wavis.

Of course, as always, feedback of any kind would be more than appreciated.

Greetings from Switzerland,
Bernhard

Edit: 0.9.1 added, loading images in MP4 (M4A) tracks
Edit: 0.9.2 added, more advanced MP4 support
Edit: 0.9.3 added, better support for PNGs with alpha channels
Edit: rev.4 added, support for Win9x \o/
Edit: rev.5 added, support for MP4 meta header data cover. 3 cover image source services besides Amazon \o/
Edit: rev.6 added, fixed signed amazon cover requests, always prefer in-file embedded cover images
Edit: rev.7 added, fixed loading of default pictures on Win7/8
Edit: rev.8 added, open source and moved to GitHub

Dotpitch




Auren

Could you please somehow add support for displaying covers of episodes in .m4a music podcasts as described here?

Barna

There we go:
Download: http://www.nukular.ch/xmp-coverart_0.9.1.zip

This version now loads images stored in MP4 (M4A) tracks.
At least I hope that is what you meant :-) If you mean support for the sheet timed titles for the auto cover downloader, I guess we need to wait for support for them in XMPlay itself.

Auren

Quote from: Barna on  5 Aug '08 - 21:53There we go:
This version now loads images stored in MP4 (M4A) tracks.

That's better than nothing :) Thanks a lot for your job :)

Quote from: Barna on  5 Aug '08 - 21:53If you mean support for the sheet timed titles for the auto cover downloader, I guess we need to wait for support for them in XMPlay itself.

Yes, yes, yes! Ian, if you read this add support for defining chapters in m4a-tracks, please.

Zarggg


Barna

Here's another update:
Download: http://www.nukular.ch/xmp-coverart_0.9.2.zip

Now loads all covers and even reads out timing information for them. But it doesn't time the cover displaying to the play position. So you need either to click through them manually or use the time fixed cover cycling option to see them all.


Auren

Thank you, Barna, it works almost OK :)

Here's what I got with the latest "Beatport Burners": http://i38.tinypic.com/dxoetd.png

And here's a podcast itself for you to download: http://www.mediafire.com/?omo3dhxxk8n

Barna

Ah, as the covers 3,4,5 and 11,12,13,14 are showing exactly the same lengths it re-used the same timing for multiple frames... MP4 seems to just make everything as complex as possible :-)

Please re-download and try again:
Download: http://www.nukular.ch/xmp-coverart_0.9.2.zip
(yes still 0.9.2, hope it isn't confusing)

Auren


Pike84

[language police nitpickery]
I wouldn't try and go donating anyone... I mean, sure, he/she could make a great gift, but the one being donated might not be so thrilled about it ::)
[/language police nitpickery]

Auren


Pike84

Uh, did you perhaps miss the text typed in red?

Donations are fine, but my comment wasn't about them, but grammar ;).

Auren

I'm not perfect in English... yet. So, sorry about my grammar errors. I re-read your post about five times but still can't understand where exactly I erred :(

Jace

In practise you were asking where/how you could donate Barna to somebody. Not how/where to donate money to Barna. ;)

Auren

Oh, I see now. Of course "to donate to smbd." I forgot about preposition...

Jace, thanks for pointing out my mistake :)

And sorry for making some flood  ::)

Barna

Hah, all these messages and confusion and I'm fine even without donations.
If you want to donate me to some place, I guess I'd be able accept a plane ticket to Japan :-)

Thanks for the offer anyway!

Gabs

Always getting an error message: "The cover feature requires a newer XMPlay version". But i'm using version 3.4.2.... What now?

Barna

Doesn't it say "The cover feature requires a newer XMPlay version. Please download the newest release from un4seen.com and/or use download the program from http://www.un4seen.com/stuff/xmplay.exe" ?
Even though I just saw that it's pretty much super broken English, go ahead with the download link there :-)
The EXE only releases in the stuff directory are the newest builds and the cover plugin requires a feature only recently added into XMPlay versions after the 3.4.2 release.

Bjossi

This is a great new feature for XMPlay, very good job!
One of the few album art features that work for ogg vorbis, albeit not in a traditional way. That is the main format I use for my music so this is a dream come true. ;)

By the way, check this link out.
http://www.hydrogenaudio.org/forums/index.php?showtopic=48386
Ogg vorbis doesn't support album art, but the effect can be "faked". It would be very neat if XMPlay could read that base64 data and display the picture with the help of your plugin. :)

Another thing I had in mind is if you could support a secondary album name method. I'm not a big fan of duplicates so you can imagine I don't like having a bunch of Cover.jpg's scattered about. What I had in mind is to direct XMPlay to a folder, like C:\XMPlay\AlbumArt, and in there you put all the album art files named after the album. For example, you put Crash Test 02.jpg into XMPlay\AlbumArt, this means all files that have their album tag set to Crash Test 02 will display that picture.

This could be a drop-down setting for this plugin. Like selecting between Traditional and Advanced cover art file management.

Dotpitch

Quote from: Bjossi on 17 Aug '08 - 20:30What I had in mind is to direct XMPlay to a folder, like C:\XMPlay\AlbumArt, and in there you put all the album art files named after the album.
Middle click the visual, go to Auto-download > 'Set default cover directory' and select your folder :). It won't download anything if there's already a matching file.

Barna: if the middle click-menu is opened and the Info window is closed with a shortcut, XMPlay vanishes.

Bjossi

Thanks for the tip! It works wonderfully, exactly what I had in mind!

I have noticed something odd, but I'm not sure if it is connected with this plugin; I can no longer see number of frames/pages in a song. It was being displayed prior to installing this. Cycling through skins doesn't have any effect, the frames/pages is gone on all of them. *scratches head*

Ian @ un4seen

Quote from: Bjossi on 17 Aug '08 - 21:33I have noticed something odd, but I'm not sure if it is connected with this plugin; I can no longer see number of frames/pages in a song. It was being displayed prior to installing this. Cycling through skins doesn't have any effect, the frames/pages is gone on all of them. *scratches head*

The orders/frames/pages info was actually removed in one of the XMPlay "stuff" updates, for this reason...

   www.un4seen.com/forum/?topic=6977.msg56641#msg56641

I'm not 100% decided on that, so it may still reappear. I may also put the frames/pages information in the "General" info page (where the "orders" is already shown for MODs).