Step 1: Create an account to get a Lagukan authentication token.

Step 2: Install Mopidy + extensions.

Follow the official installation instructions to make sure Mopidy's dependencies are installed. Then run the following:

Install Python 2.7 (Yes, I know Python 2 will be EOL soon. Mopidy is being ported to Python 3). When you get to the customization step, enable the "Add python.exe to Path" option:

Then install PyGObject for Windows. When it asks if you have a portable python installation, click No. For the python destination, select version 2.7:

On the library selection step, select the libraries that start with "Gst-" as well as Gstreamer:

On the following steps, just hit Next. After installation, run the following:

pippip2 install --force-reinstall https://github.com/jacobobryant/mopidy/archive/master.zip
 install https://github.com/jacobobryant/mopidy/archive/win.zip
pippip2 install Mopidy-Lagukan Mopidy-Iris

(Yes, I know Python 2 will be EOL soon. Mopidy is being ported to Python 3.)

Step 2.1: Optional: set up Spotify.

If you have a Spotify premium account, follow the installation instructions for Mopidy-Spotify, and then run this:

# On Ubuntu, you may need to install the libspotify-dev package first
pippip2 install https://github.com/jacobobryant/mopidy-spotify-web/archive/master.zip

Then, get a client_id and client_secret from mopidy.com/authenticate.

Step 2.22.1: Optional: set up Google Play Music.

Warning: I haven't verified yet that Google Music works on Windows.

Run the following:

pippip2 install https://github.com/jacobobryant/mopidy-gmusic/archive/dev.zip

Then run mopidypython2 $(which mopidy) gmusic login. Include the refresh token you get in your config in step 3.

Step 3: Configure Mopidy.

Create a text file at ~/.config/mopidy/mopidy.confC:\Users\YOUR_USERNAME\AppData\Local\mopidy\mopidy.conf with the following contents:

[local]
media_dir = /path/to/your/mp3/collection
media_dir = C:\path\to\your\mp3\collection

[lagukan]
token = 
# Optional [spotify] username = <your Spotify username> password = <your Spotify password> client_id = <your client_id> client_secret = <your client_secret> [spotify_web] client_id = <your client_id> client_secret = <your client_secret> # Also optional
[mpd] enabled = false # Optional
[gmusic] refresh_token = <your gmusic refresh token>

(Make sure the file name is mopidy.conf, not mopidy.conf.txt. Windows...)

Run mopidypython2 $(which mopidy) local scan to import your mp3 collection to Mopidy.

Step 4: Run Mopidy.

Run mopidypython2 $(which mopidy) to start the Mopidy server, then wait until you see the Starting GLib mainloop log message. Go to http://localhost:6680/iris/. On the Now Playing screen, you should see a list of songs. Hit the play button to start listening.

To actually play music, you'll need to install an MPD client. For example, you can install mpc like so:

# Ubuntu
sudo apt install mpc
# Arch linux
sudo pacman -S mpc
# Mac
brew install mpc

Then run mpc toggle to start listening. You can pause by running mpc toggle again, and you can skip the current track with mpc next.