Merge pull request #6498 from Bond-009/invalidop
Fix InvalidOperationException when serializing MediaPathInfo
This commit is contained in:
commit
95ca1d5487
|
@ -9,6 +9,12 @@ namespace MediaBrowser.Model.Configuration
|
||||||
Path = path;
|
Path = path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Needed for xml serialization
|
||||||
|
public MediaPathInfo()
|
||||||
|
{
|
||||||
|
Path = string.Empty;
|
||||||
|
}
|
||||||
|
|
||||||
public string Path { get; set; }
|
public string Path { get; set; }
|
||||||
|
|
||||||
public string? NetworkPath { get; set; }
|
public string? NetworkPath { get; set; }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user