Fixed type.

This commit is contained in:
Michael Bucari-Tovo 2021-06-24 17:56:08 -06:00
parent 06549e5b4e
commit 792207caee
2 changed files with 3 additions and 3 deletions

View File

@ -142,7 +142,7 @@ namespace FileLiberator.AaxcDownloadDecrypt
File.WriteAllText(metadataPath, ffmpegTags + ffmpegChapters);
var aaxcProcesser = new FFMpegAaaxcProcesser(DecryptSupportLibraries.ffmpegPath);
var aaxcProcesser = new FFMpegAaxcProcesser(DecryptSupportLibraries.ffmpegPath);
aaxcProcesser.ProgressUpdate += (_, e) =>
DecryptProgressUpdate?.Invoke(this, (int)e.ProgressPercent);

View File

@ -15,7 +15,7 @@ namespace FileLiberator.AaxcDownloadDecrypt
/// <summary>
/// Download audible aaxc, decrypt, remux, add metadata, and insert cover art.
/// </summary>
class FFMpegAaaxcProcesser
class FFMpegAaxcProcesser
{
public event EventHandler<AaxcProgress> ProgressUpdate;
public string FFMpegPath { get; }
@ -27,7 +27,7 @@ namespace FileLiberator.AaxcDownloadDecrypt
private static Regex durationRegex = new Regex("Duration: (\\d{2}):(\\d{2}):(\\d{2}).\\d{2}", RegexOptions.IgnoreCase | RegexOptions.Compiled);
private TimeSpan duration { get; set; }
private TimeSpan position { get; set; }
public FFMpegAaaxcProcesser(string ffmpegPath)
public FFMpegAaxcProcesser(string ffmpegPath)
{
FFMpegPath = ffmpegPath;
}