mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Tests added
Series metadata will be created when series info is refreshed (and on add)
This commit is contained in:
parent
b50e16a456
commit
eee24aff1d
24 changed files with 624 additions and 50 deletions
|
@ -8,6 +8,7 @@ using NzbDrone.Core.Providers.ExternalNotification;
|
|||
using NzbDrone.Core.Providers.Metadata;
|
||||
using NzbDrone.Core.Repository;
|
||||
using PetaPoco;
|
||||
using TvdbLib.Data;
|
||||
|
||||
namespace NzbDrone.Core.Providers
|
||||
{
|
||||
|
@ -92,6 +93,11 @@ namespace NzbDrone.Core.Providers
|
|||
{
|
||||
var tvDbSeries = _tvDbProvider.GetSeries(series.SeriesId, false, true);
|
||||
|
||||
CreateForSeries(series, tvDbSeries);
|
||||
}
|
||||
|
||||
public virtual void CreateForSeries(Series series, TvdbSeries tvDbSeries)
|
||||
{
|
||||
foreach (var provider in _metadataProviders.Where(i => GetSettings(i.GetType()).Enable))
|
||||
{
|
||||
provider.ForSeries(series, tvDbSeries);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue