diff --git a/MediaBrowser.Providers/Savers/MovieXmlSaver.cs b/MediaBrowser.Providers/Savers/MovieXmlSaver.cs
index 1bf0408491..35dba678e1 100644
--- a/MediaBrowser.Providers/Savers/MovieXmlSaver.cs
+++ b/MediaBrowser.Providers/Savers/MovieXmlSaver.cs
@@ -1,4 +1,5 @@
-using MediaBrowser.Controller.Entities;
+using System.IO;
+using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Entities.Movies;
using MediaBrowser.Controller.Library;
using MediaBrowser.Model.Entities;
@@ -43,6 +44,12 @@ namespace MediaBrowser.Providers.Savers
/// Task.
public Task Save(BaseItem item, CancellationToken cancellationToken)
{
+ var video = (Video)item;
+
+ var directory = video.VideoType == VideoType.Iso || video.VideoType == VideoType.VideoFile ? Path.GetDirectoryName(video.Path) : video.Path;
+
+ var xmlFilePath = Path.Combine(directory, "movie.xml");
+
return Task.Run(() => { });
}
}
diff --git a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
index 0ba1499409..472ea963cf 100644
--- a/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
+++ b/MediaBrowser.Server.Implementations/Library/LibraryManager.cs
@@ -1374,7 +1374,7 @@ namespace MediaBrowser.Server.Implementations.Library
/// Task.
private async Task OnItemUpdated(BaseItem item, CancellationToken cancellationToken)
{
- if (ConfigurationManager.Configuration.SaveLocalMeta)
+ if (ConfigurationManager.Configuration.SaveLocalMeta && item.LocationType == LocationType.FileSystem)
{
foreach (var saver in Savers.Where(i => i.Supports(item)))
{