mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-26 20:16:33 +00:00
Fix InvalidOperationException when serializing MediaPathInfo
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user