fixes #687 - Enable/disable live tv per user

This commit is contained in:
Luke Pulverenti
2014-01-23 16:09:00 -05:00
parent 2977a55b1b
commit 8e7b97db52
7 changed files with 52 additions and 9 deletions

View File

@@ -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;
}
}
}

View File

@@ -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

View File

@@ -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>();
}
}