mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-21 22:25:03 -04:00
Added: Ability to add custom formats, working similar to qualities. (#2669)
Originally called project metis, this feature allows you to do a lot of cool stuff, such as upgrading to a x265 encode, downloading releases with multiple languages, etc. Check out the wiki page at: https://github.com/Radarr/Radarr/wiki/Custom-Formats to learn more! Note: This feature is currently in "beta" and will get more tags and features in the future. Please let me know, if you have any issues and I hope this will allow for a lot of customization!
This commit is contained in:
@@ -17,17 +17,10 @@ namespace NzbDrone.Core.Test.MetadataSource.SkyHook
|
||||
UseRealHttp();
|
||||
}
|
||||
|
||||
[TestCase("The Simpsons", "The Simpsons")]
|
||||
[TestCase("South Park", "South Park")]
|
||||
[TestCase("Franklin & Bash", "Franklin & Bash")]
|
||||
[TestCase("House", "House")]
|
||||
[TestCase("Mr. D", "Mr. D")]
|
||||
//[TestCase("Rob & Big", "Rob & Big")]
|
||||
[TestCase("M*A*S*H", "M*A*S*H")]
|
||||
//[TestCase("imdb:tt0436992", "Doctor Who (2005)")]
|
||||
[TestCase("tmdb:78804", "Doctor Who (2005)")]
|
||||
[TestCase("tmdbid:78804", "Doctor Who (2005)")]
|
||||
[TestCase("tmdbid: 78804 ", "Doctor Who (2005)")]
|
||||
[TestCase("Prometheus", "Prometheus")]
|
||||
[TestCase("The Man from U.N.C.L.E.", "The Man from U.N.C.L.E.")]
|
||||
[TestCase("imdb:tt2527336", "Star Wars: The Last Jedi")]
|
||||
[TestCase("imdb:tt2798920", "Annihilation")]
|
||||
public void successful_search(string title, string expected)
|
||||
{
|
||||
var result = Subject.SearchForNewMovie(title);
|
||||
@@ -43,13 +36,13 @@ namespace NzbDrone.Core.Test.MetadataSource.SkyHook
|
||||
[TestCase("tmdbid: 99999999999999999999")]
|
||||
[TestCase("tmdbid: 0")]
|
||||
[TestCase("tmdbid: -12")]
|
||||
[TestCase("tmdbid:289578")]
|
||||
[TestCase("tmdbid:1")]
|
||||
[TestCase("adjalkwdjkalwdjklawjdlKAJD;EF")]
|
||||
public void no_search_result(string term)
|
||||
{
|
||||
var result = Subject.SearchForNewMovie(term);
|
||||
result.Should().BeEmpty();
|
||||
|
||||
|
||||
ExceptionVerification.IgnoreWarns();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user