restore edit metatdata page

This commit is contained in:
Luke Pulverenti 2013-05-22 12:52:22 -04:00
parent 718aa28216
commit 697e98426f

View File

@ -423,19 +423,6 @@ namespace MediaBrowser.Server.Implementations.Providers
dataToSave.Position = 0;
}
if (!(dataToSave is MemoryStream || dataToSave is FileStream))
{
var ms = new MemoryStream();
using (dataToSave)
{
await dataToSave.CopyToAsync(ms).ConfigureAwait(false);
}
ms.Position = 0;
dataToSave = ms;
}
try
{
using (dataToSave)