mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-28 11:44:48 +03:00
add optional package filter and remove IUIPlugin interface
This commit is contained in:
@@ -299,7 +299,6 @@ namespace MediaBrowser.Common.Plugins
|
||||
var info = new PluginInfo
|
||||
{
|
||||
Name = Name,
|
||||
DownloadToUI = this is IUIPlugin,
|
||||
Version = Version.ToString(),
|
||||
AssemblyFileName = AssemblyFileName,
|
||||
ConfigurationDateLastModified = ConfigurationDateLastModified,
|
||||
@@ -310,13 +309,6 @@ namespace MediaBrowser.Common.Plugins
|
||||
ConfigurationFileName = ConfigurationFileName
|
||||
};
|
||||
|
||||
var uiPlugin = this as IUIPlugin;
|
||||
|
||||
if (uiPlugin != null)
|
||||
{
|
||||
info.MinimumRequiredUIVersion = uiPlugin.MinimumRequiredUIVersion.ToString();
|
||||
}
|
||||
|
||||
return info;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user