Fixed up Eloquera integration, working much better now.

This commit is contained in:
Mark McDowall 2013-02-08 00:05:43 -08:00 committed by kay.one
commit ace7910f2a
11 changed files with 70 additions and 30 deletions

View file

@ -26,6 +26,12 @@ namespace NzbDrone.Api.Series
{
var request = Request.Body.FromJson<Core.Repository.Series>();
//Todo: Alert the user if this series already exists
//Todo: We need to create the folder if the user is adding a new series
//(we can just create the folder and it won't blow up if it already exists)
//We also need to remove any special characters from the filename before attempting to create it
_seriesProvider.AddSeries("", request.Path, request.SeriesId, request.QualityProfileId, null);
_jobProvider.QueueJob(typeof(ImportNewSeriesJob));