Revert Various

Revert "Fixed: (HttpClient) Increase cookie limit per domain to 100"

This reverts commit f67c672ec7.

Revert "Add exclusive only"

This reverts commit 80425f5ea4.

Revert "GGn Snatched + Pagination"This reverts commit 758cae3f40.

Revert "Fixed: (PassThePopcorn) Generate titles for full discs"

This reverts commit fbf4ff6777.
This commit is contained in:
bakerboy448
2025-09-06 10:57:17 -05:00
parent f67c672ec7
commit 770fd64013
7 changed files with 5 additions and 101 deletions
@@ -37,7 +37,6 @@ namespace NzbDrone.Core.Indexers.Definitions.PassThePopcorn
public string Seeders { get; set; }
public string Leechers { get; set; }
public string ReleaseName { get; set; }
public string ReleaseGroup { get; set; }
public bool Checked { get; set; }
public bool GoldenPopcorn { get; set; }
public string FreeleechType { get; set; }
@@ -93,7 +93,7 @@ namespace NzbDrone.Core.Indexers.Definitions.PassThePopcorn
torrentInfos.Add(new TorrentInfo
{
Guid = $"PassThePopcorn-{id}",
Title = GetTitle(torrent, result),
Title = title,
Year = int.Parse(result.Year),
InfoUrl = GetInfoUrl(result.GroupId, id),
DownloadUrl = GetDownloadUrl(id),
@@ -119,55 +119,6 @@ namespace NzbDrone.Core.Indexers.Definitions.PassThePopcorn
return torrentInfos;
}
private static string GetTitle(PassThePopcornTorrent torrent, PassThePopcornMovie result)
{
var title = torrent.ReleaseName;
if (torrent.Container.ToUpperInvariant() is "M2TS" or "ISO" or "VOB IFO" || !torrent.ReleaseName.Contains(result.Year))
{
title = $"{result.Title} ({result.Year})";
var titleTags = new List<string>();
if (torrent.Resolution.IsNotNullOrWhiteSpace())
{
titleTags.Add(torrent.Resolution);
}
if (torrent.Source.IsNotNullOrWhiteSpace())
{
titleTags.Add(torrent.Source);
}
if (torrent.Codec.IsNotNullOrWhiteSpace())
{
titleTags.Add(torrent.Codec);
}
if (torrent.Container.IsNotNullOrWhiteSpace())
{
titleTags.Add(torrent.Container.ToUpperInvariant());
}
if (torrent.RemasterTitle.IsNotNullOrWhiteSpace())
{
titleTags.Add(torrent.RemasterTitle);
}
if (titleTags.Any())
{
title += $" {string.Join(" / ", titleTags)}";
}
if (torrent.ReleaseGroup.IsNotNullOrWhiteSpace())
{
title += $" -{torrent.ReleaseGroup}";
}
}
return title;
}
public Action<IDictionary<string, string>, DateTime?> CookiesUpdater { get; set; }
private string GetDownloadUrl(int torrentId)