diff --git a/src/NzbDrone.Core/Indexers/NewznabStandardCategory.cs b/src/NzbDrone.Core/Indexers/NewznabStandardCategory.cs index 99e75d538..3b979a546 100644 --- a/src/NzbDrone.Core/Indexers/NewznabStandardCategory.cs +++ b/src/NzbDrone.Core/Indexers/NewznabStandardCategory.cs @@ -5,88 +5,88 @@ namespace NzbDrone.Core.Indexers { public static class NewznabStandardCategory { - public static readonly IndexerCategory ZedOther = new IndexerCategory(0000, "Other"); - public static readonly IndexerCategory ZedOtherMisc = new IndexerCategory(0010, "Other/Misc"); - public static readonly IndexerCategory ZedOtherHashed = new IndexerCategory(0020, "Other/Hashed"); + public static readonly IndexerCategory ZedOther = new (0000, "Other"); + public static readonly IndexerCategory ZedOtherMisc = new (0010, "Other/Misc"); + public static readonly IndexerCategory ZedOtherHashed = new (0020, "Other/Hashed"); - public static readonly IndexerCategory Console = new IndexerCategory(1000, "Console"); - public static readonly IndexerCategory ConsoleNDS = new IndexerCategory(1010, "Console/NDS"); - public static readonly IndexerCategory ConsolePSP = new IndexerCategory(1020, "Console/PSP"); - public static readonly IndexerCategory ConsoleWii = new IndexerCategory(1030, "Console/Wii"); - public static readonly IndexerCategory ConsoleXBox = new IndexerCategory(1040, "Console/XBox"); - public static readonly IndexerCategory ConsoleXBox360 = new IndexerCategory(1050, "Console/XBox 360"); - public static readonly IndexerCategory ConsoleWiiware = new IndexerCategory(1060, "Console/Wiiware"); - public static readonly IndexerCategory ConsoleXBox360DLC = new IndexerCategory(1070, "Console/XBox 360 DLC"); - public static readonly IndexerCategory ConsolePS3 = new IndexerCategory(1080, "Console/PS3"); - public static readonly IndexerCategory ConsoleOther = new IndexerCategory(1090, "Console/Other"); - public static readonly IndexerCategory Console3DS = new IndexerCategory(1110, "Console/3DS"); - public static readonly IndexerCategory ConsolePSVita = new IndexerCategory(1120, "Console/PS Vita"); - public static readonly IndexerCategory ConsoleWiiU = new IndexerCategory(1130, "Console/WiiU"); - public static readonly IndexerCategory ConsoleXBoxOne = new IndexerCategory(1140, "Console/XBox One"); - public static readonly IndexerCategory ConsolePS4 = new IndexerCategory(1180, "Console/PS4"); + public static readonly IndexerCategory Console = new (1000, "Console"); + public static readonly IndexerCategory ConsoleNDS = new (1010, "Console/NDS"); + public static readonly IndexerCategory ConsolePSP = new (1020, "Console/PSP"); + public static readonly IndexerCategory ConsoleWii = new (1030, "Console/Wii"); + public static readonly IndexerCategory ConsoleXBox = new (1040, "Console/XBox"); + public static readonly IndexerCategory ConsoleXBox360 = new (1050, "Console/XBox 360"); + public static readonly IndexerCategory ConsoleWiiware = new (1060, "Console/Wiiware"); + public static readonly IndexerCategory ConsoleXBox360DLC = new (1070, "Console/XBox 360 DLC"); + public static readonly IndexerCategory ConsolePS3 = new (1080, "Console/PS3"); + public static readonly IndexerCategory ConsoleOther = new (1090, "Console/Other"); + public static readonly IndexerCategory Console3DS = new (1110, "Console/3DS"); + public static readonly IndexerCategory ConsolePSVita = new (1120, "Console/PS Vita"); + public static readonly IndexerCategory ConsoleWiiU = new (1130, "Console/WiiU"); + public static readonly IndexerCategory ConsoleXBoxOne = new (1140, "Console/XBox One"); + public static readonly IndexerCategory ConsolePS4 = new (1180, "Console/PS4"); - public static readonly IndexerCategory Movies = new IndexerCategory(2000, "Movies"); - public static readonly IndexerCategory MoviesForeign = new IndexerCategory(2010, "Movies/Foreign"); - public static readonly IndexerCategory MoviesOther = new IndexerCategory(2020, "Movies/Other"); - public static readonly IndexerCategory MoviesSD = new IndexerCategory(2030, "Movies/SD"); - public static readonly IndexerCategory MoviesHD = new IndexerCategory(2040, "Movies/HD"); - public static readonly IndexerCategory MoviesUHD = new IndexerCategory(2045, "Movies/UHD"); - public static readonly IndexerCategory MoviesBluRay = new IndexerCategory(2050, "Movies/BluRay"); - public static readonly IndexerCategory Movies3D = new IndexerCategory(2060, "Movies/3D"); - public static readonly IndexerCategory MoviesDVD = new IndexerCategory(2070, "Movies/DVD"); - public static readonly IndexerCategory MoviesWEBDL = new IndexerCategory(2080, "Movies/WEB-DL"); + public static readonly IndexerCategory Movies = new (2000, "Movies"); + public static readonly IndexerCategory MoviesForeign = new (2010, "Movies/Foreign"); + public static readonly IndexerCategory MoviesOther = new (2020, "Movies/Other"); + public static readonly IndexerCategory MoviesSD = new (2030, "Movies/SD"); + public static readonly IndexerCategory MoviesHD = new (2040, "Movies/HD"); + public static readonly IndexerCategory MoviesUHD = new (2045, "Movies/UHD"); + public static readonly IndexerCategory MoviesBluRay = new (2050, "Movies/BluRay"); + 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 Audio = new IndexerCategory(3000, "Audio"); - public static readonly IndexerCategory AudioMP3 = new IndexerCategory(3010, "Audio/MP3"); - public static readonly IndexerCategory AudioVideo = new IndexerCategory(3020, "Audio/Video"); - public static readonly IndexerCategory AudioAudiobook = new IndexerCategory(3030, "Audio/Audiobook"); - public static readonly IndexerCategory AudioLossless = new IndexerCategory(3040, "Audio/Lossless"); - public static readonly IndexerCategory AudioOther = new IndexerCategory(3050, "Audio/Other"); - public static readonly IndexerCategory AudioForeign = new IndexerCategory(3060, "Audio/Foreign"); + public static readonly IndexerCategory Audio = new (3000, "Audio"); + public static readonly IndexerCategory AudioMP3 = new (3010, "Audio/MP3"); + public static readonly IndexerCategory AudioVideo = new (3020, "Audio/Video"); + public static readonly IndexerCategory AudioAudiobook = new (3030, "Audio/Audiobook"); + public static readonly IndexerCategory AudioLossless = new (3040, "Audio/Lossless"); + public static readonly IndexerCategory AudioOther = new (3050, "Audio/Other"); + public static readonly IndexerCategory AudioForeign = new (3060, "Audio/Foreign"); - public static readonly IndexerCategory PC = new IndexerCategory(4000, "PC"); - public static readonly IndexerCategory PC0day = new IndexerCategory(4010, "PC/0day"); - public static readonly IndexerCategory PCISO = new IndexerCategory(4020, "PC/ISO"); - public static readonly IndexerCategory PCMac = new IndexerCategory(4030, "PC/Mac"); - public static readonly IndexerCategory PCMobileOther = new IndexerCategory(4040, "PC/Mobile-Other"); - public static readonly IndexerCategory PCGames = new IndexerCategory(4050, "PC/Games"); - public static readonly IndexerCategory PCMobileiOS = new IndexerCategory(4060, "PC/Mobile-iOS"); - public static readonly IndexerCategory PCMobileAndroid = new IndexerCategory(4070, "PC/Mobile-Android"); + public static readonly IndexerCategory PC = new (4000, "PC"); + public static readonly IndexerCategory PC0day = new (4010, "PC/0day"); + public static readonly IndexerCategory PCISO = new (4020, "PC/ISO"); + public static readonly IndexerCategory PCMac = new (4030, "PC/Mac"); + public static readonly IndexerCategory PCMobileOther = new (4040, "PC/Mobile-Other"); + public static readonly IndexerCategory PCGames = new (4050, "PC/Games"); + public static readonly IndexerCategory PCMobileiOS = new (4060, "PC/Mobile-iOS"); + public static readonly IndexerCategory PCMobileAndroid = new (4070, "PC/Mobile-Android"); - public static readonly IndexerCategory TV = new IndexerCategory(5000, "TV"); - public static readonly IndexerCategory TVWEBDL = new IndexerCategory(5010, "TV/WEB-DL"); - public static readonly IndexerCategory TVForeign = new IndexerCategory(5020, "TV/Foreign"); - public static readonly IndexerCategory TVSD = new IndexerCategory(5030, "TV/SD"); - public static readonly IndexerCategory TVHD = new IndexerCategory(5040, "TV/HD"); - public static readonly IndexerCategory TVUHD = new IndexerCategory(5045, "TV/UHD"); - public static readonly IndexerCategory TVOther = new IndexerCategory(5050, "TV/Other"); - public static readonly IndexerCategory TVSport = new IndexerCategory(5060, "TV/Sport"); - public static readonly IndexerCategory TVAnime = new IndexerCategory(5070, "TV/Anime"); - public static readonly IndexerCategory TVDocumentary = new IndexerCategory(5080, "TV/Documentary"); + public static readonly IndexerCategory TV = new (5000, "TV"); + public static readonly IndexerCategory TVWEBDL = new (5010, "TV/WEB-DL"); + public static readonly IndexerCategory TVForeign = new (5020, "TV/Foreign"); + public static readonly IndexerCategory TVSD = new (5030, "TV/SD"); + public static readonly IndexerCategory TVHD = new (5040, "TV/HD"); + public static readonly IndexerCategory TVUHD = new (5045, "TV/UHD"); + public static readonly IndexerCategory TVOther = new (5050, "TV/Other"); + 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 XXX = new IndexerCategory(6000, "XXX"); - public static readonly IndexerCategory XXXDVD = new IndexerCategory(6010, "XXX/DVD"); - public static readonly IndexerCategory XXXWMV = new IndexerCategory(6020, "XXX/WMV"); - public static readonly IndexerCategory XXXXviD = new IndexerCategory(6030, "XXX/XviD"); - public static readonly IndexerCategory XXXx264 = new IndexerCategory(6040, "XXX/x264"); - public static readonly IndexerCategory XXXUHD = new IndexerCategory(6045, "XXX/UHD"); - public static readonly IndexerCategory XXXPack = new IndexerCategory(6050, "XXX/Pack"); - public static readonly IndexerCategory XXXImageSet = new IndexerCategory(6060, "XXX/ImageSet"); - public static readonly IndexerCategory XXXOther = new IndexerCategory(6070, "XXX/Other"); - public static readonly IndexerCategory XXXSD = new IndexerCategory(6080, "XXX/SD"); - public static readonly IndexerCategory XXXWEBDL = new IndexerCategory(6090, "XXX/WEB-DL"); + public static readonly IndexerCategory XXX = new (6000, "XXX"); + public static readonly IndexerCategory XXXDVD = new (6010, "XXX/DVD"); + public static readonly IndexerCategory XXXWMV = new (6020, "XXX/WMV"); + public static readonly IndexerCategory XXXXviD = new (6030, "XXX/XviD"); + public static readonly IndexerCategory XXXx264 = new (6040, "XXX/x264"); + public static readonly IndexerCategory XXXUHD = new (6045, "XXX/UHD"); + public static readonly IndexerCategory XXXPack = new (6050, "XXX/Pack"); + public static readonly IndexerCategory XXXImageSet = new (6060, "XXX/ImageSet"); + public static readonly IndexerCategory XXXOther = new (6070, "XXX/Other"); + public static readonly IndexerCategory XXXSD = new (6080, "XXX/SD"); + public static readonly IndexerCategory XXXWEBDL = new (6090, "XXX/WEB-DL"); - public static readonly IndexerCategory Books = new IndexerCategory(7000, "Books"); - public static readonly IndexerCategory BooksMags = new IndexerCategory(7010, "Books/Mags"); - public static readonly IndexerCategory BooksEBook = new IndexerCategory(7020, "Books/EBook"); - public static readonly IndexerCategory BooksComics = new IndexerCategory(7030, "Books/Comics"); - public static readonly IndexerCategory BooksTechnical = new IndexerCategory(7040, "Books/Technical"); - public static readonly IndexerCategory BooksOther = new IndexerCategory(7050, "Books/Other"); - public static readonly IndexerCategory BooksForeign = new IndexerCategory(7060, "Books/Foreign"); + public static readonly IndexerCategory Books = new (7000, "Books"); + public static readonly IndexerCategory BooksMags = new (7010, "Books/Mags"); + public static readonly IndexerCategory BooksEBook = new (7020, "Books/EBook"); + public static readonly IndexerCategory BooksComics = new (7030, "Books/Comics"); + public static readonly IndexerCategory BooksTechnical = new (7040, "Books/Technical"); + public static readonly IndexerCategory BooksOther = new (7050, "Books/Other"); + public static readonly IndexerCategory BooksForeign = new (7060, "Books/Foreign"); - public static readonly IndexerCategory Other = new IndexerCategory(8000, "Other"); - public static readonly IndexerCategory OtherMisc = new IndexerCategory(8010, "Other/Misc"); - public static readonly IndexerCategory OtherHashed = new IndexerCategory(8020, "Other/Hashed"); + public static readonly IndexerCategory Other = new (8000, "Other"); + public static readonly IndexerCategory OtherMisc = new (8010, "Other/Misc"); + public static readonly IndexerCategory OtherHashed = new (8020, "Other/Hashed"); public static readonly IndexerCategory[] ParentCats = {