mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
core: baseIndexer. change the GUID generation order. resolves #12463
try the link first, then the magnet, then the details. By defaulting to details first, cardigann indexers can in some cases create the same GUID for different torrents under the one title group.
This commit is contained in:
@@ -306,12 +306,12 @@ namespace Jackett.Common.Indexers
|
||||
// set guid
|
||||
if (r.Guid == null)
|
||||
{
|
||||
if (r.Details != null)
|
||||
r.Guid = r.Details;
|
||||
else if (r.Link != null)
|
||||
if (r.Link != null)
|
||||
r.Guid = r.Link;
|
||||
else if (r.MagnetUri != null)
|
||||
r.Guid = r.MagnetUri;
|
||||
else if (r.Details != null)
|
||||
r.Guid = r.Details;
|
||||
}
|
||||
|
||||
return r;
|
||||
|
Reference in New Issue
Block a user