mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
ExternalNotification now has AfterRename, to notify (XBMC) after all episodes have been renamed.
This commit is contained in:
parent
7963390126
commit
e734bb6ecb
10 changed files with 75 additions and 5 deletions
|
@ -41,5 +41,12 @@ namespace NzbDrone.Core.Providers.ExternalNotification
|
|||
/// <param name = "message">The message to send to the receiver</param>
|
||||
/// <param name = "series">The Series for the new download</param>
|
||||
public abstract void OnRename(string message, Series series);
|
||||
|
||||
/// <summary>
|
||||
/// Performs the after rename action, this will be handled after all renaming for episode/season/series
|
||||
/// </summary>
|
||||
/// <param name = "message">The message to send to the receiver</param>
|
||||
/// <param name = "series">The Series for the new download</param>
|
||||
public abstract void AfterRename(string message, Series series);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -70,5 +70,10 @@ namespace NzbDrone.Core.Providers.ExternalNotification
|
|||
{
|
||||
|
||||
}
|
||||
|
||||
public override void AfterRename(string message, Series series)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -69,5 +69,10 @@ namespace NzbDrone.Core.Providers.ExternalNotification
|
|||
{
|
||||
|
||||
}
|
||||
|
||||
public override void AfterRename(string message, Series series)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -47,5 +47,10 @@ namespace NzbDrone.Core.Providers.ExternalNotification
|
|||
{
|
||||
|
||||
}
|
||||
|
||||
public override void AfterRename(string message, Series series)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -39,6 +39,12 @@ namespace NzbDrone.Core.Providers.ExternalNotification
|
|||
|
||||
public override void OnRename(string message, Series series)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void AfterRename(string message, Series series)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -44,6 +44,11 @@ namespace NzbDrone.Core.Providers.ExternalNotification
|
|||
}
|
||||
|
||||
public override void OnRename(string message, Series series)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void AfterRename(string message, Series series)
|
||||
{
|
||||
UpdateAndClean(series);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue