New: Add Albums object to Grab and Import Webhook base

This commit is contained in:
Qstick 2023-01-16 20:39:22 -06:00
parent a2d7239304
commit e3c1009a2e
6 changed files with 12 additions and 8 deletions

View file

@ -38,7 +38,7 @@ namespace NzbDrone.Core.Notifications.CustomScript
public override void OnGrab(GrabMessage message)
{
var artist = message.Artist;
var remoteAlbum = message.Album;
var remoteAlbum = message.RemoteAlbum;
var releaseGroup = remoteAlbum.ParsedAlbumInfo.ReleaseGroup;
var environmentVariables = new StringDictionary();