A simple Scrobbler API for .NET
LPFM Last.fm Scrobbler is a simple .NET API library for scrobbling to the Last.fm web service. It is designed for desktop, web and mobile applications that target the .NET 4 Framework. The library supports the Scrobble and Now Playing functionality of the
Last.fm API version 2.0.
Last.fm is a music taste aggregator for music fans from all over the world. It “scrobbles” the track plays from millions of users to help them share and discover music. The extensive
Last.fm API has enabled many third-party integrators to include Last.fm functionality into their mobile, desktop and web-based applications. It is to those integrators that this API is dedicated.
Note: LPFM is not affiliated with Last.fm in any way, apart from being
massive fans.
Sample Application
Download a Visual Studio 2010 C# Windows Form Project that demonstrates asynchronous scrobbling of tracks played by a Windows Media Player control.
*Requires Windows Media Player version 9 or greater to be installed on your PC, and .NET Framework 4.
PM> Install-Package Lpfm.LastFmScrobbler.dll
If you haven’t heard about the NuGet goodness yet,
let Hanselman tell you all about it.
Things you should know
- The LPFM Last.fm Scrobbler API is a Class Library DLL written in C# and targeting the Microsoft .NET 4 Framework (full profile)
- It is free and opensource software licensed under
The MIT License (MIT)
- The API wraps portions of the Last.fm webservice version 2.0
- Source includes Unit Test projects and XML documentation of all public classes and members
Supported API methods
LPFM
The LPFM Last.fm Scrobbler library is part of the LPFM project, radio station automation software for low power and pirate radio stations. The Scrobbler portion of LPFM is open-source and free, and more LPFM libraries will be open-source in the future.
LPFM is currently used by B-Side FM in Whakatane, New Zealand. If you are interested in our radio station automation software,
contact us.