Centralize audio/aaxc files GetPath and Exists into temp TransitionalFileLocator
This commit is contained in:
parent
d4fbb03577
commit
0c265a9010
10 changed files with 80 additions and 40 deletions
|
|
@ -143,7 +143,9 @@ namespace LibationSearchEngine
|
|||
return authors.Intersect(narrators).Any();
|
||||
}
|
||||
|
||||
private static bool isLiberated(Book book) => book.UserDefinedItem.BookStatus == LiberatedStatus.Liberated || AudibleFileStorage.Audio.Exists(book.AudibleProductId);
|
||||
private static bool isLiberated(Book book)
|
||||
=> book.UserDefinedItem.BookStatus == LiberatedStatus.Liberated
|
||||
|| AudibleFileStorage.Audio.Exists(book.AudibleProductId);
|
||||
private static bool liberatedError(Book book) => book.UserDefinedItem.BookStatus == LiberatedStatus.Error;
|
||||
|
||||
// use these common fields in the "all" default search field
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue