PogoPlayer – webctl – the source switch

Finally, the input source switch allows a user to choose which audio source should be routed to the line-out device. For this I wrote a little web app, which can be controlled by any computer with a web browser on my LAN. It’s written with jQuery-mobile, so it works nicely on the iTouch.

webctl on iOS

The source code for this app is available on GitHub.This is the final piece needed to make the iTouch into a universal remote: it can switch between music sources, play audio with iTunes/AirPlay, control Squeezelite with iPeng or the Logitech Squeezebox app for iOS, and adjust the TV volume.

Other posts in this series:

  1. Introduction
  2. Debian Wheezy on the PogoPlug
  3. WiFi
  4. ALSA, UCA-202, squeezelite
  5. Source switch and volume controller app for mobile device (or any web browser)
  6. PogoPlayer – Known Issues and Annoyances

2 Responses to “PogoPlayer – webctl – the source switch”

- sevi

great job!
one question, how do you managed his to switch between the audio source?
I’m working on a similar project with a RPi and have alsa dmixer still not completely understood.is it possible that you post your /etc/asound.conf?
or you have written a script?

sorry for my bad english
THX

- daniel

@sevi

The answer to your question is described in the previous section:

http://pieces.openpolitics.com/2013/05/pogoplayer-alsa/

The link to the ALSA config file is in that article too. Here it is for your convenience:

https://github.com/millerdev/webctl/blob/master/conf/asound.conf

Leave a Reply