[http://code.google.com/p/spotcommander/ SpotCommander] is an open source web-based remote control for the '''GNU/Linux version''' of [[Spotify]]. The application is written in [[PHP]] and HTML5, and thus optimized especially for mobile devices, like smartphones or tablets. It has a visual appealing, responsive and intuitive user interface.

+

[http://code.google.com/p/spotcommander/ SpotCommander] is a remote control for Spotify for Linux, optimized for mobile devices. It's based on HTML5 & PHP, works on any device with a modern browser, and it's free and open source.

+

+

SpotCommander is the most elegant, intuitive, feature-rich & universal remote control for Spotify, exclusive for Linux users!

== Features ==

== Features ==

−

The application offers amongst others the following features:

−

* Launch and quit Spotify

+

* Reponsive & intuitive user interface

+

* Launch/quit Spotify

* Now playing

* Now playing

* Control playback

* Control playback

−

* Change Spotify's volume

+

* Adjust volume

−

* Toggle shuffle and repeat

+

* Toggle shuffle & repeat

−

* Browse playlists, albums and starred items

+

* Playlists

−

* Search for tracks

+

* Starred items

+

* Search

+

* Browse playlists

+

* Browse albums

* Recently played

* Recently played

* Queue

* Queue

+

* Lyrics

+

* Start track radio

+

* Play artists

+

* Top lists

+

* Popular playlists

+

* New albums

+

* Genres

+

* Share to social networks

* Gestures

* Gestures

* Keyboard shortcuts

* Keyboard shortcuts

+

* Android app

+

* Fullscreen on iOS

+

* Automatic update checking

−

== Installation ==

+

== Option 1: Install from AUR ==

+

+

SpotCommander is [https://aur.archlinux.org/packages/spotcommander/ available in AUR], and can be installed [https://wiki.archlinux.org/index.php/AUR#Installing_packages like any other package from AUR]. The PKGBUILD automates the manual installation process described below.

+

+

{{Note|If you have any kind of web server software installed on your system already, you should install manually instead to avoid touching your current configuration.}}

+

+

== Option 2: Install manually ==

{{Note|This must be done as root.}}

{{Note|This must be done as root.}}

−

=== Preconditions ===

+

=== Install & configure required packages ===

−

==== Install Apache web server ====

−

* To be able to use SpotCommander, it is neccessary to have an Apache web server installed on the device, which should be controlled remotely later. Apache and PHP can be installed this way:

* Create a symlink, to be able to execute the SpotCommander [[daemon]] easily:

+

* Create symlink:

+

$ ln -fs $(pwd)/bin/spotcommander /usr/local/bin/spotcommander

$ ln -fs $(pwd)/bin/spotcommander /usr/local/bin/spotcommander

−

* Start the daemon. Run this command in a desktop terminal as the desktop user running Spotify:

+

* You must now start the daemon. Open up a '''desktop terminal''' (not SSH) as the '''desktop user''' running Spotify (not root), and run this command:

+

$ spotcommander start

$ spotcommander start

−

* If you have followed the instructions carefully, you should be able to open SpotCommander under ''http://localhost/spotcommander'' now.

+

By running it in the terminal the first time, you will be able to see if there are any errors.

−

=== Add daemon to startup (optional) ===

+

* You should add the daemon to your startup applications. As root, create the file {{ic|/etc/xdg/autostart/spotcommander.desktop}} and add:

−

Create the file {{ic|/etc/xdg/autostart/spotcommander.desktop}} and add:

[Desktop Entry]

[Desktop Entry]

Line 105:

Line 134:

Exec=spotcommander start

Exec=spotcommander start

−

=== Configuration (optional) ===

+

=== Try it ===

−

It is not necessary to configure anything, but in the config.php file there are some options you can change.

+

* You should now be able to control Spotify by going to:

−

== Usage ==

+

http://your.computers.ip.address.or.hostname/spotcommander

−

After you have set up the server successfully, every device in your local network should be able to access SpotCommander under the ip adress of the server. For example, if the server would have the ip 192.168.0.24:

If you cannot access the server, make sure, that apache is accessible by other hosts in the LAN. Check in {{ic|/etc/httpd/conf/httpd.conf}} to what hosts it is listening to. The line should look like this:

+

=== Configuration ===

−

Listen 80

+

It is not necessary to configure anything, but in the config.php file there are some options you can change.

== See also ==

== See also ==

−

* [http://code.google.com/p/spotcommander/ Official web site with more detailed information]

+

* [http://code.google.com/p/spotcommander/ Official website]

Revision as of 10:09, 2 June 2013

SpotCommander is a remote control for Spotify for Linux, optimized for mobile devices. It's based on HTML5 & PHP, works on any device with a modern browser, and it's free and open source.

SpotCommander is the most elegant, intuitive, feature-rich & universal remote control for Spotify, exclusive for Linux users!