mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00

* Add basic support for Cardigann definitions * Add HDME definition * Fix tests * support split with negative indexes * allow FromTimeAgo formats without spaces betwen value and unit Example: 2h 3m * Add basic support for Cardigann definitions * Add HDME definition * Fix tests * support split with negative indexes * allow FromTimeAgo formats without spaces betwen value and unit Example: 2h 3m
52 lines
1.1 KiB
C#
52 lines
1.1 KiB
C#
using Jackett.Services;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Jackett.Indexers;
|
|
using Newtonsoft.Json.Linq;
|
|
|
|
namespace JackettTest
|
|
{
|
|
class TestIndexerManagerServiceHelper : IIndexerManagerService
|
|
{
|
|
public JToken LastSavedConfig { get; set; }
|
|
|
|
public void DeleteIndexer(string name)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public IEnumerable<IIndexer> GetAllIndexers()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public IIndexer GetIndexer(string name)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public void InitIndexers()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public void SaveConfig(IIndexer indexer, JToken obj)
|
|
{
|
|
LastSavedConfig = obj;
|
|
}
|
|
|
|
public Task TestIndexer(string name)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public void InitCardigannIndexers(string path)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|