update episode organizer
This commit is contained in:
parent
0a43522d15
commit
fae9b18481
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user