Fixed: Do not create XBMC Episode Metadata files when setting is off

This commit is contained in:
Mark McDowall 2014-06-09 18:43:20 -07:00
parent 95f4d71c68
commit e3d0d25da7
1 changed files with 6 additions and 1 deletions

View File

@ -210,7 +210,12 @@ namespace NzbDrone.Core.Metadata.Consumers.Xbmc
}
public override MetadataFileResult EpisodeMetadata(Series series, EpisodeFile episodeFile)
{
{
if (!Settings.EpisodeMetadata)
{
return null;
}
_logger.Debug("Generating Episode Metadata for: {0}", episodeFile.Path);
var xmlResult = String.Empty;