Fixed multipart book hanging
This commit is contained in:
parent
999bc7604e
commit
12ddbc308a
@ -5,7 +5,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="AAXClean" Version="0.4.6" />
|
<PackageReference Include="AAXClean" Version="0.4.7" />
|
||||||
<PackageReference Include="AAXClean.Codecs" Version="0.2.7" />
|
<PackageReference Include="AAXClean.Codecs" Version="0.2.7" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|||||||
@ -71,8 +71,9 @@ namespace FileLiberator
|
|||||||
new StatusHandler { "Decrypt failed" };
|
new StatusHandler { "Decrypt failed" };
|
||||||
}
|
}
|
||||||
|
|
||||||
// moves new files from temp dir to final dest
|
// moves new files from temp dir to final dest.
|
||||||
var movedAudioFile = moveFilesToBooksDir(libraryBook, entries);
|
// This could take a few seconds i moving hundreds of files.
|
||||||
|
var movedAudioFile = await Task.Run(() => moveFilesToBooksDir(libraryBook, entries));
|
||||||
|
|
||||||
// decrypt failed
|
// decrypt failed
|
||||||
if (!movedAudioFile)
|
if (!movedAudioFile)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user