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 (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 };
}
// 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")
{
category = new List<int> { TorznabCatType.Movies.ID };