Fix InvalidOperationException when serializing MediaPathInfo

pull/6498/head
Bond_009 3 years ago
parent 79e51b7fa2
commit b458f85c47

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

Loading…
Cancel
Save