mirror of https://github.com/lidarr/Lidarr
Fixed: Do not create XBMC Episode Metadata files when setting is off
This commit is contained in:
parent
95f4d71c68
commit
e3d0d25da7
|
@ -211,6 +211,11 @@ 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…
Reference in New Issue