Fix InvalidOperationException when serializing MediaPathInfo

This commit is contained in:
Bond_009 2021-09-03 16:39:03 +02:00
parent 79e51b7fa2
commit b458f85c47

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; }