mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-28 07:40:50 +02:00
Fixed: (BHD) TMDb Parsing Exception
This commit is contained in:
parent
d440bc079f
commit
4f83116413
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ public IList<ReleaseInfo> ParseResponse(IndexerResponse indexerResponse)
|
|||
Grabs = row.Grabs,
|
||||
Seeders = row.Seeders,
|
||||
ImdbId = ParseUtil.GetImdbID(row.ImdbId).GetValueOrDefault(),
|
||||
TmdbId = row.TmdbId.IsNullOrWhiteSpace() ? 0 : ParseUtil.CoerceInt(row.TmdbId.Split("/")[1]),
|
||||
TmdbId = row.TmdbId.IsNullOrWhiteSpace() ? 0 : (int)ParseUtil.CoerceLong(row.TmdbId.Split("/")[1]),
|
||||
Peers = row.Leechers + row.Seeders,
|
||||
DownloadVolumeFactor = row.Freeleech || row.Limited ? 0 : row.Promo75 ? 0.25 : row.Promo50 ? 0.5 : row.Promo25 ? 0.75 : 1,
|
||||
UploadVolumeFactor = 1,
|
||||
|
|
|
|||
Loading…
Reference in a new issue