mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Updated petapoco to 4.0.3
This commit is contained in:
parent
06eeea6a5c
commit
5a4e8330b2
5 changed files with 1825 additions and 1761 deletions
|
@ -14,9 +14,6 @@ namespace NzbDrone.Core.Providers
|
|||
private const string TVDB_APIKEY = "5D2D188E86E07F4F";
|
||||
private static readonly Logger Logger = LogManager.GetCurrentClassLogger();
|
||||
|
||||
private static readonly Regex CleanUpRegex = new Regex(@"((\s|^)the(\s|$))|((\s|^)and(\s|$))|[^a-z]",
|
||||
RegexOptions.IgnoreCase | RegexOptions.Compiled);
|
||||
|
||||
private readonly TvdbHandler _handler;
|
||||
|
||||
public TvDbProvider()
|
||||
|
@ -48,6 +45,8 @@ namespace NzbDrone.Core.Providers
|
|||
//Fix American Dad's scene gongshow
|
||||
if (result != null && result.Id == 73141)
|
||||
{
|
||||
result.Episodes = result.Episodes.Where(e => e.SeasonNumber == 0 || e.EpisodeNumber > 0).ToList();
|
||||
|
||||
var seasonOneEpisodeCount = result.Episodes.Where(e => e.SeasonNumber == 1).Count();
|
||||
var seasonOneId = result.Episodes.Where(e => e.SeasonNumber == 1).First().SeasonId;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue