Snakeoil Forums
Bind Mount in REST - Printable Version

+- Snakeoil Forums (https://forums.snakeoil-os.net)
+-- Forum: Snakeoil Topics (https://forums.snakeoil-os.net/Forum-Snakeoil-Topics)
+--- Forum: Support & Troubleshooting (https://forums.snakeoil-os.net/Forum-Support-Troubleshooting)
+--- Thread: Bind Mount in REST (/Thread-Bind-Mount-in-REST)



Bind Mount in REST - Coacharnold - 07-Apr-2025

So I've been trying for a while to get ABCDE working in SOS .   The main issue is getting LMS to read wherever the output folder is set to in ABCDE.  This would seem to be a simple issue,  but I cannot get LMS to read the output folder I set.  (trust me I have played a lot of games with permissions at this point) ... my next Idea is to set up a bind Mount.  Is it possible for the REST interface library page/function to allow me to do that kind of Mount?    If not,  how can I use REST to Mount a local folder?

Thanx

Tim


RE: Bind Mount in REST - agent_kith - 08-Apr-2025

(07-Apr-2025, 08:18 PM)Coacharnold Wrote: So I've been trying for a while to get ABCDE working in SOS .   The main issue is getting LMS to read wherever the output folder is set to in ABCDE.  This would seem to be a simple issue,  but I cannot get LMS to read the output folder I set.  (trust me I have played a lot of games with permissions at this point) ... my next Idea is to set up a bind Mount.  Is it possible for the REST interface library page/function to allow me to do that kind of Mount?    If not,  how can I use REST to Mount a local folder?

Thanx

Tim

Hi Tim,
Create the folder under /media/music/, e.g.

/media/music/ABCDE

LMS should be able to pick it up, if now it's very likely file permission issues (will cross that road if need be).


RE: Bind Mount in REST - Coacharnold - 08-Apr-2025

That was the first thing I did.  It ignores anything in the created folder. .. Im sure it's a permission issue.  I tried to chmod 777  but that did nothing.   I also tried a linked folder from the user home directory.


RE: Bind Mount in REST - agent_kith - 09-Apr-2025

(08-Apr-2025, 10:38 PM)Coacharnold Wrote: That was the first thing I did.  It ignores anything in the created folder. .. Im sure it's a permission issue.  I tried to chmod 777  but that did nothing.   I also tried a linked folder from the user home directory.
And there are files in the directory? What's the file extension?

try:
  1. Go to LMS setings and rescan library
  2. If music don't show up, try "chmod 777 -R /media/music/abcde" and re-do step 1
  3. If 1 & 2 don't work then look at the LMS logs and see what it says