AlbumPhoto-XMMS

Karamba & Superkaramba

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

1
5 .0
Description:

A simple karamba theme that checks xmms for the currently playing album, downloads the photo from amazon.com, and displays the picture on the desktop.

It only requires a single line in the .theme file, and should fit in well with just about any existing theme - in the screenshot it's shown above the excellent GlassPlayer.

This is more of a proof of concept than anything else. On it's own it is rather plain, so feel free to incorporate it into any of your existing karamba applets.

Documentation: The only interesting option is the size of the photo, which is the argument to the perlscript in the .theme file.

The album photos are cached in your home directory at .albumart. If you have many albums, this could get huge, though each picture is only around 20k, so with 100 albums you're only burning 2.4 megs.
If people are finding this a problem, email me and I'll adjust the script to make the cached pictures smaller. Resizing according to the size parameter is done on the fly, so don't worry about multiple copies of the same album picture being stored.

NOTE:
Calling a perlscript is an expensive operation, because of the JIT ing. The speedup is to have xmms call the script every time the song changes using the songchange.so plugin, and just have the picture load from ~/.albumart/current.png, updating every 10000 ms or so.

Requires:
XMMS:
xmms-ctrl

PERL:
MP3::Tag
Image::Imlib2, which in turn requires Imlib2 (http://freshmeat.net/projects/imlib2/)
Last changelog:

15 years ago

Version 0.2:
- Sped up performance considerably by caching name of song.
- Eliminated the "download random album if artistname is known" bug

Be the first to comment

15 years ago

Version 0.2:
- Sped up performance considerably by caching name of song.
- Eliminated the "download random album if artistname is known" bug

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
AyatollahJones
Jan 25 2010
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
updated Apr 29 2005
added Apr 28 2005
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1