mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
Disable saving episode xml for now
This commit is contained in:
parent
27f6b6a60a
commit
61c6867824
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user