sentriz / gonic

music streaming server / free-software subsonic server API implementation
ircs://irc.libera.chat/#gonic
GNU General Public License v3.0
1.63k stars 115 forks source link

checking playlist directory: path does not exist, please provide one #539

Closed xtay573269555 closed 2 months ago

xtay573269555 commented 2 months ago

checking playlist directory: path does not exist, please provide one

gonic version: sentriz/gonic:v0.16.4

If not mount a directory to /playlists , it will raise a error checking playlist directory: path does not exist, please provide one.

dockerfile volume command need add a directory /playlists as following:

VOLUME ["/cache", "/data", "/music", "/podcasts", "/playlists"]
sentriz commented 2 months ago

hi that is intended behaviour since playlists are required for subsonic functionality

xtay573269555 commented 2 months ago

The directory /playlists is referenced by the later env GONIC_PLAYLISTS_PATH in Dockerfile, but it(/playlists) is not exist in the docker image.

sentriz commented 2 months ago

yeah the default expected path exists as an env var, but this forces the user to mount a playlist dir so that they dont lose any data when using the subsonic playlist features later