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
|
@ -210,7 +210,12 @@ namespace NzbDrone.Core.Metadata.Consumers.Xbmc
|
||||||
}
|
}
|
||||||
|
|
||||||
public override MetadataFileResult EpisodeMetadata(Series series, EpisodeFile episodeFile)
|
public override MetadataFileResult EpisodeMetadata(Series series, EpisodeFile episodeFile)
|
||||||
{
|
{
|
||||||
|
if (!Settings.EpisodeMetadata)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
_logger.Debug("Generating Episode Metadata for: {0}", episodeFile.Path);
|
_logger.Debug("Generating Episode Metadata for: {0}", episodeFile.Path);
|
||||||
|
|
||||||
var xmlResult = String.Empty;
|
var xmlResult = String.Empty;
|
||||||
|
|
Loading…
Reference in New Issue