User Tools

Spotisub - sync Spotify with Navidrome & Lidar

https://github.com/blastbeng/spotisub

useradd -d /data/daemons/spotisub -m spotisub -g media

create Spotify app: https://developer.spotify.com/dashboard redirect url: http://127.0.0.1:8080/

docker-compose.yml
name: spotisub
services:
  spotisub:
    container_name: spotisub
    user: "0:0"
    environment:
      - TZ=Europe/Rome
      - SPOTIPY_CLIENT_ID=<< secret>>
      - SPOTIPY_CLIENT_SECRET=<<secret>>
      - SPOTIPY_REDIRECT_URI=http://127.0.0.1:8080/
      - SUBSONIC_API_HOST=https://navidrome.mydomain.com
      - SUBSONIC_API_BASE_URL=/
      - SUBSONIC_API_PORT=443
      - SUBSONIC_API_USER=<<navidrome user>>
      - SUBSONIC_API_PASS=<<navidrome password>>
      - LIDARR_ENABLED=0
      - LIDARR_IP=127.0.0.1
      - LIDARR_PORT=8686
      - LIDARR_USE_SSL=1
      - LIDARR_BASE_API_PATH=/lidarr
      - LIDARR_TOKEN=<<lidarr token>>
      - SPOTDL_ENABLED=0
      - SPOTDL_OUT_FORMAT="/music/{artist}/{artists} - {album} ({year}) - {track-number} - {title}.{output-ext}"
      - PLAYLIST_PREFIX="ss | "
      - LOGIN_DISABLED=1
      - APPLICATION_ROOT=spotisub
    image: blastbeng/spotisub:dev #latest
    restart: always
    volumes:
      - /data/daemons/spotisub/cache:/home/user/spotisub/cache
#      - "/data/Media/music-temp:/music"
    ports:
      - "5811:5183"
    networks:
      - spotisub-net
networks:
  spotisub-net: {}

mkdir cache

First run: podman composedocker compose up -d podman exec -it spotisub ./first_run.sh podman compose down

FOLLOW INSTRUCTIONS: copy & paste the url to vrowser, then the full reply URL (even if it's error) to the comman dline.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also, you acknowledge that you have read and understand our Privacy Policy. If you do not agree, please leave the website.

More information