playomatic

Playomatic is a simple command line program for controlling the last.fm radio station. There's no fancy GUI, but most commands can be sent to playomatic by touching dotfiles in your home directory. This allows you bind them to spare key-combinations in your window manager so that you don't have to give the focus to the player window in order to skip tracks, etc.

Getting started

  • If you haven't already got an audioscrobbler account, sign yourself up at www.audioscrobbler.com
  • Download the above file, and install it somewhere in your $PATH.
  • Ensure that the dependencies are installed.
  • Create a file called ".playomaticrc" in your home directory, with the following contents:
    username = your_last.fm_username
    password = your_last.fm_password
    
  • Then run playomatic - you should see output something like the following, and within a second or two, last.fm will start playing:
    menawethan:~$ playomatic
    Playomatic 0.3.14
    http://moses.last.fm/last.mp3?Session=xxxxxxxxxxxxxxxxxxxxx
    High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
    Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
    Uses code from various people. See 'README' for more!
    THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
    
    No track info yet...
    
    Directory: http://moses.last.fm/
    Playing MPEG stream from
    last.mp3?Session=xxxxxxxxxxxxxxx ...
    MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo
    
    Station: jtjm (profile)
    Bob Dylan - Like a rolling stone
        from Highway 61 Revisited
    
      0:15 /   8:56                
    
  • run "playomatic help" to view the man page, for instructions on how to skip tracks, change station, etc.

Man Page

Authors

The first version of playomatic was written by Chris Lightfoot. I've done all the recent work on it, and Chris will consequently deny all responsibility for any bugs that might remain, so please send your bug reports to me, Julian Midgley (jtjm@xenoclast.org).

Bug reports, comments, criticisms, suggestions, etc. ...

... are very welcome and should be sent to jtjm@xenoclast.org.
Copyright (C) 2004 Julian T. J. Midgley
wash