Skip to content

A simple script you can run to follow scrobbles from another account (say in an office environment)

Notifications You must be signed in to change notification settings

lhl/office-scrobbler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple script you can run to follow scrobbles from another account (say in an office environment)

Recently, I set up some spare hardware I had lying around (a Trim-Slice) to use as a low-power MPD device. So now there's a shared office music player. And I've set it up to scrobble to an office account.

But what about my own? Paul Lamere ran into this problem and wrote a solution and an article about it: http://musicmachinery.com/2010/06/11/metoo-a-scrobbler-for-the-room/ but never published the code. Boo-urns!

So, here's my version.  It has some sharp edges, but it does the trick.

Features:
* Mac OS X specific idle time support; since I'm running this on a desktop workstation instead of my laptop
* All settings stored in a handy dandy JSON file
* Supports Now Playing as well as recent tracks

Install:
* Requires python27 (json, subprocess.check_output) and pylast
* Copy settings.example to settings
* Requires an API Key, see http://www.last.fm/api/account
* Put in your crontab

About

A simple script you can run to follow scrobbles from another account (say in an office environment)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages