avistaz: improve category parsing (#10038)

The category hack is not required after #10031
This commit is contained in:
Diego Heras 2020-11-01 12:21:50 +01:00 committed by GitHub
parent 7a2e52659a
commit 60af4a04d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -80,8 +80,6 @@ namespace Jackett.Common.Indexers.Abstract
switch(row.Value<string>("type"))
{
case "Movie":
if (query.Categories.Contains(TorznabCatType.Movies.ID))
cats.Add(TorznabCatType.Movies.ID);
cats.Add(resolution switch
{
var res when _hdResolutions.Contains(res) => TorznabCatType.MoviesHD.ID,
@ -90,8 +88,6 @@ namespace Jackett.Common.Indexers.Abstract
});
break;
case "TV-Show":
if (query.Categories.Contains(TorznabCatType.TV.ID))
cats.Add(TorznabCatType.TV.ID);
cats.Add(resolution switch
{
var res when _hdResolutions.Contains(res) => TorznabCatType.TVHD.ID,