Fixed: (Rarbg) update cats

pull/1457/head
Bogdan 1 year ago
parent 0ec54906c6
commit af4961e3e6

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

@ -13,7 +13,7 @@ using NzbDrone.Core.Messaging.Events;
using NzbDrone.Core.Parser;
using NzbDrone.Core.Validation;
namespace NzbDrone.Core.Indexers.Rarbg
namespace NzbDrone.Core.Indexers.Definitions.Rarbg
{
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(17, NewznabStandardCategory.MoviesSD, "Movies/x264");
caps.Categories.AddCategoryMapping(18, NewznabStandardCategory.TVSD, "TV Episodes");

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

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

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

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

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

Loading…
Cancel
Save