Hi 

Here's the beginnings of an explanation of how it fits together. 

This is a tale of integrating three components on Raspbian.  

1.  *Squeezelite* - This is the player.  I installed on raspbian using
Gerrelt's excellent tutorial located 'here'
(http://www.gerrelt.nl/RaspberryPi/wordpress/tutorial-installing-squeezelite-player-on-raspbian/)

2. *Jivelite* - the controller application. I followed Triode's
instructions in this 'post'
(http://forums.slimdevices.com/showthread.php?98156-Announce-JiveLite-cut-down-squeezebox-control-application&p=738544&viewfull=1#post738544)
of the jivelite discussion thread.

At this point you have a player and a control app.  If you're running
the pi connected to a display then running Jivelite from a window on the
desktop will start the application. You can control from an attached 
keyboard, using the keys described in this 'post'
(http://forums.slimdevices.com/showthread.php?98156-Announce-JiveLite-cut-down-squeezebox-control-application&p=777202&viewfull=1#post777202)

Gerrelt's tutorial describes how to set up jivelite to start
automatically. As you know once it's configured it'll appear as player
on the server webpage.  

Jivelite is more tricky - it seems to rely on the console display. So on
the pi with the lcd screen I enabled autologin, booted into the console
and added the following to  the autologin user's .profile  to allow
autostart.  I'm sure there are other methods...


Code:
--------------------
    if [ $(tty) == /dev/tty1 ]; then
  sudo gizmod &
  
  sudo cpulimit --ex=gizmod --limit 10   &
  
  ./jivelite/bin/jivelite
  fi
  
--------------------


By contrast on a headless model B+, I added the following to allow vnc
access to jivelite. This lets you control jivelite via a tablet using
VNC.  


Code:
--------------------
    if [ $(tty) == /dev/tty1 ]; then
  
  sudo rm /tmp/.X99-lock &
  Xvfb -screen 0 800x480x16 -ac &
  export DISPLAY=:0
  x11vnc  -nocursor  -usepw  -display :0 -many -bg -forever
  ./jivelite/bin/jivelite &
  
  fi
  
--------------------
.

3. *Gizmod*  is the third component. It takes commands from devices and
passes them to applications. Once built, it's scriptable via python. 
I'm working on a post listing the steps required to build it and will
add this to this post once complete.


------------------------------------------------------------------------
San's Profile: http://forums.slimdevices.com/member.php?userid=1422
View this thread: http://forums.slimdevices.com/showthread.php?t=103051

_______________________________________________
diy mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/diy

Reply via email to