jdeltoft / SqueezeBoxButton

This is two simple programs (one C, one Perl) to control my workbench Squeezebox (running on raspberry pi) from a single button

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


1. Install SqueezePlug from http://www.squeezeplug.eu/ (and make sure it's up to date)

      sudo apt-get update

2. Install cpanminus for PERL

      sudo apt-get install curl gcc-4.7
      sudo curl -L http://cpanmin.us | perl - --sudo App::cpanminus

3. Install Net::Telnet perl module

      sudo cpanm Net::Telnet

4. Install wiringPi from http://wiringpi.com/download-and-install/

5. Update $SBID (squeezebox mac address) in SqueezeBoxButtonCmds perl script, as well as $HOST to the IP of the
   Squeezebox server on your LAN.

6. For now I haven't made them daemons so just run them in the background each powerup of the Raspberry Pi

      shell_prompt> SqueezeBoxButton &
      shell_prompt> SqueezeBoxButtonCmds &




KeyPress Sequences:
==================
Single tap => Play/Pause Toggle
Double tap => Next Song
Triple tap => Prev Song
Long Press => Vol Down (repeats while held)
Double tap with long final press => Vol Up (repeats while held)
Triple tap with long final press => Cycle to next Favorite (skips mysqueezebox.com)

About

This is two simple programs (one C, one Perl) to control my workbench Squeezebox (running on raspberry pi) from a single button

License:GNU General Public License v2.0


Languages

Language:C 58.0%Language:Perl 41.1%Language:Makefile 0.8%