TorznabCats: add support for UHD cats

This commit is contained in:
kaso17 2018-01-02 19:11:53 +01:00
parent 1a803fb182
commit 8773022f10
1 changed files with 10 additions and 6 deletions

View File

@ -46,7 +46,9 @@ namespace Jackett.Models
public static readonly TorznabCategory MoviesHD = new TorznabCategory(2040, "Movies/HD");
public static readonly TorznabCategory Movies3D = new TorznabCategory(2050, "Movies/3D");
public static readonly TorznabCategory MoviesUHD = new TorznabCategory(2045, "Movies/UHD");
public static readonly TorznabCategory Movies3D = new TorznabCategory(2050, "Movies/3D");
public static readonly TorznabCategory MoviesBluRay = new TorznabCategory(2060, "Movies/BluRay");
@ -94,7 +96,9 @@ namespace Jackett.Models
public static readonly TorznabCategory TVHD = new TorznabCategory(5040, "TV/HD");
public static readonly TorznabCategory TVOTHER = new TorznabCategory(5050, "TV/OTHER");
public static readonly TorznabCategory TVUHD = new TorznabCategory(5045, "TV/UHD");
public static readonly TorznabCategory TVOTHER = new TorznabCategory(5050, "TV/OTHER");
public static readonly TorznabCategory TVSport = new TorznabCategory(5060, "TV/Sport");
@ -146,13 +150,13 @@ namespace Jackett.Models
Console.SubCategories.AddRange(new List<TorznabCategory> { ConsoleNDS, ConsolePSP, ConsoleWii, ConsoleXbox, ConsoleXbox360, ConsoleWiiwareVC, ConsoleXBOX360DLC, ConsolePS3, ConsoleOther, Console3DS, ConsolePSVita, ConsoleWiiU, ConsoleXboxOne, ConsolePS4 });
Movies.SubCategories.AddRange(new List<TorznabCategory> { MoviesForeign, MoviesOther, MoviesSD, MoviesHD, Movies3D, MoviesBluRay, MoviesDVD, MoviesWEBDL });
Movies.SubCategories.AddRange(new List<TorznabCategory> { MoviesForeign, MoviesOther, MoviesSD, MoviesHD, MoviesUHD, Movies3D, MoviesBluRay, MoviesDVD, MoviesWEBDL });
Audio.SubCategories.AddRange(new List<TorznabCategory> { AudioMP3, AudioVideo, AudioAudiobook, AudioLossless, AudioOther, AudioForeign });
PC.SubCategories.AddRange(new List<TorznabCategory> { PC0day, PCISO, PCMac, PCPhoneOther, PCGames, PCPhoneIOS, PCPhoneAndroid });
TV.SubCategories.AddRange(new List<TorznabCategory> { TVWEBDL, TVFOREIGN, TVSD, TVHD, TVOTHER, TVSport, TVAnime, TVDocumentary });
TV.SubCategories.AddRange(new List<TorznabCategory> { TVWEBDL, TVFOREIGN, TVSD, TVHD, TVUHD, TVOTHER, TVSport, TVAnime, TVDocumentary });
XXX.SubCategories.AddRange(new List<TorznabCategory> { XXXDVD, XXXWMV, XXXXviD, XXXx264, XXXOther, XXXImageset, XXXPacks });