update episode organizer

This commit is contained in:
Luke Pulverenti 2016-01-29 23:54:55 -05:00
parent 0a43522d15
commit fae9b18481

View File

@ -503,12 +503,12 @@ namespace MediaBrowser.Server.Implementations.FileOrganization
var episodeName = episode.Name;
if (string.IsNullOrWhiteSpace(episodeName))
{
var msg = string.Format("No provider metadata found for {0} season {1} episode {2}", series.Name, seasonNumber, episodeNumber);
_logger.Warn(msg);
return null;
}
//if (string.IsNullOrWhiteSpace(episodeName))
//{
// var msg = string.Format("No provider metadata found for {0} season {1} episode {2}", series.Name, seasonNumber, episodeNumber);
// _logger.Warn(msg);
// return null;
//}
seasonNumber = seasonNumber ?? episode.ParentIndexNumber;
episodeNumber = episodeNumber ?? episode.IndexNumber;
@ -584,7 +584,7 @@ namespace MediaBrowser.Server.Implementations.FileOrganization
{
seriesName = _fileSystem.GetValidFilename(seriesName).Trim();
if (string.IsNullOrEmpty(episodeTitle))
if (string.IsNullOrWhiteSpace(episodeTitle))
{
episodeTitle = string.Empty;
}