From e3d0d25da7a1c421afcd7ddb8627309115480393 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Mon, 9 Jun 2014 18:43:20 -0700 Subject: [PATCH] Fixed: Do not create XBMC Episode Metadata files when setting is off --- src/NzbDrone.Core/MetaData/Consumers/Xbmc/XbmcMetadata.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/MetaData/Consumers/Xbmc/XbmcMetadata.cs b/src/NzbDrone.Core/MetaData/Consumers/Xbmc/XbmcMetadata.cs index ee3c13e9d..3547fdf52 100644 --- a/src/NzbDrone.Core/MetaData/Consumers/Xbmc/XbmcMetadata.cs +++ b/src/NzbDrone.Core/MetaData/Consumers/Xbmc/XbmcMetadata.cs @@ -210,7 +210,12 @@ public override MetadataFileResult SeriesMetadata(Series series) } 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;