[WIP] Added Artist/ReleaseInfo
This commit is contained in:
@@ -26,10 +26,11 @@
|
||||
|
||||
#include <boost/asio/system_timer.hpp>
|
||||
|
||||
#include "metadata/TagLibParser.hpp"
|
||||
|
||||
#include "database/ScanSettings.hpp"
|
||||
#include "database/DatabaseHandler.hpp"
|
||||
#include "metadata/TagLibParser.hpp"
|
||||
|
||||
#include "MediaScannerAddon.hpp"
|
||||
|
||||
namespace Scanner {
|
||||
|
||||
@@ -39,6 +40,8 @@ class MediaScanner
|
||||
|
||||
MediaScanner(Wt::Dbo::SqlConnectionPool& connectionPool);
|
||||
|
||||
void setAddon(MediaScannerAddon& addon);
|
||||
|
||||
void start();
|
||||
void stop();
|
||||
void restart();
|
||||
@@ -83,10 +86,10 @@ class MediaScanner
|
||||
// Helpers
|
||||
void refreshScanSettings();
|
||||
|
||||
void removeMissingTracks( Stats& stats );
|
||||
void removeMissingTracks(Stats& stats);
|
||||
void removeOrphanEntries();
|
||||
void checkDuplicatedAudioFiles( Stats& stats );
|
||||
void scanAudioFile( const boost::filesystem::path& file, bool forceScan, Stats& stats);
|
||||
void checkDuplicatedAudioFiles(Stats& stats);
|
||||
void scanAudioFile(const boost::filesystem::path& file, bool forceScan, Stats& stats);
|
||||
|
||||
bool _running;
|
||||
Wt::WIOService _ioService;
|
||||
@@ -106,6 +109,8 @@ class MediaScanner
|
||||
|
||||
MetaData::TagLibParser _metadataParser;
|
||||
|
||||
std::vector<MediaScannerAddon*> _addons;
|
||||
|
||||
}; // class MediaScanner
|
||||
|
||||
} // Scanner
|
||||
|
||||
Reference in New Issue
Block a user