|
|
|
@ -36,8 +36,7 @@ namespace Emby.Server.Implementations.AppBase
|
|
|
|
|
configuration = Activator.CreateInstance(type);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
using (var stream = new MemoryStream())
|
|
|
|
|
{
|
|
|
|
|
using var stream = new MemoryStream();
|
|
|
|
|
xmlSerializer.SerializeToStream(configuration, stream);
|
|
|
|
|
|
|
|
|
|
// Take the object we just got and serialize it back to bytes
|
|
|
|
@ -56,4 +55,3 @@ namespace Emby.Server.Implementations.AppBase
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|