You surely already heard about the upcoming last.fm radio policies. This post by a last.fm staff member clarifies the upcoming changes, Soon only last.fm subscribers (curr. 3 € /m) will be able to use 3rd party clients (regardless of geographical location) for streaming radio.

Current status:

the old Last.fm radio api 1.5 is still active, but this might change any second and then this version of vgl will be useless. Berto has already merged the changes for the new last.fm api in current vlg svn trunk, so you might wanna have a look there.

----

Vagalume is a Last.fm client for Gnome and Maemo developed by Alberto Garcia. 

Some of its current features include: 

  • plays Last.fm radio streams (using protocol v1.5)
  • gnome libnotify & pulseaudio support
  • can be remote-controlled via dbus
  • scrobbles tracks to your Last.fm profile page
  • Supports different radio stations (personal, neighbors, loved tracks or any lastfm:// URL

The patch below adds this neat features to the Desktop Version of Vagalume:

(other platforms the original client runs on are not supported ! )

  • save the current song by a click on the download button
  • custom save format: mp3, ogg, m4a, flac... by customizable Gstreamer-pipelines
  • automatically  Id3-Tags mp3, ogg & m4a files
  • New Settings in Vagalume's "Last.FM - Settings - Download" Tab:

- set file Name / Directory save pattern
- set Output gst-pipeline (choose from oga, mp3, flac, m4a or wav)
- set duplicated file treatment options
- automatic download 

Please Note that the .oga gst-pipeline might cause problems with some older versions of the gstreamer oggmux library. Change the Output Format (Last.fm - Settings - Download) to a "mp3" or "aac" pipeline if your vagalume hangs on track changes.

 

Save-Song patch for Vagalume 0.7.1    [more]


Debian / Ubuntu Source Package  [Package Build | Binaries

vagalume_0.7.1-src.tar.gz

Size: 628 kb  MD5: 2df5f10414b012d422dd16a4b5c312b5


All credits go to the patch author Robert-Andre Mauchin



Build the patched Vagalume

Generic Instructions:  get the latest compatible vagalume source version from here unpack it, and apply the patch inside the vagalume-0.7*.orig folder with: 

patch -p1 < save-song-v*.patch

and build it as usual with 

./autogen.sh
./configure --prefix=/usr
make
make install  [as root]


Debian Binary Package Build: Ubuntu & other debian(s) can use the "prepared" source package vagalume_0.7*-src.tar.gz,. It has a simple patching system in the debian/rules file and will apply patches automatically during build. Unpack the Archive and from a terminal use:

sudo apt-get build-dep vagalume
sudo apt-get install debhelper fakeroot pkg-config libtool libglib2.0-dev libgnome-media-dev
dpkg-source -x vagalume_*.dsc

Now you can place additional patches for your Release in the subfolder debian/patches  (the save-song patch is already in there) and use:

fakeroot debian/rules binary

to build the customized vagalume.  For more patches see the file vagalume-0.7*/debian/contrib/README

Install the produced vagalume deb package as usual


F.A.Q.


Thanks to:

- FSF for the GPL
- Berto & all other hackers for writing vagalume
- Robert-Andre Mauchin for the great save-song patch
- Hank for many patches, bugfixing & testing
- uvok89 for the gentoo ebuild
- stefan315 for the intrepid 64-bit build 

 

Links:

- Vagalume Website
- Vagalume Maemo Project Site (bugtracker, websvn, user forum)
- German documentation: Vagalume ubuntuusers.de wiki article or this forum thread
- vagalume-devel mailing list Archive