WIP. Restoring video playback
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user