MPD playlist & pathing issue
First off, this is such a cool project, thank you!
Secondly, I was trying to get this setup with mpd and docker etc. I have it downloading fine but for some reason the resulting MPD playlist isn't formatted correctly?
Example of working path in m3u:
explo/Weekly-Exploration-2025-Week47/davina_mccall-Wet_Leg.opus
Example of Explo writing out same file:
/explo/Weekly-Exploration-2025-Week47/davina_mccall-Wet_Leg.opus
Not really sure if this is an mpd version issue (I am using an older version of MPD - 0.24.6).
Hi!
Explo appends DOIWNLOAD_DIR and the tracks path together, I assume you have set the DOWNLOAD_PATH variable to /explo?
can you provide your docker-compose path mapping?
services:
explo:
image: ghcr.io/lumepart/explo:latest
restart: unless-stopped
container_name: explo
env_file: stack.env
volumes:
- /mnt/Config/mpd/explo.env:/opt/explo/.env
- /mnt/Music/explo:/explo # has to be in the same path you have your music system pointed to (it's recommended to put explo under a subfolder)
- $PLAYLIST_DIR:$PLAYLIST_DIR # for MPD. Both paths should be as defined in .env (e.g /my/playlists/:/my/playlists/)
environment:
- TZ=America/New_York
- WEEKLY_EXPLORATION_SCHEDULE=15 00 * * 2 # Runs weekly, every Tuesday 15 minutes past midnight
- WEEKLY_EXPLORATION_FLAGS= # Run weekly exploration with default settings
- EXECUTE_ON_START=true # Whether to run explo when starting the container (useful for testing)
stack.env/explo.env:
LISTENBRAINZ_USER=chiefobeef
LISTENBRAINZ_DISCOVERY=api
EXPLO_SYSTEM=mpd
SYSTEM_URL=mpd.vvcv.cc
SYSTEM_USERNAME=
SYSTEM_PASSWORD=
API_KEY=
LIBRARY_NAME=
PLAYLIST_DIR=/mnt/Config/mpd/playlists/
YOUTUBE_API_KEY=<redacted>
DOWNLOAD_DIR=/explo/
Sorry for the late reply.
Can you try adding ./explo/ as the DOWNLOAD_DIR value and the docker download path (/mnt/Music/explo:./explo).
I'm not 100% sure it works, as I only successfully tested MPD with the binary version of Explo. Though using docker with MPD is possible (see #46)