mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
core: prefer object initializers (#7342)
This commit is contained in:
@@ -363,13 +363,14 @@ namespace Jackett.Common.Indexers
|
||||
releaseTitle = string.Format("{0}{1} {2} {3}", releasegroup, title, releaseInfo, infoString);
|
||||
}
|
||||
|
||||
var guid = new Uri(CommentsLinkUri + "&nh=" + StringUtil.Hash(title));
|
||||
var release = new ReleaseInfo
|
||||
{
|
||||
MinimumRatio = 1,
|
||||
MinimumSeedTime = MinimumSeedTime,
|
||||
Title = releaseTitle,
|
||||
Comments = CommentsLinkUri,
|
||||
Guid = new Uri(CommentsLinkUri + "&nh=" + StringUtil.Hash(title)), // Sonarr should dedupe on this url - allow a url per name.
|
||||
Guid = guid, // Sonarr should dedupe on this url - allow a url per name.
|
||||
Link = LinkUri,
|
||||
BannerUrl = ImageUrl,
|
||||
PublishDate = PublushDate,
|
||||
|
Reference in New Issue
Block a user