Importing Music with --watch fails with error
/label Type: Bug Status: Need triage
Steps to reproduce
Issue import command with --watch
flag
docker exec -it funkwhale /usr/bin/python3 /app/api/manage.py import_files 6226f8d9-a117-49cf-b976-06301a249802 "/music" --in-place --async --recursive --noinput --watch
What happens?
Error is displayed:
manage.py import_files: error: unrecognized arguments: --watch
What is expected?
Starting Import and watching directory according to documentation https://docs.funkwhale.audio/admin/importing-music.html#react-to-filesystem-events-with-watch
Context
Version: 0.21 Docker All In One image Image Tag: Latest
Funkwhale version(s) affected: 0.21
docker exec -it funkwhale /usr/bin/python3 /app/api/manage.py import_files {MY_LIB_ID} "/music" --in-place --async --recursive --noinput --watch
2020-05-07 11:52:54,265 funkwhale_api.config INFO Running with no plugins
usage: manage.py import_files [-h] [--recursive] [--username USERNAME]
[--async] [--exit] [--in-place] [--replace]
[--outbox] [-e EXTENSION [EXTENSION ...]]
[--broadcast] [--reference REFERENCE]
[--noinput] [--batch-size BATCH_SIZE]
[--version] [-v {0,1,2,3}] [--settings SETTINGS]
[--pythonpath PYTHONPATH] [--traceback]
[--no-color] [--force-color] [--skip-checks]
library_id path [path ...]
manage.py import_files: error: unrecognized arguments: --watch