From dbbc91380920c203514d536f5c4ace527ac391b4 Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Wed, 8 Sep 2021 15:36:14 -0500 Subject: [PATCH] New: (InternetArchive) Add Support for TV Categories ref API docs `movies: any item where the main media content is video files, like mpeg, mov, avi, etc` --- src/NzbDrone.Core/Indexers/Definitions/InternetArchive.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NzbDrone.Core/Indexers/Definitions/InternetArchive.cs b/src/NzbDrone.Core/Indexers/Definitions/InternetArchive.cs index 91e01dded..0e1710969 100644 --- a/src/NzbDrone.Core/Indexers/Definitions/InternetArchive.cs +++ b/src/NzbDrone.Core/Indexers/Definitions/InternetArchive.cs @@ -71,10 +71,12 @@ namespace NzbDrone.Core.Indexers.Definitions }; // c.f. https://archive.org/services/docs/api/metadata-schema/index.html?highlight=mediatype#mediatype + // "Movies" is a catch all category for videos caps.Categories.AddCategoryMapping("texts", NewznabStandardCategory.Books); caps.Categories.AddCategoryMapping("etree", NewznabStandardCategory.Audio); caps.Categories.AddCategoryMapping("audio", NewznabStandardCategory.Audio); caps.Categories.AddCategoryMapping("movies", NewznabStandardCategory.Movies); + caps.Categories.AddCategoryMapping("movies", NewznabStandardCategory.TV); caps.Categories.AddCategoryMapping("software", NewznabStandardCategory.PC); caps.Categories.AddCategoryMapping("image", NewznabStandardCategory.OtherMisc); caps.Categories.AddCategoryMapping("data", NewznabStandardCategory.Other);