Best libSpotify player for the browser suitable for small devices. spop web is a web interface to spop (Spotify client daemon) as Advance Spotify Player for Raspberry Pi (alternative to Volumio or Rune Audio UI).
- Play queue with play, pause, next, and previous
- List and playback of your playlists
- Search tracks, albums, and artists via search or context menu
- Browse tracks, albums, and similar artists from an artists
- Play and append tracks or albums to the play queue
- Cover art on tracks and albums
- Mobile friendly e.g. long press on the cover starts playback of track or album
- Multipe device support: updates are shown on all connected devices
- Volume control (alsa only)
- Node >= 0.10
- Running spop daemon (e.g. via Volumio or RuneAudio)
Install node via your package manager. To install spop, please see its own project site.
If you run spop web on a Raspberry Pi it is also recommended to have an I2C DAC like HiFi Berry.
$ git clone https://github.com/xemle/spop-web.git
$ cd spop-web
$ npm install -g bower gulp-cli
$ npm install
$ bower install
$ gulp
spop web uses:
$ node index.js
Open your browser at localhost:3000
For further options see -h:
$ node index.js -h
Usage: node index.js
-d, --debug Turn debug mode on
-p, --port=ARG Port of spop-web server. Default is 3000
--spop-host=ARG Host of spop server. Default is localhost
--spop-port=ARG port of spop server. Default is 6602
--mixer=ARG Name of volume mixer (alsa only)
-h, --help Display this help
E.g. if spop daemon runs on host 192.168.1.65 start spop-web with
$ node index.js --spop-host 192.168.1.65
spop-web supports also volume control via alsa.
Enable volume control via mixer option and your preferred mixer
$ node index.js --mixer Master
By default spop-web uses minified versions of css and javascript files. If you are coding some new feature you can serve un-minified files via:
$ gulp dev
This will start the spop-web server at localhost:3000 with live reloading. Now you can modify server or client files and the server restarts or browser reloads automatically on file changes.
If you don't want to install Node / Bower / Gulp on your local machine, you can do all of that in a Docker container:
$ docker build -t spop-web .
$ docker run -ti -p 3000:3000 --net=host --rm spop-web
Then open your browser at localhost:3000.
Contributions are welcome. To do so, please:
- fork this project
- create a brunch for your contribution
- submit a pull request
libspotify is deprecated since May 2015 and projects like spop and spop-web are doomed. Lets hope that the libspotify functionality lives long! Read blog entry Do not use libspotify from Jonas Lundqvist.
We all hope that the deprecated libspotify will playback for a long time.
MIT
