mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 09:34:44 +01:00
add new subtitle preferences
This commit is contained in:
@@ -7,12 +7,6 @@ namespace MediaBrowser.Controller.Session
|
||||
{
|
||||
public interface ISessionController
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether [supports media remote control].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [supports media remote control]; otherwise, <c>false</c>.</value>
|
||||
bool SupportsMediaRemoteControl { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether this instance is session active.
|
||||
/// </summary>
|
||||
|
||||
@@ -139,23 +139,6 @@ namespace MediaBrowser.Controller.Session
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether [supports remote control].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [supports remote control]; otherwise, <c>false</c>.</value>
|
||||
public bool SupportsRemoteControl
|
||||
{
|
||||
get
|
||||
{
|
||||
if (SessionController != null)
|
||||
{
|
||||
return SessionController.SupportsMediaRemoteControl;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public bool ContainsUser(Guid userId)
|
||||
{
|
||||
return (UserId ?? Guid.Empty) == UserId || AdditionalUsers.Any(i => userId == new Guid(i.UserId));
|
||||
|
||||
Reference in New Issue
Block a user