mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 01:05:19 +03:00
add metadata editor info endpoint
This commit is contained in:
@@ -55,20 +55,5 @@ namespace MediaBrowser.Common.Configuration
|
||||
return configuration;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Reads an xml configuration file from the file system
|
||||
/// It will immediately save the configuration after loading it, just
|
||||
/// in case there are new serializable properties
|
||||
/// </summary>
|
||||
/// <typeparam name="T"></typeparam>
|
||||
/// <param name="path">The path.</param>
|
||||
/// <param name="xmlSerializer">The XML serializer.</param>
|
||||
/// <returns>``0.</returns>
|
||||
public static T GetXmlConfiguration<T>(string path, IXmlSerializer xmlSerializer)
|
||||
where T : class
|
||||
{
|
||||
return GetXmlConfiguration(typeof(T), path, xmlSerializer) as T;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user