mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-17 11:43:44 +01:00
fixes around http response caching, updated the mb icon in the dashboard, and isolated web socket events
This commit is contained in:
@@ -251,18 +251,6 @@ namespace MediaBrowser.Common.Plugins
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns true or false indicating if the plugin should be downloaded and run within the Ui.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [download to UI]; otherwise, <c>false</c>.</value>
|
||||
public virtual bool DownloadToUi
|
||||
{
|
||||
get
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the logger.
|
||||
/// </summary>
|
||||
@@ -422,7 +410,7 @@ namespace MediaBrowser.Common.Plugins
|
||||
var info = new PluginInfo
|
||||
{
|
||||
Name = Name,
|
||||
DownloadToUI = DownloadToUi,
|
||||
DownloadToUI = this is IUIPlugin,
|
||||
Version = Version.ToString(),
|
||||
AssemblyFileName = AssemblyFileName,
|
||||
ConfigurationDateLastModified = ConfigurationDateLastModified,
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
using MediaBrowser.Model.Plugins;
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Common.Plugins
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a common base class for any plugin that has ui components
|
||||
/// </summary>
|
||||
public abstract class BaseUiPlugin<TConfigurationType> : BasePlugin<TConfigurationType>, IUIPlugin
|
||||
where TConfigurationType : BasePluginConfiguration
|
||||
{
|
||||
/// <summary>
|
||||
/// Returns true or false indicating if the plugin should be downloaded and run within the Ui.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [download to UI]; otherwise, <c>false</c>.</value>
|
||||
public sealed override bool DownloadToUi
|
||||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the minimum required UI version.
|
||||
/// </summary>
|
||||
/// <value>The minimum required UI version.</value>
|
||||
public abstract Version MinimumRequiredUIVersion { get; }
|
||||
}
|
||||
}
|
||||
@@ -92,12 +92,6 @@ namespace MediaBrowser.Common.Plugins
|
||||
/// <value>The data folder path.</value>
|
||||
string DataFolderPath { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Returns true or false indicating if the plugin should be downloaded and run within the Ui.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [download to UI]; otherwise, <c>false</c>.</value>
|
||||
bool DownloadToUi { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the logger.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user