From 660185640dc7d50271c174d99fc3d841e2988b82 Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Sun, 28 Apr 2013 22:58:02 -0700 Subject: [PATCH] removed filesharingtalk. --- .../FileSharingTalk/FileSharingTalk.cs | 56 ------------------- .../FileSharingTalk/FileSharingTalkParser.cs | 26 --------- .../FileSharingTalkSettings.cs | 18 ------ NzbDrone.Core/NzbDrone.Core.csproj | 3 - 4 files changed, 103 deletions(-) delete mode 100644 NzbDrone.Core/Indexers/FileSharingTalk/FileSharingTalk.cs delete mode 100644 NzbDrone.Core/Indexers/FileSharingTalk/FileSharingTalkParser.cs delete mode 100644 NzbDrone.Core/Indexers/FileSharingTalk/FileSharingTalkSettings.cs diff --git a/NzbDrone.Core/Indexers/FileSharingTalk/FileSharingTalk.cs b/NzbDrone.Core/Indexers/FileSharingTalk/FileSharingTalk.cs deleted file mode 100644 index b604a72b5..000000000 --- a/NzbDrone.Core/Indexers/FileSharingTalk/FileSharingTalk.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace NzbDrone.Core.Indexers.FileSharingTalk -{ - public class FileSharingTalk : IndexerWithSetting - { - public FileSharingTalk(IProviderIndexerSetting settingProvider) - : base(settingProvider) - { - } - - public override IEnumerable 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 GetEpisodeSearchUrls(string seriesTitle, int seasonNumber, int episodeNumber) - { - return new List(); - } - - public override IEnumerable GetDailyEpisodeSearchUrls(string seriesTitle, DateTime date) - { - return new List(); - } - - public override IEnumerable GetSeasonSearchUrls(string seriesTitle, int seasonNumber) - { - return new List(); - } - - public override IEnumerable GetPartialSeasonSearchUrls(string seriesTitle, int seasonNumber, int episodeWildcard) - { - return new List(); - } - } -} \ No newline at end of file diff --git a/NzbDrone.Core/Indexers/FileSharingTalk/FileSharingTalkParser.cs b/NzbDrone.Core/Indexers/FileSharingTalk/FileSharingTalkParser.cs deleted file mode 100644 index 33a22d7a8..000000000 --- a/NzbDrone.Core/Indexers/FileSharingTalk/FileSharingTalkParser.cs +++ /dev/null @@ -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; - } - } -} \ No newline at end of file diff --git a/NzbDrone.Core/Indexers/FileSharingTalk/FileSharingTalkSettings.cs b/NzbDrone.Core/Indexers/FileSharingTalk/FileSharingTalkSettings.cs deleted file mode 100644 index b279e94a3..000000000 --- a/NzbDrone.Core/Indexers/FileSharingTalk/FileSharingTalkSettings.cs +++ /dev/null @@ -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); - } - } - } -} diff --git a/NzbDrone.Core/NzbDrone.Core.csproj b/NzbDrone.Core/NzbDrone.Core.csproj index b7fd0c76a..d313c6f54 100644 --- a/NzbDrone.Core/NzbDrone.Core.csproj +++ b/NzbDrone.Core/NzbDrone.Core.csproj @@ -257,8 +257,6 @@ - - @@ -278,7 +276,6 @@ -