| Path: | voyeur.rb |
| Last Update: | Thu Aug 21 17:54:46 -0600 2008 |
Voyeur — display the current song from your MPD server via Growl
Eric A Wollesen <ericw at kill dash 0 dot com>
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
Voyeur requires the following gems:
These should also be avaialble via: $ gem install <gem name>
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.