For help installing, email contact@m.lagukan.com.
Run these commands in the terminal:
curl -O https://lagukan.com/install-lagukan.sh
chmod +x install-lagukan.sh
./install-lagukan.sh
This script will install dependencies using brew
, apt
or pacman
, and it will install Mopidy and Lagukan to a Python virtual environment.
If you're already a Mopidy user, see mopidy-lagukan instead.
Step 1: Install Mopidy
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 https://github.com/jacobobryant/mopidy/archive/win.zip
Step 2: Install plugins
Install the Lagukan plugin:
pippip2 install Mopidy-Lagukan
Optional: set up Google Play Music
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 C:\Users\YOUR_USERNAME\AppData\Local\mopidy\mopidy.conf
with the following contents:
[mpd]
enabled = false
# If you want local playback
[local]
media_dir = C:\path\to\your\mp3\collection
# If you want Google Play Music
[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. A browser window for Lagukan will open automatically.
Note: Lagukan can only add songs to the queue automatically while the browser window is open, even though music will keep playing temporarily if you close the window.