More details for scan error reports #676
This commit is contained in:
@@ -36,18 +36,19 @@ namespace lms::scanner
|
||||
class ArtistInfoFileScanner : public IFileScanner
|
||||
{
|
||||
public:
|
||||
ArtistInfoFileScanner(const ScannerSettings& _settings, db::Db& db);
|
||||
ArtistInfoFileScanner(db::Db& db, const ScannerSettings& _settings);
|
||||
~ArtistInfoFileScanner() override = default;
|
||||
ArtistInfoFileScanner(const ArtistInfoFileScanner&) = delete;
|
||||
ArtistInfoFileScanner& operator=(const ArtistInfoFileScanner&) = delete;
|
||||
|
||||
private:
|
||||
core::LiteralString getName() const override;
|
||||
std::span<const std::filesystem::path> getSupportedFiles() const override;
|
||||
std::span<const std::filesystem::path> getSupportedExtensions() const override;
|
||||
bool needsScan(ScanContext& context, const FileToScan& file) const override;
|
||||
std::unique_ptr<IFileScanOperation> createScanOperation(const FileToScan& fileToScan) const override;
|
||||
bool needsScan(const FileToScan& file) const override;
|
||||
std::unique_ptr<IFileScanOperation> createScanOperation(FileToScan&& fileToScan) const override;
|
||||
|
||||
const ScannerSettings& _settings;
|
||||
db::Db& _db;
|
||||
const ScannerSettings& _settings;
|
||||
};
|
||||
} // namespace lms::scanner
|
||||
Reference in New Issue
Block a user