mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-10-03 01:01:34 +02:00
Nzbget support added to core
#ND-145 In Progress
This commit is contained in:
@@ -51,11 +51,11 @@ namespace NzbDrone.Core.Providers
|
||||
return true;
|
||||
}
|
||||
|
||||
public virtual string GetSceneName(int seriesId)
|
||||
public virtual string GetSceneName(int seriesId, int seasonNumber = -1)
|
||||
{
|
||||
UpdateIfEmpty();
|
||||
|
||||
var item = _database.FirstOrDefault<SceneMapping>("WHERE SeriesId = @0", seriesId);
|
||||
var item = _database.FirstOrDefault<SceneMapping>("WHERE SeriesId = @0 AND SeasonNumber = @1", seriesId, seasonNumber);
|
||||
|
||||
if (item == null)
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user