From 41b0ace238b62d16b3a87d088ef3b9952b3c0563 Mon Sep 17 00:00:00 2001 From: Michael Bucari-Tovo Date: Thu, 1 Jul 2021 08:10:28 -0600 Subject: [PATCH] Code readability edit. --- FileLiberator/DownloadDecryptBook.cs | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/FileLiberator/DownloadDecryptBook.cs b/FileLiberator/DownloadDecryptBook.cs index a0eda1f7..0cead1c7 100644 --- a/FileLiberator/DownloadDecryptBook.cs +++ b/FileLiberator/DownloadDecryptBook.cs @@ -71,14 +71,25 @@ namespace FileLiberator var contentLic = await api.GetDownloadLicenseAsync(libraryBook.Book.AudibleProductId); - var aaxcDecryptDlLic = new DownloadLicense(contentLic.ContentMetadata?.ContentUrl?.OfflineUrl, contentLic.Voucher?.Key, contentLic.Voucher?.Iv, Resources.UserAgent); + var aaxcDecryptDlLic = new DownloadLicense + ( + contentLic.ContentMetadata?.ContentUrl?.OfflineUrl, + contentLic.Voucher?.Key, + contentLic.Voucher?.Iv, + Resources.UserAgent + ); if (Configuration.Instance.AllowLibationFixup) { aaxcDecryptDlLic.ChapterInfo = new ChapterInfo(); foreach (var chap in contentLic.ContentMetadata?.ChapterInfo?.Chapters) - aaxcDecryptDlLic.ChapterInfo.AddChapter(new Chapter(chap.Title, chap.StartOffsetMs, chap.LengthMs)); + aaxcDecryptDlLic.ChapterInfo.AddChapter( + new Chapter( + chap.Title, + chap.StartOffsetMs, + chap.LengthMs + )); } aaxcDownloader = AaxcDownloadConverter.Create(destinationDir, aaxcDecryptDlLic);