FileManager: separate generic from Libation-specific
This commit is contained in:
parent
1de7edd9df
commit
c43e03b228
37 changed files with 87 additions and 76 deletions
|
|
@ -27,7 +27,7 @@ namespace FileLiberator
|
|||
public IEnumerable<LibraryBook> GetValidLibraryBooks(IEnumerable<LibraryBook> library)
|
||||
=> library.Where(libraryBook =>
|
||||
Validate(libraryBook)
|
||||
&& (libraryBook.Book.ContentType != ContentType.Episode || FileManager.Configuration.Instance.DownloadEpisodes)
|
||||
&& (libraryBook.Book.ContentType != ContentType.Episode || LibationFileManager.Configuration.Instance.DownloadEpisodes)
|
||||
);
|
||||
|
||||
public async Task<StatusHandler> ProcessSingleAsync(LibraryBook libraryBook, bool validate)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue