Small Web interface to control iTunes, Spotify, Rdio, MPD, Rhythmbox, Amarok and XMMS2. ♫
Ruby JavaScript HTML CSS
Failed to load latest commit information.
bin Check code with Rubocop Jul 22, 2014
lib Show connecting message if connecting May 24, 2015
.gitignore Turned sonice into a Gem Dec 18, 2013
.rubocop.yml Check code with Rubocop Jul 22, 2014
CHANGELOG.md v2.1.2 Nov 3, 2014
Gemfile Turned sonice into a Gem Dec 18, 2013
Gemfile.lock
README.md Ruby requirements in README. See #16 Jan 14, 2014
Rakefile Fix rake development dependency Aug 11, 2014
config.ru Turned sonice into a Gem Dec 18, 2013
sonice.gemspec Update dependency to latest anyplayer version May 24, 2015

README.md

So Nice ♫

Gem Version

“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.

Screenshot

Install

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

Configuration

You can launch sonice with these environment options:

  • SONICE_CONTROLS=0 to disable on-screen controls
  • SONICE_VOTING=0 to disable voting
  • SONICE_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

Players

Supports iTunes Mac, iTunes Windows, Spotify Mac, Rdio Mac, MPD, Rhythmbox, Amarok and XMMS2 thanks to anyplayer.

Development Setup

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

Contribute

Feel free to help with the development by submitting issues and pull requests on github.

Licenced under the WTFPL, made by these awesome contributors.