don't organize episode if series has no provider ids
This commit is contained in:
parent
55128c308a
commit
ce813c40c9
|
@ -189,6 +189,15 @@ namespace MediaBrowser.Server.Implementations.FileOrganization
|
||||||
return Task.FromResult(true);
|
return Task.FromResult(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!series.ProviderIds.Any())
|
||||||
|
{
|
||||||
|
var msg = string.Format("Series has not yet been identified: {0}. If you just added the series, please run a library scan or use the identify feature to identify it.", seriesName);
|
||||||
|
result.Status = FileSortingStatus.Failure;
|
||||||
|
result.StatusMessage = msg;
|
||||||
|
_logger.Warn(msg);
|
||||||
|
return Task.FromResult(true);
|
||||||
|
}
|
||||||
|
|
||||||
return OrganizeEpisode(sourcePath,
|
return OrganizeEpisode(sourcePath,
|
||||||
series,
|
series,
|
||||||
seasonNumber,
|
seasonNumber,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user