From ac1d32ddacca01518123d59f0f41e340bfd41bc9 Mon Sep 17 00:00:00 2001 From: emeric Date: Sat, 19 Sep 2015 13:43:23 +0200 Subject: [PATCH] [DB] Properly handle out-of-root media files --- TODO | 1 + src/database-updater/DatabaseUpdater.cpp | 23 ++++++++++++++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index c5e44bc0..0b1846fd 100644 --- a/TODO +++ b/TODO @@ -62,6 +62,7 @@ - Add a download button to get the current playlist in a streamed zip file - Add a upload button to upload media files in a dedicated directory - Add keyboard shortcuts + - Properly handle files that have disappear from the DB (skip) [Video] - implement a decent mediaplayer diff --git a/src/database-updater/DatabaseUpdater.cpp b/src/database-updater/DatabaseUpdater.cpp index 9470c9be..24b51d05 100644 --- a/src/database-updater/DatabaseUpdater.cpp +++ b/src/database-updater/DatabaseUpdater.cpp @@ -72,7 +72,7 @@ isFileSupported(const boost::filesystem::path& file, const std::vector