Updated PTP GOlden to be the popcorn emoji

This commit is contained in:
Devin Buhl 2017-01-09 07:56:24 -05:00
parent 480764e401
commit c6cf0f5fc5
3 changed files with 4 additions and 11 deletions

View File

@ -48,7 +48,7 @@ namespace NzbDrone.Core.Indexers.PassThePopcorn
if (torrent.GoldenPopcorn)
{
title = $"{title} ";
title = $"{title} 🍿";
}
if (torrent.Checked)

View File

@ -15,7 +15,7 @@ namespace NzbDrone.Core.Indexers.PassThePopcorn
{
var pageableRequests = new IndexerPageableRequestChain();
pageableRequests.Add(GetRequest(""));
pageableRequests.Add(GetRequest(null));
return pageableRequests;
}
@ -52,9 +52,9 @@ namespace NzbDrone.Core.Indexers.PassThePopcorn
return new IndexerPageableRequestChain();
}
private IEnumerable<IndexerRequest> GetRequest(string query)
private IEnumerable<IndexerRequest> GetRequest(string searchParameters)
{
var request = new IndexerRequest(string.Format("{0}/torrents.php?json=noredirect&searchstr={1}", Settings.BaseUrl.Trim().TrimEnd('/'), query), HttpAccept.Json);
var request = new IndexerRequest(string.Format("{0}/torrents.php?json=noredirect&searchstr={1}", Settings.BaseUrl.Trim().TrimEnd('/'), searchParameters), HttpAccept.Json);
foreach (var cookie in HttpHeader.ParseCookies(Settings.Cookie))
{

View File

@ -575,13 +575,6 @@
<Compile Include="Indexers\BitMeTv\BitMeTv.cs" />
<Compile Include="Indexers\BitMeTv\BitMeTvSettings.cs" />
<Compile Include="Indexers\BitMeTv\BitMeTvRequestGenerator.cs" />
<Compile Include="Indexers\BroadcastheNet\BroadcastheNetRequestGenerator.cs" />
<Compile Include="Indexers\BroadcastheNet\BroadcastheNet.cs" />
<Compile Include="Indexers\BroadcastheNet\BroadcastheNetSettings.cs" />
<Compile Include="Indexers\BroadcastheNet\BroadcastheNetParser.cs" />
<Compile Include="Indexers\BroadcastheNet\BroadcastheNetTorrent.cs" />
<Compile Include="Indexers\BroadcastheNet\BroadcastheNetTorrentQuery.cs" />
<Compile Include="Indexers\BroadcastheNet\BroadcastheNetTorrents.cs" />
<Compile Include="Indexers\DownloadProtocol.cs" />
<Compile Include="Indexers\Exceptions\ApiKeyException.cs" />
<Compile Include="Indexers\Exceptions\IndexerException.cs" />