mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-26 22:46:37 -04:00
Refactor ExtraFile/MetadataFile Services (#104)
* Preliminary Work for Extras for Music * DB Migration for ExtraFiles, Other Cleanup * More Extras Work, Add Album Metadata Type * Update Housekeeps for Music Extras * Fix HouseKeeper and add new Tests * Final round of Cleanup
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using NLog;
|
||||
@@ -48,14 +48,12 @@ namespace NzbDrone.Core.Extras
|
||||
|
||||
foreach (var existingExtraFileImporter in _existingExtraFileImporters)
|
||||
{
|
||||
// TODO Implement existingExtraFileImporter for Audio Files
|
||||
var imported = existingExtraFileImporter.ProcessFiles(artist, filteredFiles, importedFiles);
|
||||
|
||||
//var imported = existingExtraFileImporter.ProcessFiles(artist, filteredFiles, importedFiles);
|
||||
|
||||
//importedFiles.AddRange(imported.Select(f => Path.Combine(artist.Path, f.RelativePath)));
|
||||
importedFiles.AddRange(imported.Select(f => Path.Combine(artist.Path, f.RelativePath)));
|
||||
}
|
||||
|
||||
_logger.Info("Found {0} extra files", extraFiles.Count);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user