mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Added Season Monitored editor (linked from Season Count on Series Grid), It would be under AJAX Edit, but it won't play nice with lists.
Editor should support about 40 seasons without scrolling (TvDb doesn't list all seasons for large series) Removed &pp=3 from SabProvider (it will use SAB's configured Post Processing value).
This commit is contained in:
parent
fa2b609ad3
commit
9caacc4809
12 changed files with 308 additions and 31 deletions
|
@ -61,7 +61,12 @@ namespace NzbDrone.Core.Providers
|
|||
|
||||
public virtual int SaveSeason(Season season)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
if (_repository.Exists<Season>(s => s.SeasonId == season.SeasonId))
|
||||
{
|
||||
return _repository.Update(season);
|
||||
}
|
||||
|
||||
return (int)_repository.Add(season);
|
||||
}
|
||||
|
||||
public virtual bool IsIgnored(int seasonId)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue