From f48e9ac232202d9f3ed85e2e88de2141d455b080 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 8 Oct 2015 12:22:14 -0400 Subject: [PATCH] update nfo saving --- MediaBrowser.Controller/Providers/ItemInfo.cs | 2 ++ MediaBrowser.XbmcMetadata/Savers/MovieNfoSaver.cs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/MediaBrowser.Controller/Providers/ItemInfo.cs b/MediaBrowser.Controller/Providers/ItemInfo.cs index 78f352057..d16a73028 100644 --- a/MediaBrowser.Controller/Providers/ItemInfo.cs +++ b/MediaBrowser.Controller/Providers/ItemInfo.cs @@ -19,6 +19,7 @@ namespace MediaBrowser.Controller.Providers if (video != null) { VideoType = video.VideoType; + IsPlaceHolder = video.IsPlaceHolder; } } @@ -26,5 +27,6 @@ namespace MediaBrowser.Controller.Providers public string ContainingFolderPath { get; set; } public VideoType VideoType { get; set; } public bool IsInMixedFolder { get; set; } + public bool IsPlaceHolder { get; set; } } } \ No newline at end of file diff --git a/MediaBrowser.XbmcMetadata/Savers/MovieNfoSaver.cs b/MediaBrowser.XbmcMetadata/Savers/MovieNfoSaver.cs index e3e3eb162..3734f3f36 100644 --- a/MediaBrowser.XbmcMetadata/Savers/MovieNfoSaver.cs +++ b/MediaBrowser.XbmcMetadata/Savers/MovieNfoSaver.cs @@ -30,7 +30,7 @@ namespace MediaBrowser.XbmcMetadata.Savers { var list = new List(); - if (item.VideoType == VideoType.Dvd) + if (item.VideoType == VideoType.Dvd && !item.IsPlaceHolder) { var path = item.ContainingFolderPath;