|
|
@ -50,13 +50,19 @@ namespace NzbDrone.Core.Indexers.Redacted
|
|
|
|
var artist = WebUtility.HtmlDecode(result.Artist);
|
|
|
|
var artist = WebUtility.HtmlDecode(result.Artist);
|
|
|
|
var album = WebUtility.HtmlDecode(result.GroupName);
|
|
|
|
var album = WebUtility.HtmlDecode(result.GroupName);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var title = $"{result.Artist} - {result.GroupName} ({result.GroupYear}) [{torrent.Format} {torrent.Encoding}] [{torrent.Media}]";
|
|
|
|
|
|
|
|
if (torrent.HasCue)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
title += " [Cue]";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
torrentInfos.Add(new GazelleInfo()
|
|
|
|
torrentInfos.Add(new GazelleInfo()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Guid = string.Format("Redacted-{0}", id),
|
|
|
|
Guid = string.Format("Redacted-{0}", id),
|
|
|
|
Artist = artist,
|
|
|
|
Artist = artist,
|
|
|
|
|
|
|
|
|
|
|
|
// Splice Title from info to avoid calling API again for every torrent.
|
|
|
|
// Splice Title from info to avoid calling API again for every torrent.
|
|
|
|
Title = WebUtility.HtmlDecode(result.Artist + " - " + result.GroupName + " (" + result.GroupYear + ") [" + torrent.Format + " " + torrent.Encoding + "]"),
|
|
|
|
Title = WebUtility.HtmlDecode(title),
|
|
|
|
Album = album,
|
|
|
|
Album = album,
|
|
|
|
Container = torrent.Encoding,
|
|
|
|
Container = torrent.Encoding,
|
|
|
|
Codec = torrent.Format,
|
|
|
|
Codec = torrent.Format,
|
|
|
|