WIP, some workaround around the service manager, to be cleaned seriously later

This commit is contained in:
emeric
2014-06-25 17:30:32 +02:00
parent 16c77d56be
commit 95341dcb0a
6 changed files with 31 additions and 8 deletions
+3
View File
@@ -1,6 +1,7 @@
#include <boost/filesystem.hpp>
#include <boost/foreach.hpp>
#include <boost/thread.hpp>
#include "Database.hpp"
#include "Checksum.hpp"
@@ -240,6 +241,8 @@ Database::refreshAudioDirectory( const boost::filesystem::path& p)
BOOST_FOREACH(const boost::filesystem::path& file, files) {
boost::this_thread::interruption_point();
try {
if (boost::filesystem::is_directory(file)) {
refreshAudioDirectory( file );