Greetings!
At present, the only way to initialize media folders upon installation of a fresh Subsonic instance is by going to the web GUI.
It seems that there should be a corresponding REST API call /addMediaFolder, as long as such API exist for /startScan, /changePassword, etc (also can be done in GUI).
My use case (should be quite common):
1. when you run Subsonic in a Docker container, after starting the container you need to manually add media folders through GUI
2. but the whole idea with automation is that you should be able to configure everything through the scripts with REST API calls
My script would:
1. start the Docker container
2. /changePassword
3. /addMediaFolder, (missing)
4. /startScan
Maybe there is a workaround? I was thinking of (I am using MySQL) to adjust the music_folder, music_folder_user,... tables manually, but I am afraid of breaking the DB integrity.
Thanks in advance!