Importing fails when provided path contains spaces
❯ funkwhale import_files 869fa800 '/srv/funkwhale/data/music/Ambient/Tony Anderson/Chasm' --in-place --recursive --no-input
2021-10-09 20:04:47,158 funkwhale_api.config INFO Loaded env file at /srv/funkwhale/config/.env
2021-10-09 20:04:47,158 funkwhale_api.config INFO Running with the following plugins enabled: funkwhale_api.contrib.scrobbler, funkwhale_api.contrib.listenbrainz
Checking imported paths against settings.MUSIC_DIRECTORY_PATH
For details, please refer to [...]
Checking existing files for updates…
Found 0 files to check in database!
Handling batch 1 (0 items)
Existing files checked, moving on to next step!
Starting import of new files…
Error while reading /srv/funkwhale/data/music/Ambient/Tony: FileNotFoundError [Errno 2] No such file or directory: '/srv/funkwhale/data/music/Ambient/Tony'
Error while reading /srv/funkwhale/data/music/Ambient/Anderson/Chasm: FileNotFoundError [Errno 2] No such file or directory: '/srv/funkwhale/data/music/Ambient/Anderson/Chasm'
Successfully imported 0 new tracks in 0s
For details, please refer to [...]
It somehow separates the arguments weirdly, even though it is quoted.