Add x265 categories for Movies and TV in Newznab

pull/1760/head
Bogdan 11 months ago
parent bfc06fc8bc
commit 4fafdb2cd2

@ -25,7 +25,7 @@ namespace NzbDrone.Core.Applications.Radarr
{
ProwlarrUrl = "http://localhost:9696";
BaseUrl = "http://localhost:7878";
SyncCategories = new[] { 2000, 2010, 2020, 2030, 2040, 2045, 2050, 2060, 2070, 2080 };
SyncCategories = new[] { 2000, 2010, 2020, 2030, 2040, 2045, 2050, 2060, 2070, 2080, 2090 };
}
[FieldDefinition(0, Label = "Prowlarr Server", HelpText = "Prowlarr server URL as Radarr sees it, including http(s)://, port, and urlbase if needed", Placeholder = "http://localhost:9696")]

@ -24,7 +24,7 @@ namespace NzbDrone.Core.Applications.Sonarr
{
ProwlarrUrl = "http://localhost:9696";
BaseUrl = "http://localhost:8989";
SyncCategories = new[] { 5000, 5010, 5020, 5030, 5040, 5045, 5050 };
SyncCategories = new[] { 5000, 5010, 5020, 5030, 5040, 5045, 5050, 5090 };
AnimeSyncCategories = new[] { 5070 };
}

@ -35,6 +35,7 @@ namespace NzbDrone.Core.Indexers
public static readonly IndexerCategory Movies3D = new (2060, "Movies/3D");
public static readonly IndexerCategory MoviesDVD = new (2070, "Movies/DVD");
public static readonly IndexerCategory MoviesWEBDL = new (2080, "Movies/WEB-DL");
public static readonly IndexerCategory Moviesx265 = new (2090, "Movies/x265");
public static readonly IndexerCategory Audio = new (3000, "Audio");
public static readonly IndexerCategory AudioMP3 = new (3010, "Audio/MP3");
@ -63,6 +64,7 @@ namespace NzbDrone.Core.Indexers
public static readonly IndexerCategory TVSport = new (5060, "TV/Sport");
public static readonly IndexerCategory TVAnime = new (5070, "TV/Anime");
public static readonly IndexerCategory TVDocumentary = new (5080, "TV/Documentary");
public static readonly IndexerCategory TVx265 = new (5090, "TV/x265");
public static readonly IndexerCategory XXX = new (6000, "XXX");
public static readonly IndexerCategory XXXDVD = new (6010, "XXX/DVD");
@ -128,6 +130,7 @@ namespace NzbDrone.Core.Indexers
Movies3D,
MoviesDVD,
MoviesWEBDL,
Moviesx265,
Audio,
AudioMP3,
AudioVideo,
@ -153,6 +156,7 @@ namespace NzbDrone.Core.Indexers
TVSport,
TVAnime,
TVDocumentary,
TVx265,
XXX,
XXXDVD,
XXXWMV,
@ -211,7 +215,8 @@ namespace NzbDrone.Core.Indexers
MoviesBluRay,
Movies3D,
MoviesDVD,
MoviesWEBDL
MoviesWEBDL,
Moviesx265
});
Audio.SubCategories.AddRange(
new List<IndexerCategory>
@ -245,7 +250,8 @@ namespace NzbDrone.Core.Indexers
TVOther,
TVSport,
TVAnime,
TVDocumentary
TVDocumentary,
TVx265
});
XXX.SubCategories.AddRange(
new List<IndexerCategory>

Loading…
Cancel
Save