Author Topic: Album and Cover Art Vis Plugin (xmp-coverart rev.8, source code)  (Read 290446 times)

Barna

  • Posts: 107
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
« Last Edit: 29 Aug '19 - 18:36 by Barna »

Dotpitch

  • Posts: 2878
I like it better this way, and it still works perfectly :).

raina

  • Posts: 1163
Nice, everything seems cleaner this way.

dypsis

  • Posts: 91
Working well here.  :)

Auren

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

Barna

  • Posts: 107
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

  • Posts: 144
There we go:
This version now loads images stored in MP4 (M4A) tracks.

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

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.

Yes, yes, yes! Ian, if you read this add support for defining chapters in m4a-tracks, please.
« Last Edit: 6 Aug '08 - 11:49 by Auren »

Zarggg

  • Posts: 1242
Ian might see it sooner if you post in the Feature Request thread. ;)

Barna

  • Posts: 107
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

  • Posts: 144
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

  • Posts: 107
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

  • Posts: 144
It's OK now. Thanks, great job.

BTW, are there any ways to donate you?

Pike84

  • Posts: 1401
[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

  • Posts: 144
Do you mean that donations are the wrong way to encourage developers?

Pike84

  • Posts: 1401
Uh, did you perhaps miss the text typed in red?

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

Auren

  • Posts: 144
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

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

Auren

  • Posts: 144
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  ::)
« Last Edit: 7 Aug '08 - 23:40 by Auren »

Barna

  • Posts: 107
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

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

Barna

  • Posts: 107
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

  • Posts: 36
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

  • Posts: 2878
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.
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

  • Posts: 36
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

  • Administrator
  • Posts: 26209
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*

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).