1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-03-06 03:38:31 +00:00

animebytes: add category mapping for ONA

This commit is contained in:
Bogdan 2023-04-08 02:45:16 +03:00
parent e4a9f98a0c
commit 36f0308c7a

View file

@ -410,14 +410,14 @@ namespace Jackett.Common.Indexers
if (searchType == "anime") if (searchType == "anime")
{ {
if (groupName == "TV Series" || groupName == "OVA") // Ignore these categories as they'll cause hell with the matcher
// TV Special, DVD Special, BD Special
if (groupName == "TV Series" || groupName == "OVA" || groupName == "ONA")
{ {
category = new List<int> { TorznabCatType.TVAnime.ID }; category = new List<int> { TorznabCatType.TVAnime.ID };
} }
// Ignore these categories as they'll cause hell with the matcher
// TV Special, OVA, ONA, DVD Special, BD Special
if (groupName == "Movie" || groupName == "Live Action Movie") if (groupName == "Movie" || groupName == "Live Action Movie")
{ {
category = new List<int> { TorznabCatType.Movies.ID }; category = new List<int> { TorznabCatType.Movies.ID };