Search Over 18,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Latest Spotify Activity

A simple widget that displays your Spotify activity on your site. Powered by Spotify's built-in 'Last.fm Scrobble' functionality.

A simple widget that displays your Spotify activity on your site. Powered by Spotify's built-in 'Last.fm Scrobble' functionality.

Once setup, the songs you play on your Spotify app are instantly viewable on your site for your users to see! Each line displays the song's artist, song title & how long it's been since you started listening to it. If a song is still playing it will display "Currently Playing" instead of displaying the time since it was played.  

Easy to Setup

This plugin requires no extra software to be installed on the device you're playing music from. Once you activate it on WordPress and enter your Last.fm username, anything you play will be displayed via the widget.  

It's Lightweight!

Although this plugin is ~5kb in size, only ~2kb is used on the front-end to display your recent activity. The remaining code is used to register the plugin & create/process the widget options. Translation? This is a very small script and won't even dent your load time.  

This plugin uses Spotify's 'Last.fm Scrobbling'

Because Spotify does not currently have an API to see your latest activity, this plugin uses Spotify's "Last.fm Scrobbling" feature as a workaround. This means a Last.fm account is required for it to work. If you don't have a Last.fm account, have no fear, as creating one takes approx. 15 seconds and it's free!  

Demo

See a demo of what the widget look's like to users, here or on the 'Screenshots' tab. See what the widget's settings look like, on the 'Screenshots' tab as well.

Instructions

  1. If you don't have one already, Sign-up for a Last.fm account.
  2. In your Spotify app's preferences, enable last.fm scrobbling & enter your last.fm login info
  3. In your WordPress admin area, under "Appearance" > "Widgets" area, drag & drop the "Latest Spotify Activity" widget to the desired sidebar location
  4. In the "Lastest Spotify Activity" widget settings, enter your last.fm user name and choose how many songs to display. Don't forget to press save!
  5. You're done! Get back to listening to music!

Support

Questions? Bugs? Suggestions? E-mail support@justindocanto.com or tweet @justindocanto and I'll get back to you as soon as possible.

Author Justin DoCanto
Profile
Contributors justindocanto
Tags activity, ago, lastfm, latest, play, scrobbling, spotify, time, widget
  1. latest-spotify-activity screenshot 1

    An example of what the plugin looks like. You can style it anyway you'd like!

  2. latest-spotify-activity screenshot 2

    This is what the settings look like within the widget.

  1. Install or Upload the plugin via the WordPress Admin 'Plugins' administration area. Don't forget to activate the plugin!
  2. The widget should now be available for use via 'Appearance' → 'Widgets'

0.1.2

  • Added ability to enter your own "Display Title" incase you didn't want to use "Latest Spotify Activity".
  • Re-wrote the plugin details with brand-new screenshots & FAQ's for the WordPress.org page
  • Fixed bug where "Currently Playing" song would occasional display timestamp of "1 seconds ago"

0.1.1

  • Skipped due to error

0.1

  • Initial Release
  • Powered by Last.fm scrobbling
  • Allows input of last.fm username and number of items to display
  • Outputs each song title and "time ago"

Can I style the widget output?

Absolutely! The widget area will have an id of "latest-spotify-activity". You can style the inner html by adding styles specific to the ID like '#latest-spotify-activity h3', '#latest-spotify-activity p' & '#latest-spotify-activity abbr'. This plugin will inherit your previously existing widget styling if you don't specify any specific to the widget.

Does it auto-scroll line in facebook?

No. There is no javascript called or integrated with this plugin whatsoever, in order to keep resource usage as low as possible. This means it does not auto-populate new data like facebook does. This widget is intended to simply allow somebody to view your latest activity at the time of opening your page/post. Each time you switch/open/reload pages, the widget shows your most recent Spotify activity.

Will it display new song data even if my pages having caching turned on?

This depends on how in-depth your caching is. If you're caching everything, even HTML, it's failing approx 1:10 times. No page caching = 100% success rate. I will work on a solution for people who are caching their html, in a future version.

Questions? Bugs? Suggestions? E-mail support@justindocanto.com or tweet @justindocanto and I'll get back to you as soon as possible.

Share  
Download
Version 0.1.2

Requires WordPress version: 3.0 or higher

Compatible up to: 3.3.2

Last Updated 27 Dec 2011

Date Added: 26 Dec 2011

Plugin Homepage

Evaluation
star1
star2
star3
star4
star5

4 stars
5 ratings
2,386 downloads

Compatibility

Not Enough Data

Reports:
Works: 2
Broken: 0