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
|
|
@ -24,7 +24,7 @@ namespace FileLiberator
|
|||
public DownloadPdf DownloadPdf { get; } = new DownloadPdf();
|
||||
|
||||
public bool Validate(LibraryBook libraryBook)
|
||||
=> !AudibleFileStorage.Audio.Exists(libraryBook.Book.AudibleProductId);
|
||||
=> !ApplicationServices.TransitionalFileLocator.Audio_Exists(libraryBook.Book.AudibleProductId);
|
||||
|
||||
// do NOT use ConfigureAwait(false) on ProcessAsync()
|
||||
// often calls events which prints to forms in the UI context
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue