From af0365c81fc311f6525e814c71fc4877ab748c64 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 4 Sep 2021 18:02:42 -0500 Subject: [PATCH] Improve track order detection, allow for excluding audio files from tracklist --- client/components/ui/ToggleSwitch.vue | 13 +++-- client/package.json | 2 +- client/pages/audiobook/_id/edit.vue | 68 +++++++++++++++++++++------ client/pages/audiobook/_id/index.vue | 2 +- package.json | 2 +- server/ApiController.js | 4 +- server/Watcher.js | 3 +- server/objects/AudioFile.js | 8 ++++ server/objects/Audiobook.js | 37 ++++++++++----- server/utils/audioFileScanner.js | 12 ++++- 10 files changed, 114 insertions(+), 37 deletions(-) diff --git a/client/components/ui/ToggleSwitch.vue b/client/components/ui/ToggleSwitch.vue index 8dddbbb2..906c522d 100644 --- a/client/components/ui/ToggleSwitch.vue +++ b/client/components/ui/ToggleSwitch.vue @@ -9,7 +9,15 @@