Add ContentType.Parent
Import Series parent when only individual episodes are in library
This commit is contained in:
parent
30e6deeeaa
commit
c48eacd9af
4 changed files with 83 additions and 21 deletions
|
|
@ -29,7 +29,8 @@ 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.ContentType != ContentType.Parent
|
||||
&& (libraryBook.Book.ContentType != ContentType.Episode || Configuration.Instance.DownloadEpisodes)
|
||||
);
|
||||
|
||||
public async Task<StatusHandler> ProcessSingleAsync(LibraryBook libraryBook, bool validate)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue