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:
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_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
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
C:\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
mopidypython2 $(which mopidy) local scan to import your mp3 collection to Mopidy.
Step 4: Run Mopidy.
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
mpc like so:
# Ubuntu sudo apt install mpc # Arch linux sudo pacman -S mpc # Mac brew install mpc
mpc toggle to start listening. You can pause by running
mpc toggle again, and you can skip the current track with