V12 wrote: 
> That's a workaround, not a solution.

You should be able to map multiple host directories in to the container
/music directory as sub-directories by using additional volumes via the
docker run command line or docker-compose.yml file.  As an example,
let's assume you have several directories on your docker host machine
where there are music files you want to make accessible to LMS

/data/flac
/personal/mp3
/files/cdrips

You can make these accessible using

docker run ..... -c /data/flac:/music/flac -v /personal/mp3:/music/mp3
-v /files/cdrips:/music/cdrips

or in your docker-compose.yml under volumes:
- /data/flac:/music/flac:ro
- /personal/mp3:/music/mp3:ro
- /files/cdrips:/music/cdrips:ro

I do this and see this inside the container

root@8c1bae8f896f:/music# ls -l /music
total 12
drwxr-xr-x 2 squeezeboxserver squeezeboxserver 4096 Jan  6 11:56 flac
drwxr-xr-x 2 squeezeboxserver squeezeboxserver 4096 Jan  6 11:58 mp3
drwxr-xr-x 3 squeezeboxserver squeezeboxserver 4096 Dec 28 13:00 cdrips

Once the container has started you should see all of the directories
under /music so you can leave LMS to scan from there or delete the
/music entry and add separate configs for each directory.


------------------------------------------------------------------------
sparkyuk's Profile: http://forums.slimdevices.com/member.php?userid=70716
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to