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

pull/6/head
Mark McDowall 11 years ago
parent 95f4d71c68
commit e3d0d25da7

@ -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;

Loading…
Cancel
Save