mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-30 15:37:55 +02:00
Return 1 seeder as fallback in Torrent RSS Feed
This commit is contained in:
@@ -145,7 +145,8 @@ namespace NzbDrone.Core.Indexers
|
||||
return (int)seeds;
|
||||
}
|
||||
|
||||
return null;
|
||||
// Return 1 seeder as fallback
|
||||
return 1;
|
||||
}
|
||||
|
||||
protected virtual int? GetPeers(XElement item)
|
||||
@@ -174,7 +175,8 @@ namespace NzbDrone.Core.Indexers
|
||||
return int.Parse(itempeers.Value);
|
||||
}
|
||||
|
||||
return null;
|
||||
// Ensure returning 1 seeder as fallback
|
||||
return 1;
|
||||
}
|
||||
|
||||
protected override long GetSize(XElement item)
|
||||
|
Reference in New Issue
Block a user