Cleaner URLs, fixed dynamics in jobs

This commit is contained in:
Mark McDowall
2012-10-22 00:05:27 -07:00
parent 7065898165
commit 12c4f4423c
7 changed files with 17 additions and 11 deletions

View File

@@ -54,7 +54,7 @@ namespace NzbDrone.Core.Jobs
notification.CurrentMessage = String.Format("Renaming episodes for {0} Season {1}", series.Title, options.SeasonNumber);
logger.Debug("Getting episodes from database for series: {0} and season: {1}", options.SeriesId, options.SeasonNumber);
var episodeFiles = _mediaFileProvider.GetSeasonFiles(options.SeriesId, options.SeasonNumber);
IList<EpisodeFile> episodeFiles = _mediaFileProvider.GetSeasonFiles(options.SeriesId, options.SeasonNumber);
if (episodeFiles == null || !episodeFiles.Any())
{