Use new content type queries
This commit is contained in:
parent
7d28681b23
commit
6cb98f99c5
3 changed files with 9 additions and 8 deletions
|
|
@ -29,7 +29,7 @@ namespace FileLiberator
|
|||
public IEnumerable<LibraryBook> GetValidLibraryBooks(IEnumerable<LibraryBook> library)
|
||||
=> library.Where(libraryBook =>
|
||||
Validate(libraryBook)
|
||||
&& (libraryBook.Book.ContentType != ContentType.Episode || LibationFileManager.Configuration.Instance.DownloadEpisodes)
|
||||
&& (!libraryBook.Book.IsEpisodeChild() || Configuration.Instance.DownloadEpisodes)
|
||||
);
|
||||
|
||||
public async Task<StatusHandler> ProcessSingleAsync(LibraryBook libraryBook, bool validate)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue