Rename NewSeriesProviderIdsDictionary to NewSeriesProviderIds

This commit is contained in:
softworkz 2016-02-27 23:09:14 +01:00
parent 35fb164c1d
commit 719f675fe5
3 changed files with 5 additions and 5 deletions

View File

@ -185,7 +185,7 @@ namespace MediaBrowser.Api.Library
SeriesId = request.SeriesId,
NewSeriesName = request.NewSeriesName,
NewSeriesYear = request.NewSeriesYear,
NewSeriesProviderIdsDictionary = dicNewProviderIds,
NewSeriesProviderIds = dicNewProviderIds,
TargetFolder = request.TargetFolder
});

View File

@ -21,6 +21,6 @@ namespace MediaBrowser.Model.FileOrganization
public string TargetFolder { get; set; }
public Dictionary<string, string> NewSeriesProviderIdsDictionary { get; set; }
public Dictionary<string, string> NewSeriesProviderIds { get; set; }
}
}

View File

@ -159,11 +159,11 @@ namespace MediaBrowser.Server.Implementations.FileOrganization
Series series = null;
if (request.NewSeriesProviderIdsDictionary.Count > 0)
if (request.NewSeriesProviderIds.Count > 0)
{
// We're having a new series here
SeriesInfo seriesRequest = new SeriesInfo();
seriesRequest.ProviderIds = request.NewSeriesProviderIdsDictionary;
seriesRequest.ProviderIds = request.NewSeriesProviderIds;
var refreshOptions = new MetadataRefreshOptions(_fileSystem);
series = new Series();
@ -184,7 +184,7 @@ namespace MediaBrowser.Server.Implementations.FileOrganization
series.Path = Path.Combine(request.TargetFolder, seriesFolderName);
series.ProviderIds = request.NewSeriesProviderIdsDictionary;
series.ProviderIds = request.NewSeriesProviderIds;
await series.RefreshMetadata(refreshOptions, cancellationToken);
}