Merge pull request #1247 from starry-shivam/patch-2

Small typo fix in DownloadOptions.Factory.cs
This commit is contained in:
rmcrackan 2025-05-08 07:12:42 -04:00 committed by GitHub
commit e73fc5e1eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,7 +28,7 @@ public partial class DownloadOptions
{
var license = await ChooseContent(api, libraryBook, config);
//Come audiobooks will have incorrect chapters in the metadata returned from the license request,
//Some audiobooks will have incorrect chapters in the metadata returned from the license request,
//but the metadata returned by the content metadata endpoint will be correct. Call the content
//metadata endpoint and use its chapters. Only replace the license request chapters if the total
//lengths match (defensive against different audio formats having slightly different lengths).