removed filesharingtalk.

pull/4/head
kay.one 12 years ago
parent 42a7e062d6
commit 660185640d

@ -1,56 +0,0 @@
using System;
using System.Collections.Generic;
namespace NzbDrone.Core.Indexers.FileSharingTalk
{
public class FileSharingTalk : IndexerWithSetting<FileSharingTalkSetting>
{
public FileSharingTalk(IProviderIndexerSetting settingProvider)
: base(settingProvider)
{
}
public override IEnumerable<string> RecentFeed
{
get
{
yield return string.Format(
"http://filesharingtalk.com/ng_rss.php?uid={0}&ps={1}&category=tv&subcategory=x264sd,x264720,xvid,webdl720,x2641080",
Settings.Uid, Settings.Secret);
}
}
public override IParseFeed Parser
{
get
{
return new FileSharingTalkParser();
}
}
public override string Name
{
get { return "FileSharingTalk"; }
}
public override IEnumerable<string> GetEpisodeSearchUrls(string seriesTitle, int seasonNumber, int episodeNumber)
{
return new List<string>();
}
public override IEnumerable<string> GetDailyEpisodeSearchUrls(string seriesTitle, DateTime date)
{
return new List<string>();
}
public override IEnumerable<string> GetSeasonSearchUrls(string seriesTitle, int seasonNumber)
{
return new List<string>();
}
public override IEnumerable<string> GetPartialSeasonSearchUrls(string seriesTitle, int seasonNumber, int episodeWildcard)
{
return new List<string>();
}
}
}

@ -1,26 +0,0 @@
using System.ServiceModel.Syndication;
using NzbDrone.Core.Model;
using NzbDrone.Core.Parser;
using NzbDrone.Core.Parser.Model;
namespace NzbDrone.Core.Indexers.FileSharingTalk
{
public class FileSharingTalkParser : BasicRssParser
{
protected override string GetNzbInfoUrl(SyndicationItem item)
{
return item.Id;
}
protected override ReportInfo PostProcessor(SyndicationItem item, ReportInfo currentResult)
{
if (currentResult != null)
{
currentResult.Size = 0;
currentResult.Age = 0;
}
return currentResult;
}
}
}

@ -1,18 +0,0 @@
using System;
namespace NzbDrone.Core.Indexers.FileSharingTalk
{
public class FileSharingTalkSetting : IIndexerSetting
{
public String Uid { get; set; }
public String Secret { get; set; }
public bool IsValid
{
get
{
return !string.IsNullOrWhiteSpace(Uid) && !string.IsNullOrWhiteSpace(Secret);
}
}
}
}

@ -257,8 +257,6 @@
<Compile Include="IndexerSearch\SearchAndDownloadService.cs" />
<Compile Include="Indexers\BasicRssParser.cs" />
<Compile Include="Indexers\RssSyncService.cs" />
<Compile Include="Indexers\FileSharingTalk\FileSharingTalk.cs" />
<Compile Include="Indexers\FileSharingTalk\FileSharingTalkParser.cs" />
<Compile Include="Indexers\Indexer.cs" />
<Compile Include="Indexers\IndexerDefinition.cs" />
<Compile Include="Indexers\IndexerRepository.cs" />
@ -278,7 +276,6 @@
<Compile Include="Indexers\Nzbx\NzbxParser.cs" />
<Compile Include="Indexers\Omgwtfnzbs\Omgwtfnzbs.cs" />
<Compile Include="Indexers\Omgwtfnzbs\OmgwtfnzbsParser.cs" />
<Compile Include="Indexers\FileSharingTalk\FileSharingTalkSettings.cs" />
<Compile Include="Indexers\IIndexerSettings.cs" />
<Compile Include="Indexers\NzbsRUs\NzbsrusSettings.cs" />
<Compile Include="Indexers\Omgwtfnzbs\OmgwtfnzbsSettings.cs" />

Loading…
Cancel
Save