Mopidy (server and clients: Iris, Rompr + MariaDB) + Snapserver on docker-compose

miles d86dcb13db gitignore fix + removed snapserver/server.json 2 năm trước cách đây
config d86dcb13db gitignore fix + removed snapserver/server.json 2 năm trước cách đây
db_config cb0e4d4187 git init 2 năm trước cách đây
music cb0e4d4187 git init 2 năm trước cách đây
.env cb0e4d4187 git init 2 năm trước cách đây
.gitignore d86dcb13db gitignore fix + removed snapserver/server.json 2 năm trước cách đây
Dockerfile cb0e4d4187 git init 2 năm trước cách đây
LICENSE 0cc6f83eaa Initial commit 2 năm trước cách đây
README.md 87119d89a9 README.md: typo fixed + added credits project links + added mopidy-spotify/mopidy-soundcloud troubles info 2 năm trước cách đây
docker-compose.yaml cb0e4d4187 git init 2 năm trước cách đây

README.md

docker-mopidy

Mopidy (server and clients: Iris, Rompr + MariaDB) + Snapserver on docker-compose

Configure

  • Change .env file

  • Change ./config/mopidy/mopidy.conf (optional)

  • Put music into ./music/ directory

Run

  • Run with docker-compose up

  • Open localhost:80 for Rompr client and connect to Mopidy (Mopidy hostname = mopidy; MySQL hostname = mysql) or open localhost:6680/iris/ for Iris client

  • Inside Iris client you can use Snapclients features

  • Additional you can install standalone snapclient clients - more info: https://github.com/badaix/snapcast

Troubleshouting

  • [2022-07-14] mopidy-spotify does not work because of https://www.libhunt.com/posts/733092-spotify-has-shut-down-libspotify. The same with Mopidy-Soundcloud (AUTH_API is temporary disabled)

  • If Rompr does not start because MySQL error double check if exists inside ./db_config/mysql.cnf file:

    [mysqld]
    #mmi
    log_bin_trust_function_creators = true
    
  • If Mopidy does not work with Snapserver double check if exists indise ./config/mopidy/mopidy.conf:

    [audio]
    output = audioresample ! audioconvert ! audio/x-raw,rate=48000,channels=2,format=S16LE ! filesink location=/tmp/snapfifo
    

Credits

Thx to:

- https://mopidy.com/
- https://github.com/badaix/snapcast/releases/latest
- https://fatg3erman.github.io/RompR/