1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-01 04:38:20 +00:00

AnimeBytes: fix RAW tag setting (#7066) resolves #7027

This commit is contained in:
feffe 2020-02-06 03:27:26 +01:00 committed by GitHub
parent b9dbba280b
commit daa1149bd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -344,16 +344,10 @@ namespace Jackett.Common.Indexers
{
releasegroup = string.Empty;
}
if (!AllowRaws && releaseTags.Contains("raw", StringComparer.InvariantCultureIgnoreCase))
continue;
var infoString = "";
for (int i = 0; i + 1 < releaseTags.Count(); i++)
{
if (releaseTags[i] == "Raw" && !AllowRaws)
continue;
infoString += "[" + releaseTags[i] + "]";
}
var infoString = releaseTags.Aggregate("", (prev, cur) => prev + "[" + cur + "]" );
var MinimumSeedTime = 259200;
// Additional 5 hours per GB
MinimumSeedTime += (int)((Size / 1000000000) * 18000);