diff --git a/src/Jackett/Indexers/Abstract/GazelleTracker.cs b/src/Jackett/Indexers/Abstract/GazelleTracker.cs index de5396507..9966066e9 100644 --- a/src/Jackett/Indexers/Abstract/GazelleTracker.cs +++ b/src/Jackett/Indexers/Abstract/GazelleTracker.cs @@ -126,9 +126,9 @@ namespace Jackett.Indexers.Abstract if (!string.IsNullOrEmpty(artist)) release.Title += artist + " - "; release.Title += groupName; - if (!string.IsNullOrEmpty(groupYear)) + if (!string.IsNullOrEmpty(groupYear) && groupYear != "0") release.Title += " [" + groupYear + "]"; - if (!string.IsNullOrEmpty(releaseType)) + if (!string.IsNullOrEmpty(releaseType) && releaseType != "Unknown") release.Title += " [" + releaseType + "]"; release.Description = ""; @@ -180,7 +180,7 @@ namespace Jackett.Indexers.Abstract var format = (string)torrent["format"]; if (!string.IsNullOrEmpty(format)) - flags.Add(format); + flags.Add(HttpUtility.HtmlDecode(format)); var encoding = (string)torrent["encoding"]; if (!string.IsNullOrEmpty(encoding)) diff --git a/src/Jackett/Indexers/BrokenStones.cs b/src/Jackett/Indexers/BrokenStones.cs new file mode 100644 index 000000000..ef887c7fb --- /dev/null +++ b/src/Jackett/Indexers/BrokenStones.cs @@ -0,0 +1,34 @@ +using Jackett.Models; +using NLog; +using Jackett.Services; +using Jackett.Utils.Clients; +using Jackett.Indexers.Abstract; + +namespace Jackett.Indexers +{ + public class BrokenStones : GazelleTracker, IIndexer + { + public BrokenStones(IIndexerManagerService indexerManager, IWebClient webClient, Logger logger, IProtectionService protectionService) + : base(name: "BrokenStones", + desc: null, + link: "https://brokenstones.club/", + indexerManager: indexerManager, + logger: logger, + protectionService: protectionService, + webClient: webClient + ) + { + Language = "en-us"; + Type = "private"; + + AddCategoryMapping(1, TorznabCatType.PCMac, "MacOS Apps"); + AddCategoryMapping(2, TorznabCatType.PCMac, "MacOS Games"); + AddCategoryMapping(3, TorznabCatType.PCPhoneIOS, "iOS Apps"); + AddCategoryMapping(4, TorznabCatType.PCPhoneIOS, "iOS Games"); + AddCategoryMapping(5, TorznabCatType.Other, "Graphics"); + AddCategoryMapping(6, TorznabCatType.Audio, "Audio"); + AddCategoryMapping(7, TorznabCatType.Other, "Tutorials"); + AddCategoryMapping(8, TorznabCatType.Other, "Other"); + } + } +} \ No newline at end of file diff --git a/src/Jackett/Jackett.csproj b/src/Jackett/Jackett.csproj index 06a1650c3..953f9b508 100644 --- a/src/Jackett/Jackett.csproj +++ b/src/Jackett/Jackett.csproj @@ -185,6 +185,7 @@ +