1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-02 21:26:08 +00:00

PassThePopcorn: make GUID uniq

This commit is contained in:
kaso17 2017-11-10 16:56:08 +01:00
parent a38b13608e
commit c216727735

View file

@ -144,7 +144,6 @@ namespace Jackett.Indexers
release.BannerUrl = coverUri;
release.Imdb = movie_imdbid;
release.Comments = new Uri(string.Format("{0}?id={1}", SearchUrl, WebUtility.UrlEncode(movie_groupid)));
release.Guid = release.Comments;
release.Size = long.Parse((string)torrent["Size"]);
release.Grabs = long.Parse((string)torrent["Snatched"]);
release.Seeders = int.Parse((string)torrent["Seeders"]);
@ -153,6 +152,7 @@ namespace Jackett.Indexers
CultureInfo.InvariantCulture, DateTimeStyles.AssumeUniversal).ToLocalTime();
release.Link = new Uri(string.Format("{0}?action=download&id={1}&authkey={2}&torrent_pass={3}",
SearchUrl, WebUtility.UrlEncode((string)torrent["Id"]), WebUtility.UrlEncode(AuthKey), WebUtility.UrlEncode(configData.Passkey.Value)));
release.Guid = release.Link;
release.MinimumRatio = 1;
release.MinimumSeedTime = 345600;
release.Category = new List<int> { 2000 };