sparkyuk wrote: 
> 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.

V12 wrote: 
> Actually, I tried that same method, but for some reason it crashed. I'll
> make another try.

Ok, at this time the installation as described here, went through. But
some problem still occurring.
I think the problem I've described is in the UI. Even with this type of
linking directories, the selection window don't show any other music
directory, than the /music, or its direct sub-directories, not the
linked ones.
I was able to use the other linked directory by manually writing it to
the directory setting. Now it seems to work OK, although there are about
100 000 records totally, including duplicates, so it takes time to be
really sure...


------------------------------------------------------------------------
V12's Profile: http://forums.slimdevices.com/member.php?userid=71202
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