diff --git a/README.md b/README.md new file mode 100644 index 0000000..e6cdab1 --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +# Navidrome - Mopidy Playlist Sync + +## Setup + +Make sure your user is added to the `docker` group and whatever group owns your Mopidy playlist directory: + +``` +$ ls -la /var/lib/mopidy/m3u + +total 24 +drwxrwxr-x 2 mopidy audio 4096 Feb 4 18:22 . +drwxr-xr-x 8 mopidy audio 4096 Oct 1 18:42 .. +``` + +``` +$ sudo usermod -aG docker tanner +$ sudo usermod -aG audio tanner +``` + +Configure `settings.py`. + +You can either use your Navridrome password, or get the Subsonic salt and hash from the Web UI login request. diff --git a/settings.py.example b/settings.py.example index 7f52a12..a2e8d78 100644 --- a/settings.py.example +++ b/settings.py.example @@ -1,6 +1,11 @@ -MOPIDY_PLAYLIST_DIR = '' +MOPIDY_PLAYLIST_DIR = '/var/lib/mopidy/m3u' + NAVIDROME_URL = '' + NAVIDROME_USER = '' + +# Set this one: NAVIDROME_PASSWORD = '' +# or these two: SUBSONIC_SALT = '' SUBSONIC_TOKEN = ''