mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-25 22:36:59 -04:00
New: Sonarr can now update series to use another tvdbid in case when tvdb removes a duplicate and Skyhook detects it.
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using NzbDrone.Common.Exceptions;
|
||||
using NzbDrone.Core.Parser.Model;
|
||||
|
||||
namespace NzbDrone.Core.Exceptions
|
||||
{
|
||||
public class SeriesNotFoundException : NzbDroneException
|
||||
{
|
||||
public int TvdbSeriesId { get; set; }
|
||||
|
||||
public SeriesNotFoundException(int tvdbSeriesId)
|
||||
: base(string.Format("Series with tvdbid {0} was not found, it may have been removed from TheTVDB.", tvdbSeriesId))
|
||||
{
|
||||
TvdbSeriesId = tvdbSeriesId;
|
||||
}
|
||||
|
||||
public SeriesNotFoundException(int tvdbSeriesId, string message, params object[] args)
|
||||
: base(message, args)
|
||||
{
|
||||
TvdbSeriesId = tvdbSeriesId;
|
||||
}
|
||||
|
||||
public SeriesNotFoundException(int tvdbSeriesId, string message)
|
||||
: base(message)
|
||||
{
|
||||
TvdbSeriesId = tvdbSeriesId;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user