Merge pull request #6498 from Bond-009/invalidop

Fix InvalidOperationException when serializing MediaPathInfo
This commit is contained in:
Claus Vium 2021-09-03 18:45:06 +02:00 committed by GitHub
commit 95ca1d5487
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,6 +9,12 @@ namespace MediaBrowser.Model.Configuration
Path = path;
}
// Needed for xml serialization
public MediaPathInfo()
{
Path = string.Empty;
}
public string Path { get; set; }
public string? NetworkPath { get; set; }