voyeur.rb

Path: voyeur.rb
Last Update: Thu Aug 21 17:54:46 -0600 2008

Voyeur — display the current song from your MPD server via Growl

Author

Eric A Wollesen <ericw at kill dash 0 dot com>

License

Copyright 2008 Eric A Wollesen

 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

Dependencies

Voyeur requires the following gems:

Growl Notifier
growlnotifier.rubyforge.org/
librmpd
librmpd.rubyforge.org/
daemons
daemons.rubyforge.org/

These should also be avaialble via: $ gem install <gem name>

Quick Start

To get started, call the voyeur script that was provided, passing it the start option, like so:

 $ ./voyeur start

That should do it. To stop, run:

 $ ./voyeur stop

Sending a HUP signal to the process will display the current track or status.

Required files

rubygems   Growl   librmpd  

[Validate]