WIP. Restoring video playback

This commit is contained in:
emeric
2014-09-09 14:06:44 +02:00
parent 9f400f6e6c
commit 614cffc5c1
12 changed files with 152 additions and 386 deletions
+3 -5
View File
@@ -8,7 +8,6 @@
#include "database/DatabaseHandler.hpp"
#include "database/MediaDirectory.hpp"
#include "database/FileTypes.hpp" // to remove
#include "database/DatabaseHandler.hpp"
namespace DatabaseUpdater {
@@ -51,20 +50,19 @@ class Updater
const std::vector<boost::filesystem::path>& extensions);
// Video
void processDirectory( const boost::filesystem::path& rootDirectory,
const boost::filesystem::path& directory,
Database::MediaDirectory::Type type,
Stats& stats);
void processVideoFile( const boost::filesystem::path& file);
// Audio
void checkAudioFiles( Stats& stats );
void processAudioFile( const boost::filesystem::path& file, Stats& stats);
Database::Path::pointer getAddPath(const boost::filesystem::path& path);
// Video
void checkVideoFiles( Stats& stats );
void processVideoFile( const boost::filesystem::path& file, Stats& stats);
bool _running;
Wt::WIOService _ioService;