1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-01-02 13:14:58 +00:00

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

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;