1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-25 22:46:31 -04:00

New: Custom Format Language Condition

This commit is contained in:
Qstick
2022-08-14 14:07:26 -05:00
parent 52760e0908
commit 89b0b04e08
243 changed files with 1345 additions and 3956 deletions
@@ -80,7 +80,7 @@ namespace NzbDrone.Core.Blocklisting
Indexer = remoteEpisode.Release.Indexer,
Protocol = remoteEpisode.Release.DownloadProtocol,
Message = message,
Language = remoteEpisode.ParsedEpisodeInfo.Language
Languages = remoteEpisode.ParsedEpisodeInfo.Languages
};
if (remoteEpisode.Release is TorrentInfo torrentRelease)
@@ -181,7 +181,7 @@ namespace NzbDrone.Core.Blocklisting
Protocol = (DownloadProtocol)Convert.ToInt32(message.Data.GetValueOrDefault("protocol")),
Message = message.Message,
TorrentInfoHash = message.Data.GetValueOrDefault("torrentInfoHash"),
Language = message.Language
Languages = message.Languages
};
_blocklistRepository.Insert(blocklist);