mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-08 00:39:25 +01:00
fixes #687 - Enable/disable live tv per user
This commit is contained in:
@@ -68,6 +68,7 @@ namespace MediaBrowser.Model.Configuration
|
||||
public bool BlockUnratedBooks { get; set; }
|
||||
|
||||
public bool EnableLiveTvManagement { get; set; }
|
||||
public bool EnableLiveTvAccess { get; set; }
|
||||
|
||||
public bool EnableMediaPlayback { get; set; }
|
||||
|
||||
@@ -82,6 +83,7 @@ namespace MediaBrowser.Model.Configuration
|
||||
|
||||
EnableLiveTvManagement = true;
|
||||
EnableMediaPlayback = true;
|
||||
EnableLiveTvAccess = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.FileOrganization
|
||||
{
|
||||
@@ -81,6 +82,17 @@ namespace MediaBrowser.Model.FileOrganization
|
||||
/// </summary>
|
||||
/// <value>The type.</value>
|
||||
public FileOrganizerType Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the duplicate paths.
|
||||
/// </summary>
|
||||
/// <value>The duplicate paths.</value>
|
||||
public List<string> DuplicatePaths { get; set; }
|
||||
|
||||
public FileOrganizationResult()
|
||||
{
|
||||
DuplicatePaths = new List<string>();
|
||||
}
|
||||
}
|
||||
|
||||
public enum FileSortingStatus
|
||||
|
||||
@@ -80,6 +80,12 @@ namespace MediaBrowser.Model.LiveTv
|
||||
/// <value><c>true</c> if this instance is enabled; otherwise, <c>false</c>.</value>
|
||||
public bool IsEnabled { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the enabled users.
|
||||
/// </summary>
|
||||
/// <value>The enabled users.</value>
|
||||
public List<string> EnabledUsers { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the status.
|
||||
/// </summary>
|
||||
@@ -95,6 +101,7 @@ namespace MediaBrowser.Model.LiveTv
|
||||
public LiveTvInfo()
|
||||
{
|
||||
Services = new List<LiveTvServiceInfo>();
|
||||
EnabledUsers = new List<string>();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user