“Everynight with my star friends, we eat caviar and drink champage”
A small Web interface to play, pause, change volume or skip the currently playing song in iTunes Mac, iTunes Windows, Spotify Mac, MPD, Rhythmbox, Amarok and XMMS2.
Make sure you have Ruby > 1.9 and Rubygems installed. You can then type in a terminal:
$ gem install sonice
Launch it with:
$ sonice
Then visit http://localhost:3000
You can launch sonice
with these environment options:
SONICE_CONTROLS=0
to disable on-screen controlsSONICE_VOTING=0
to disable votingSONICE_PORT=12345
to change port (default 3000)
Example:
$ SONICE_CONTROLS=0 SONICE_VOTING=0 sonice
If you don't want to type them all the time, add them to your .bashrc
:
export SONICE_CONTROLS=0
export SONICE_VOTING=0
Supports iTunes Mac, iTunes Windows, Spotify Mac, Rdio Mac, MPD, Rhythmbox, Amarok and XMMS2 thanks to anyplayer.
With bundler (gem install bundler
) and git, get the code and get started:
$ git clone https://github.com/sunny/so-nice
$ cd so-nice
$ bundle install
Launch the binary with:
$ ruby -Ilib bin/sonice
Feel free to help with the development by submitting issues and pull requests on github.
Licenced under the WTFPL, made by these awesome contributors.