You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
442 B
20 lines
442 B
using NzbDrone.Core.Indexers;
|
|
using Prowlarr.Api.V1;
|
|
|
|
namespace NzbDrone.Api.V1.Indexers
|
|
{
|
|
public class IndexerDefaultCategoriesModule : ProwlarrV1Module
|
|
{
|
|
public IndexerDefaultCategoriesModule()
|
|
: base("/indexer/categories")
|
|
{
|
|
Get("/", movie => GetAll());
|
|
}
|
|
|
|
private IndexerCategory[] GetAll()
|
|
{
|
|
return NewznabStandardCategory.ParentCats;
|
|
}
|
|
}
|
|
}
|