1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-06 02:52:41 +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

@ -211,6 +211,11 @@ 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;