mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-23 22:25:09 -04:00
Convert onGrab from passing a string to passing an object with series and episode information
Use object initalizer instead of creation of OnGrab/grabmessage
This commit is contained in:
committed by
Keivan Beigi
parent
d41dd05d00
commit
d3b9ebf86c
@@ -19,10 +19,10 @@ namespace NzbDrone.Core.Notifications.Plex
|
||||
get { return "http://www.plexapp.com/"; }
|
||||
}
|
||||
|
||||
public override void OnGrab(string message)
|
||||
public override void OnGrab(GrabMessage grabMessage)
|
||||
{
|
||||
const string header = "Sonarr [TV] - Grabbed";
|
||||
_plexClientService.Notify(Settings, header, message);
|
||||
_plexClientService.Notify(Settings, header, grabMessage.Message);
|
||||
}
|
||||
|
||||
public override void OnDownload(DownloadMessage message)
|
||||
|
||||
Reference in New Issue
Block a user