more local metadata parsing improvements (#776)

* extract remaining nfo xml serializers

* add artist nfo tests

* add music video nfo tests

* add tv show nfo reader tests

* custom artist nfo reader

* custom music video nfo reader

* custom tv show nfo reader

* local metadata parsing cleanup

* update changelog
This commit is contained in:
Jason Dove
2022-05-01 14:00:10 -05:00
committed by GitHub
parent 2a8bf57930
commit ecb6ed37f0
20 changed files with 1259 additions and 169 deletions
@@ -173,7 +173,13 @@ https://www.themoviedb.org/movie/11-star-wars"));
nfo.Outline.Should().BeNullOrEmpty();
nfo.Year.Should().Be(2021);
nfo.ContentRating.Should().Be("Australia:M");
nfo.Premiered.Should().Be(new DateTime(2021, 03, 18));
nfo.Premiered.IsSome.Should().BeTrue();
foreach (DateTime premiered in nfo.Premiered)
{
premiered.Should().Be(new DateTime(2021, 03, 18));
}
nfo.Plot.Should().Be(
"Determined to ensure Superman's ultimate sacrifice was not in vain, Bruce Wayne aligns forces with Diana Prince with plans to recruit a team of metahumans to protect the world from an approaching threat of catastrophic proportions.");
nfo.Tagline.Should().BeNullOrEmpty();