dQuille wrote:Does this plugin pull the default album art that the app is using (i.e. can it pull embedded art if that's what foobar is using for the currently playing track)?
Yes (although I have yet to add support for foobar2k). In the case of Winamp, for example, the plugin tries the following:
- Check for embedded art in audio file
- Check for %album%.jpg/cover.jpg/folder.jpg (in same directory as audio file)
- Download album art from Last.fm or Amazon
- Use default album art (specified by the DefaultArtwork= option)
The process will likely be similar with fooobar2k.
poiru wrote:
Yes (although I have yet to add support for foobar2k). In the case of Winamp, for example, the plugin tries the following:
- Check for embedded art in audio file
- Check for %album%.jpg/cover.jpg/folder.jpg (in same directory as audio file)
- Download album art from Last.fm or Amazon
- Use default album art (specified by the DefaultArtwork= option)
The process will likely be similar with fooobar2k.
Great! I've been using a customized skin based on the foo_httpcontrol method of pulling the info, which works ok but has problems with embedded art. "CD Art Display" is a standalone app I've also used that is great for displaying this kind of info but it also doesn't support embedded art. Sounds like this plugin will solve that issue I have and I'm sure your dedicated plugin will be nice and fast at pulling the data.
I'd also recommend if you haven't done it already that your component has a way to return the directory of the currently playing song - that way users can set up a slideshow meter to slideshow all of the art they have in a particular artist's directory if they like. I've done that in the past by customizing the foo_httpcontrol method and it works well.
After a long wait, I finally have something to show. Grab the alpha version from http://poiru.net/np090.zip.
Note: You must be using Rainmeter 2.1 beta. Also, you must open Skin.ini and set MediaPlayer= on line 12 to one of the following (haven't implemented auto-detect yet):
- Spotify (partial support only)
- WMP
- iTunes
- Winamp
Note 2: This is not the final version. There is still work left to do, but the essential bits should work. Do not distribute the .dll with your own skin -- bad things (crashes) can happen.
The example skin covers it pretty well, I think. There are several things that have not yet been implemented (e.g. setting volume), so this is really only a pre-release version.
Result should resemble:
Let me know how it works
Implementation details for those interested:
- The album art cache is at %TEMP%\Rainmeter-Cache
Winamp:
- Track info is read directly from file (I haven't tested with audio files other than MP3)
- Cover art is determined in the following order:
1) Cache
2) Embedded art (if found, it's moved into the cache)
3) %album%.jpg, cover.jpg, and folder.jpg (in the folder of the audio file)
iTunes:
- Track info and cover art obtained through iTunes interface (if found, cover art is stored in cache)
WMP:
- Track info obtained through WMP interface
- Cover art is determined in the following order:
1) "AlbumArt_GUID_Large.jpg" (in the folder of the audio file, GUID is a unique identifier)
2) Cache
2) Embedded art (if found, it's moved into the cache)
Spotify: (limited support)
- Track/artist obtained through the title of the Spotify window
- Cover art is downloaded from Amazon (may or may not work depending on the track) and stored in cache
Well, First off, my windows wouldn't let me run the skin, (Closed Rainmeter and refused to let me open it) until I set MediaPlayer=XXX in the skin.ini
SO in case anyone is having problems, try setting that first. Now I'll go play with it for a bit and see what's what.
I can't even tell you how long I've been waiting for something like this for Winamp. Did not want to download CAD or Foobar as I love my Winamp.
Thank you thank you.
EDIT: Hopefully this isn't jumping the gun as this is an Alpha release but I figured I would throw in what I see.
1.(Using the play button to pause. Not sure if it was meant to but it does pause and resume the track...) Pausing the music and restarting it causes all info to clear, including artwork. While paused the progress resets to zero. Resuming playback will pick up the progress where it left off but only current progress will show, not even total song length or percentage returns.
2. Clicking next or previous will cause the skin to display ALL info once again. This is after playback is resumed from being paused which caused all info to be cleared.
Waldensamkeit wrote:EDIT: Hopefully this isn't jumping the gun as this is an Alpha release but I figured I would throw in what I see.
Not at all -- much thanks for your input. The play button is actually a "Play/Pause" button. I'll rename it (as well as add dedicated commands for Play and Pause).
The other issues will be fixed for next release.
Waldensamkeit wrote:Well, First off, my windows wouldn't let me run the skin, (Closed Rainmeter and refused to let me open it) until I set MediaPlayer=XXX in the skin.ini
SO in case anyone is having problems, try setting that first. Now I'll go play with it for a bit and see what's what
Be VERY specific with what you ask for.
The more specific you are, the higher the quality of support you receive.
Do not just copy and paste what I put in examples and come back saying it doesn't work.
It does work, but I purposely left blanks that you need to fill for your specific needs.