Fixed: (Rarbg) update cats

This commit is contained in:
Bogdan
2023-02-20 23:35:14 +02:00
parent 0ec54906c6
commit af4961e3e6
7 changed files with 8 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ using NUnit.Framework;
using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Common.Http; using NzbDrone.Common.Http;
using NzbDrone.Core.Indexers; using NzbDrone.Core.Indexers;
using NzbDrone.Core.Indexers.Rarbg; using NzbDrone.Core.Indexers.Definitions.Rarbg;
using NzbDrone.Core.IndexerSearch.Definitions; using NzbDrone.Core.IndexerSearch.Definitions;
using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Parser.Model;
using NzbDrone.Core.Test.Framework; using NzbDrone.Core.Test.Framework;

View File

@@ -13,7 +13,7 @@ using NzbDrone.Core.Messaging.Events;
using NzbDrone.Core.Parser; using NzbDrone.Core.Parser;
using NzbDrone.Core.Validation; using NzbDrone.Core.Validation;
namespace NzbDrone.Core.Indexers.Rarbg namespace NzbDrone.Core.Indexers.Definitions.Rarbg
{ {
public class Rarbg : TorrentIndexerBase<RarbgSettings> public class Rarbg : TorrentIndexerBase<RarbgSettings>
{ {
@@ -61,7 +61,7 @@ namespace NzbDrone.Core.Indexers.Rarbg
} }
}; };
caps.Categories.AddCategoryMapping(4, NewznabStandardCategory.XXX, "XXX (18+)"); // caps.Categories.AddCategoryMapping(4, NewznabStandardCategory.XXX, "XXX (18+)"); // 3x is not supported by API #11848
caps.Categories.AddCategoryMapping(14, NewznabStandardCategory.MoviesSD, "Movies/XVID"); caps.Categories.AddCategoryMapping(14, NewznabStandardCategory.MoviesSD, "Movies/XVID");
caps.Categories.AddCategoryMapping(17, NewznabStandardCategory.MoviesSD, "Movies/x264"); caps.Categories.AddCategoryMapping(17, NewznabStandardCategory.MoviesSD, "Movies/x264");
caps.Categories.AddCategoryMapping(18, NewznabStandardCategory.TVSD, "TV Episodes"); caps.Categories.AddCategoryMapping(18, NewznabStandardCategory.TVSD, "TV Episodes");

View File

@@ -8,7 +8,7 @@ using NzbDrone.Common.Http;
using NzbDrone.Core.Indexers.Exceptions; using NzbDrone.Core.Indexers.Exceptions;
using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Parser.Model;
namespace NzbDrone.Core.Indexers.Rarbg namespace NzbDrone.Core.Indexers.Definitions.Rarbg
{ {
public class RarbgParser : IParseIndexerResponse public class RarbgParser : IParseIndexerResponse
{ {

View File

@@ -6,7 +6,7 @@ using NzbDrone.Common.Extensions;
using NzbDrone.Common.Http; using NzbDrone.Common.Http;
using NzbDrone.Core.IndexerSearch.Definitions; using NzbDrone.Core.IndexerSearch.Definitions;
namespace NzbDrone.Core.Indexers.Rarbg namespace NzbDrone.Core.Indexers.Definitions.Rarbg
{ {
public class RarbgRequestGenerator : IIndexerRequestGenerator public class RarbgRequestGenerator : IIndexerRequestGenerator
{ {

View File

@@ -1,7 +1,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace NzbDrone.Core.Indexers.Rarbg namespace NzbDrone.Core.Indexers.Definitions.Rarbg
{ {
public class RarbgResponse public class RarbgResponse
{ {

View File

@@ -1,7 +1,7 @@
using NzbDrone.Core.Annotations; using NzbDrone.Core.Annotations;
using NzbDrone.Core.Indexers.Settings; using NzbDrone.Core.Indexers.Settings;
namespace NzbDrone.Core.Indexers.Rarbg namespace NzbDrone.Core.Indexers.Definitions.Rarbg
{ {
public class RarbgSettings : NoAuthTorrentBaseSettings public class RarbgSettings : NoAuthTorrentBaseSettings
{ {

View File

@@ -5,7 +5,7 @@ using NzbDrone.Common.Cache;
using NzbDrone.Common.EnvironmentInfo; using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Common.Http; using NzbDrone.Common.Http;
namespace NzbDrone.Core.Indexers.Rarbg namespace NzbDrone.Core.Indexers.Definitions.Rarbg
{ {
public interface IRarbgTokenProvider public interface IRarbgTokenProvider
{ {