1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 18:42:42 +01: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 @@ 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;