mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Initial Notification Support, XBMC and PLEX still need work.
This commit is contained in:
parent
56e8f5c730
commit
864549b1f3
47 changed files with 381 additions and 399 deletions
|
@ -1,7 +1,7 @@
|
|||
|
||||
|
||||
using System.Collections.Generic;
|
||||
using FluentValidation.Results;
|
||||
using NzbDrone.Core.Tv;
|
||||
using NzbDrone.Core.Music;
|
||||
using NzbDrone.Common.Extensions;
|
||||
|
||||
namespace NzbDrone.Core.Notifications.Webhook
|
||||
|
@ -19,17 +19,17 @@ namespace NzbDrone.Core.Notifications.Webhook
|
|||
|
||||
public override void OnGrab(GrabMessage message)
|
||||
{
|
||||
_service.OnGrab(message.Series, message.Episode, message.Quality, Settings);
|
||||
_service.OnGrab(message.Artist, message.Album, message.Quality, Settings);
|
||||
}
|
||||
|
||||
public override void OnDownload(DownloadMessage message)
|
||||
{
|
||||
_service.OnDownload(message.Series, message.EpisodeFile, Settings);
|
||||
_service.OnDownload(message.Artist, message.TrackFile, Settings);
|
||||
}
|
||||
|
||||
public override void OnRename(Series series)
|
||||
public override void OnRename(Artist artist)
|
||||
{
|
||||
_service.OnRename(series, Settings);
|
||||
_service.OnRename(artist, Settings);
|
||||
}
|
||||
|
||||
public override string Name => "Webhook";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue