Minor refactoring.
This commit is contained in:
parent
cf1bc1c252
commit
30ba69eca7
3 changed files with 11 additions and 9 deletions
|
|
@ -29,8 +29,7 @@ namespace FileLiberator
|
|||
public IEnumerable<LibraryBook> GetValidLibraryBooks(IEnumerable<LibraryBook> library)
|
||||
=> library.Where(libraryBook =>
|
||||
Validate(libraryBook)
|
||||
&& libraryBook.Book.ContentType != ContentType.Parent
|
||||
&& (libraryBook.Book.ContentType != ContentType.Episode || 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