mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-04-24 05:47:22 -04:00
Return 1 seeder as fallback in Torrent RSS Feed
This commit is contained in:
parent
478d5a624f
commit
0f3a77c336
1 changed files with 4 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue