Fixed typo.

This commit is contained in:
Michael Bucari-Tovo 2021-07-01 17:58:02 -06:00
parent 729212a5d5
commit 66bd18fdc5

View File

@ -23,8 +23,8 @@ namespace AaxDecrypter
Arguments = "-loglevel panic -show_chapters -print_format json \"" + audiobookFile + "\""
};
var xml = info.RunHidden().Output;
var chapterJObject = JObject.Parse(xml);
var jString = info.RunHidden().Output;
var chapterJObject = JObject.Parse(jString);
var chapters = chapterJObject["chapters"]
.Select(c => new Chapter(
c["tags"]?["title"]?.Value<string>(),