Disable saving episode xml for now

This commit is contained in:
Luke Pulverenti 2013-06-13 16:35:27 -04:00
parent 27f6b6a60a
commit 61c6867824

View File

@ -350,11 +350,11 @@ namespace MediaBrowser.Providers.TV
if (ConfigurationManager.Configuration.SaveLocalMeta) if (ConfigurationManager.Configuration.SaveLocalMeta)
{ {
if (!Directory.Exists(episode.MetaLocation)) Directory.CreateDirectory(episode.MetaLocation); //if (!Directory.Exists(episode.MetaLocation)) Directory.CreateDirectory(episode.MetaLocation);
var ms = new MemoryStream(); //var ms = new MemoryStream();
doc.Save(ms); //doc.Save(ms);
await _providerManager.SaveToLibraryFilesystem(episode, Path.Combine(episode.MetaLocation, Path.GetFileNameWithoutExtension(episode.Path) + ".xml"), ms, cancellationToken).ConfigureAwait(false); //await _providerManager.SaveToLibraryFilesystem(episode, Path.Combine(episode.MetaLocation, Path.GetFileNameWithoutExtension(episode.Path) + ".xml"), ms, cancellationToken).ConfigureAwait(false);
} }
return status; return status;