mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 22:17:25 -04:00
Fix InvalidOperationException when serializing MediaPathInfo
This commit is contained in:
parent
79e51b7fa2
commit
b458f85c47
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue