mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-30 08:40:48 +02:00
Simplify use the group name when the release name is empty
This commit is contained in:
parent
cdb3ed36f6
commit
3cabc0589a
1 changed files with 1 additions and 6 deletions
|
|
@ -226,12 +226,7 @@ public IList<ReleaseInfo> ParseResponse(IndexerResponse indexerResponse)
|
|||
{
|
||||
var details = _settings.BaseUrl + "torrents.php?id=" + row.TorrentId;
|
||||
|
||||
var title = row.ReleaseTitle;
|
||||
|
||||
if (title.IsNullOrWhiteSpace())
|
||||
{
|
||||
title = row.GroupName;
|
||||
}
|
||||
var title = row.ReleaseTitle.IsNotNullOrWhiteSpace() ? row.ReleaseTitle : row.GroupName;
|
||||
|
||||
var release = new TorrentInfo
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue