[vlc-devel] [GCI] last.fm access module

Jakub Wieczorek fawek at fawek.net
Sat Jan 1 02:05:02 CET 2011


As a GCI task I've been working on an access module for last.fm radio
stations. It's now reached the stage of being usable and I'd like to
gather some feedback.

The code is browsable here:
and clonable from here:

The branch currently requires the libcurl library. That's because I
didn't want to reinvent the wheel and use any lower-level network
concept, in addition the http access module wasn't suitable for this
case due to not supporting POST. If this additional dependency is not
desired, changing the HTTP backend is a matter of modifying one
function, so that's not a big burden.

With this module, tuning in to a last.fm station is a matter of:
vlc lastfm://globaltags/country
vlc lastfm://artist/u2/similarartists
vlc lastfm://user/last.hq/personal

For that to work, one needs to set their last.fm credentials in the
Audioscrobbler configuration. Moreover, last.fm stations are only
available for subscribers.

Best regards,
Jakub Wieczorek

More information about the vlc-devel mailing list