Support music qualities. This is a work in progress, lots of code still references tv series

This commit is contained in:
2017-05-07 19:07:19 -07:00
parent 89fa71fe96
commit d7ad9b8218
52 changed files with 475 additions and 956 deletions
@@ -41,12 +41,12 @@ namespace NzbDrone.Core.Test.Download.Pending.PendingReleaseServiceTests
_profile = new Profile
{
Name = "Test",
Cutoff = Quality.HDTV720p,
Cutoff = Quality.MP3192,
Items = new List<ProfileQualityItem>
{
new ProfileQualityItem { Allowed = true, Quality = Quality.HDTV720p },
new ProfileQualityItem { Allowed = true, Quality = Quality.WEBDL720p },
new ProfileQualityItem { Allowed = true, Quality = Quality.Bluray720p }
new ProfileQualityItem { Allowed = true, Quality = Quality.MP3192 },
new ProfileQualityItem { Allowed = true, Quality = Quality.MP3256 },
new ProfileQualityItem { Allowed = true, Quality = Quality.MP3320 }
},
};
@@ -55,7 +55,7 @@ namespace NzbDrone.Core.Test.Download.Pending.PendingReleaseServiceTests
_release = Builder<ReleaseInfo>.CreateNew().Build();
_parsedEpisodeInfo = Builder<ParsedEpisodeInfo>.CreateNew().Build();
_parsedEpisodeInfo.Quality = new QualityModel(Quality.HDTV720p);
_parsedEpisodeInfo.Quality = new QualityModel(Quality.MP3192);
_remoteEpisode = new RemoteEpisode();
_remoteEpisode.Episodes = new List<Episode>{ _episode };