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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user