Add full stop at end of comments (SA1629)
This commit is contained in:
parent
100e9d586d
commit
9018f8d8be
|
@ -705,7 +705,7 @@ namespace Emby.Dlna.Didl
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Adds fields used by both items and folders
|
/// Adds fields used by both items and folders.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void AddCommonFields(BaseItem item, StubType? itemStubType, BaseItem context, XmlWriter writer, Filter filter)
|
private void AddCommonFields(BaseItem item, StubType? itemStubType, BaseItem context, XmlWriter writer, Filter filter)
|
||||||
{
|
{
|
||||||
|
|
|
@ -473,7 +473,7 @@ namespace Emby.Dlna
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Recreates the object using serialization, to ensure it's not a subclass.
|
/// Recreates the object using serialization, to ensure it's not a subclass.
|
||||||
/// If it's a subclass it may not serlialize properly to xml (different root element tag name)
|
/// If it's a subclass it may not serlialize properly to xml (different root element tag name).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="profile"></param>
|
/// <param name="profile"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
|
|
|
@ -232,7 +232,7 @@ namespace Emby.Dlna.PlayTo
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Sets volume on a scale of 0-100
|
/// Sets volume on a scale of 0-100.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public async Task SetVolume(int value, CancellationToken cancellationToken)
|
public async Task SetVolume(int value, CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,17 +5,17 @@ namespace Emby.Naming.Common
|
||||||
public enum MediaType
|
public enum MediaType
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The audio
|
/// The audio.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Audio = 0,
|
Audio = 0,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The photo
|
/// The photo.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Photo = 1,
|
Photo = 1,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The video
|
/// The video.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Video = 2
|
Video = 2
|
||||||
}
|
}
|
||||||
|
|
|
@ -956,7 +956,7 @@ namespace Emby.Server.Implementations
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Notifies that the kernel that a change has been made that requires a restart
|
/// Notifies that the kernel that a change has been made that requires a restart.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void NotifyPendingRestart()
|
public void NotifyPendingRestart()
|
||||||
{
|
{
|
||||||
|
|
|
@ -247,12 +247,12 @@ namespace Emby.Server.Implementations.Data
|
||||||
public enum SynchronousMode
|
public enum SynchronousMode
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// SQLite continues without syncing as soon as it has handed data off to the operating system
|
/// SQLite continues without syncing as soon as it has handed data off to the operating system.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Off = 0,
|
Off = 0,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// SQLite database engine will still sync at the most critical moments
|
/// SQLite database engine will still sync at the most critical moments.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Normal = 1,
|
Normal = 1,
|
||||||
|
|
||||||
|
|
|
@ -59,7 +59,7 @@ namespace Emby.Server.Implementations.Data
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Opens the connection to the database
|
/// Opens the connection to the database.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>Task.</returns>
|
/// <returns>Task.</returns>
|
||||||
private void InitializeInternal()
|
private void InitializeInternal()
|
||||||
|
@ -77,7 +77,7 @@ namespace Emby.Server.Implementations.Data
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Save the display preferences associated with an item in the repo
|
/// Save the display preferences associated with an item in the repo.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="displayPreferences">The display preferences.</param>
|
/// <param name="displayPreferences">The display preferences.</param>
|
||||||
/// <param name="userId">The user id.</param>
|
/// <param name="userId">The user id.</param>
|
||||||
|
@ -122,7 +122,7 @@ namespace Emby.Server.Implementations.Data
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Save all display preferences associated with a user in the repo
|
/// Save all display preferences associated with a user in the repo.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="displayPreferences">The display preferences.</param>
|
/// <param name="displayPreferences">The display preferences.</param>
|
||||||
/// <param name="userId">The user id.</param>
|
/// <param name="userId">The user id.</param>
|
||||||
|
|
|
@ -102,7 +102,7 @@ namespace Emby.Server.Implementations.Data
|
||||||
protected override TempStoreMode TempStore => TempStoreMode.Memory;
|
protected override TempStoreMode TempStore => TempStoreMode.Memory;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Opens the connection to the database
|
/// Opens the connection to the database.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void Initialize(SqliteUserDataRepository userDataRepo, IUserManager userManager)
|
public void Initialize(SqliteUserDataRepository userDataRepo, IUserManager userManager)
|
||||||
{
|
{
|
||||||
|
@ -548,7 +548,7 @@ namespace Emby.Server.Implementations.Data
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Save a standard item in the repo
|
/// Save a standard item in the repo.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="item">The item.</param>
|
/// <param name="item">The item.</param>
|
||||||
/// <param name="cancellationToken">The cancellation token.</param>
|
/// <param name="cancellationToken">The cancellation token.</param>
|
||||||
|
@ -1204,7 +1204,7 @@ namespace Emby.Server.Implementations.Data
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Internal retrieve from items or users table
|
/// Internal retrieve from items or users table.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="id">The id.</param>
|
/// <param name="id">The id.</param>
|
||||||
/// <returns>BaseItem.</returns>
|
/// <returns>BaseItem.</returns>
|
||||||
|
@ -1918,7 +1918,7 @@ namespace Emby.Server.Implementations.Data
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets chapters for an item
|
/// Gets chapters for an item.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="item">The item.</param>
|
/// <param name="item">The item.</param>
|
||||||
/// <returns>IEnumerable{ChapterInfo}.</returns>
|
/// <returns>IEnumerable{ChapterInfo}.</returns>
|
||||||
|
@ -1946,7 +1946,7 @@ namespace Emby.Server.Implementations.Data
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a single chapter for an item
|
/// Gets a single chapter for an item.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="item">The item.</param>
|
/// <param name="item">The item.</param>
|
||||||
/// <param name="index">The index.</param>
|
/// <param name="index">The index.</param>
|
||||||
|
|
|
@ -235,7 +235,7 @@ namespace Emby.Server.Implementations.Data
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Persist all user data for the specified user
|
/// Persist all user data for the specified user.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void PersistAllUserData(long internalUserId, UserItemData[] userDataList, CancellationToken cancellationToken)
|
private void PersistAllUserData(long internalUserId, UserItemData[] userDataList, CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
|
@ -309,7 +309,7 @@ namespace Emby.Server.Implementations.Data
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Return all user-data associated with the given user
|
/// Return all user-data associated with the given user.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="internalUserId"></param>
|
/// <param name="internalUserId"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
|
@ -339,7 +339,7 @@ namespace Emby.Server.Implementations.Data
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Read a row from the specified reader into the provided userData object
|
/// Read a row from the specified reader into the provided userData object.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="reader"></param>
|
/// <param name="reader"></param>
|
||||||
private UserItemData ReadRow(IReadOnlyList<IResultSetValue> reader)
|
private UserItemData ReadRow(IReadOnlyList<IResultSetValue> reader)
|
||||||
|
|
|
@ -74,7 +74,7 @@ namespace Emby.Server.Implementations.Dto
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Converts a BaseItem to a DTOBaseItem
|
/// Converts a BaseItem to a DTOBaseItem.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="item">The item.</param>
|
/// <param name="item">The item.</param>
|
||||||
/// <param name="fields">The fields.</param>
|
/// <param name="fields">The fields.</param>
|
||||||
|
@ -442,7 +442,7 @@ namespace Emby.Server.Implementations.Dto
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets client-side Id of a server-side BaseItem
|
/// Gets client-side Id of a server-side BaseItem.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="item">The item.</param>
|
/// <param name="item">The item.</param>
|
||||||
/// <returns>System.String.</returns>
|
/// <returns>System.String.</returns>
|
||||||
|
@ -537,7 +537,7 @@ namespace Emby.Server.Implementations.Dto
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Attaches People DTO's to a DTOBaseItem
|
/// Attaches People DTO's to a DTOBaseItem.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="dto">The dto.</param>
|
/// <param name="dto">The dto.</param>
|
||||||
/// <param name="item">The item.</param>
|
/// <param name="item">The item.</param>
|
||||||
|
@ -725,7 +725,7 @@ namespace Emby.Server.Implementations.Dto
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Sets simple property values on a DTOBaseItem
|
/// Sets simple property values on a DTOBaseItem.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="dto">The dto.</param>
|
/// <param name="dto">The dto.</param>
|
||||||
/// <param name="item">The item.</param>
|
/// <param name="item">The item.</param>
|
||||||
|
|
|
@ -140,7 +140,7 @@ namespace Emby.Server.Implementations.HttpClientManager
|
||||||
=> SendAsync(options, HttpMethod.Get);
|
=> SendAsync(options, HttpMethod.Get);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Performs a GET request and returns the resulting stream
|
/// Performs a GET request and returns the resulting stream.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="options">The options.</param>
|
/// <param name="options">The options.</param>
|
||||||
/// <returns>Task{Stream}.</returns>
|
/// <returns>Task{Stream}.</returns>
|
||||||
|
|
|
@ -32,12 +32,12 @@ namespace Emby.Server.Implementations.HttpServer
|
||||||
private readonly IFileSystem _fileSystem;
|
private readonly IFileSystem _fileSystem;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _options
|
/// The _options.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private readonly IDictionary<string, string> _options = new Dictionary<string, string>();
|
private readonly IDictionary<string, string> _options = new Dictionary<string, string>();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _requested ranges
|
/// The _requested ranges.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private List<KeyValuePair<long, long?>> _requestedRanges;
|
private List<KeyValuePair<long, long?>> _requestedRanges;
|
||||||
|
|
||||||
|
|
|
@ -591,7 +591,7 @@ namespace Emby.Server.Implementations.HttpServer
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the default CORS headers
|
/// Get the default CORS headers.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="req"></param>
|
/// <param name="req"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
|
|
|
@ -692,7 +692,7 @@ namespace Emby.Server.Implementations.HttpServer
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// When the browser sends the IfModifiedDate, it's precision is limited to seconds, so this will account for that
|
/// When the browser sends the IfModifiedDate, it's precision is limited to seconds, so this will account for that.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="date">The date.</param>
|
/// <param name="date">The date.</param>
|
||||||
/// <returns>DateTime.</returns>
|
/// <returns>DateTime.</returns>
|
||||||
|
|
|
@ -34,17 +34,17 @@ namespace Emby.Server.Implementations.HttpServer
|
||||||
private const int BufferSize = 81920;
|
private const int BufferSize = 81920;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _options
|
/// The _options.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private readonly Dictionary<string, string> _options = new Dictionary<string, string>();
|
private readonly Dictionary<string, string> _options = new Dictionary<string, string>();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The us culture
|
/// The us culture.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private static readonly CultureInfo UsCulture = new CultureInfo("en-US");
|
private static readonly CultureInfo UsCulture = new CultureInfo("en-US");
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Additional HTTP Headers
|
/// Additional HTTP Headers.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The headers.</value>
|
/// <value>The headers.</value>
|
||||||
public IDictionary<string, string> Headers => _options;
|
public IDictionary<string, string> Headers => _options;
|
||||||
|
@ -110,7 +110,7 @@ namespace Emby.Server.Implementations.HttpServer
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _requested ranges
|
/// The _requested ranges.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private List<KeyValuePair<long, long?>> _requestedRanges;
|
private List<KeyValuePair<long, long?>> _requestedRanges;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -8,7 +8,7 @@ using MediaBrowser.Model.IO;
|
||||||
namespace Emby.Server.Implementations.Library
|
namespace Emby.Server.Implementations.Library
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Provides the core resolver ignore rules
|
/// Provides the core resolver ignore rules.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class CoreResolutionIgnoreRule : IResolverIgnoreRule
|
public class CoreResolutionIgnoreRule : IResolverIgnoreRule
|
||||||
{
|
{
|
||||||
|
|
|
@ -4,12 +4,12 @@ using DotNet.Globbing;
|
||||||
namespace Emby.Server.Implementations.Library
|
namespace Emby.Server.Implementations.Library
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Glob patterns for files to ignore
|
/// Glob patterns for files to ignore.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static class IgnorePatterns
|
public static class IgnorePatterns
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Files matching these glob patterns will be ignored
|
/// Files matching these glob patterns will be ignored.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static readonly string[] Patterns = new string[]
|
public static readonly string[] Patterns = new string[]
|
||||||
{
|
{
|
||||||
|
@ -64,7 +64,7 @@ namespace Emby.Server.Implementations.Library
|
||||||
private static readonly Glob[] _globs = Patterns.Select(p => Glob.Parse(p, _globOptions)).ToArray();
|
private static readonly Glob[] _globs = Patterns.Select(p => Glob.Parse(p, _globOptions)).ToArray();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns true if the supplied path should be ignored
|
/// Returns true if the supplied path should be ignored.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static bool ShouldIgnore(string path)
|
public static bool ShouldIgnore(string path)
|
||||||
{
|
{
|
||||||
|
|
|
@ -97,13 +97,13 @@ namespace Emby.Server.Implementations.Library
|
||||||
private IIntroProvider[] IntroProviders { get; set; }
|
private IIntroProvider[] IntroProviders { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the list of entity resolution ignore rules
|
/// Gets or sets the list of entity resolution ignore rules.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The entity resolution ignore rules.</value>
|
/// <value>The entity resolution ignore rules.</value>
|
||||||
private IResolverIgnoreRule[] EntityResolutionIgnoreRules { get; set; }
|
private IResolverIgnoreRule[] EntityResolutionIgnoreRules { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the list of currently registered entity resolvers
|
/// Gets or sets the list of currently registered entity resolvers.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The entity resolvers enumerable.</value>
|
/// <value>The entity resolvers enumerable.</value>
|
||||||
private IItemResolver[] EntityResolvers { get; set; }
|
private IItemResolver[] EntityResolvers { get; set; }
|
||||||
|
@ -209,12 +209,12 @@ namespace Emby.Server.Implementations.Library
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _root folder
|
/// The _root folder.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private volatile AggregateFolder _rootFolder;
|
private volatile AggregateFolder _rootFolder;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _root folder sync lock
|
/// The _root folder sync lock.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private readonly object _rootFolderSyncLock = new object();
|
private readonly object _rootFolderSyncLock = new object();
|
||||||
|
|
||||||
|
@ -627,7 +627,7 @@ namespace Emby.Server.Implementations.Library
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Determines whether a path should be ignored based on its contents - called after the contents have been read
|
/// Determines whether a path should be ignored based on its contents - called after the contents have been read.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="args">The args.</param>
|
/// <param name="args">The args.</param>
|
||||||
/// <returns><c>true</c> if XXXX, <c>false</c> otherwise</returns>
|
/// <returns><c>true</c> if XXXX, <c>false</c> otherwise</returns>
|
||||||
|
@ -909,7 +909,7 @@ namespace Emby.Server.Implementations.Library
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a Genre
|
/// Gets a Genre.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="name">The name.</param>
|
/// <param name="name">The name.</param>
|
||||||
/// <returns>Task{Genre}.</returns>
|
/// <returns>Task{Genre}.</returns>
|
||||||
|
@ -990,7 +990,7 @@ namespace Emby.Server.Implementations.Library
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Reloads the root media folder
|
/// Reloads the root media folder.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="progress">The progress.</param>
|
/// <param name="progress">The progress.</param>
|
||||||
/// <param name="cancellationToken">The cancellation token.</param>
|
/// <param name="cancellationToken">The cancellation token.</param>
|
||||||
|
|
|
@ -107,7 +107,7 @@ namespace Emby.Server.Implementations.Library
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Ensures DateCreated and DateModified have values
|
/// Ensures DateCreated and DateModified have values.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="fileSystem">The file system.</param>
|
/// <param name="fileSystem">The file system.</param>
|
||||||
/// <param name="item">The item.</param>
|
/// <param name="item">The item.</param>
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace Emby.Server.Implementations.Library.Resolvers
|
||||||
public virtual ResolverPriority Priority => ResolverPriority.First;
|
public virtual ResolverPriority Priority => ResolverPriority.First;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Sets initial values on the newly resolved item
|
/// Sets initial values on the newly resolved item.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="item">The item.</param>
|
/// <param name="item">The item.</param>
|
||||||
/// <param name="args">The args.</param>
|
/// <param name="args">The args.</param>
|
||||||
|
|
|
@ -103,7 +103,7 @@ namespace Emby.Server.Implementations.Library
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Retrieve all user data for the given user
|
/// Retrieve all user data for the given user.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="userId"></param>
|
/// <param name="userId"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
|
@ -188,7 +188,7 @@ namespace Emby.Server.Implementations.Library
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Converts a UserItemData to a DTOUserItemData
|
/// Converts a UserItemData to a DTOUserItemData.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="data">The data.</param>
|
/// <param name="data">The data.</param>
|
||||||
/// <returns>DtoUserItemData.</returns>
|
/// <returns>DtoUserItemData.</returns>
|
||||||
|
|
|
@ -35,7 +35,7 @@ namespace Emby.Server.Implementations.LiveTv
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Creates the triggers that define when the task will run
|
/// Creates the triggers that define when the task will run.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>IEnumerable{BaseTaskTrigger}.</returns>
|
/// <returns>IEnumerable{BaseTaskTrigger}.</returns>
|
||||||
public IEnumerable<TaskTriggerInfo> GetDefaultTriggers()
|
public IEnumerable<TaskTriggerInfo> GetDefaultTriggers()
|
||||||
|
|
|
@ -411,7 +411,7 @@ namespace Emby.Server.Implementations.Networking
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a random port number that is currently available
|
/// Gets a random port number that is currently available.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>System.Int32.</returns>
|
/// <returns>System.Int32.</returns>
|
||||||
public int GetRandomUnusedTcpPort()
|
public int GetRandomUnusedTcpPort()
|
||||||
|
|
|
@ -18,7 +18,7 @@ using Microsoft.Extensions.Logging;
|
||||||
namespace Emby.Server.Implementations.ScheduledTasks
|
namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class ScheduledTaskWorker
|
/// Class ScheduledTaskWorker.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class ScheduledTaskWorker : IScheduledTaskWorker
|
public class ScheduledTaskWorker : IScheduledTaskWorker
|
||||||
{
|
{
|
||||||
|
@ -111,11 +111,11 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
|
|
||||||
private bool _readFromFile = false;
|
private bool _readFromFile = false;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _last execution result
|
/// The _last execution result.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private TaskResult _lastExecutionResult;
|
private TaskResult _lastExecutionResult;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _last execution result sync lock
|
/// The _last execution result sync lock.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private readonly object _lastExecutionResultSyncLock = new object();
|
private readonly object _lastExecutionResultSyncLock = new object();
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -182,7 +182,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
public string Category => ScheduledTask.Category;
|
public string Category => ScheduledTask.Category;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the current cancellation token
|
/// Gets the current cancellation token.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The current cancellation token source.</value>
|
/// <value>The current cancellation token source.</value>
|
||||||
private CancellationTokenSource CurrentCancellationTokenSource { get; set; }
|
private CancellationTokenSource CurrentCancellationTokenSource { get; set; }
|
||||||
|
@ -278,7 +278,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _id
|
/// The _id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private string _id;
|
private string _id;
|
||||||
|
|
||||||
|
@ -358,7 +358,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
private Task _currentTask;
|
private Task _currentTask;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Executes the task
|
/// Executes the task.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="options">Task options.</param>
|
/// <param name="options">Task options.</param>
|
||||||
/// <returns>Task.</returns>
|
/// <returns>Task.</returns>
|
||||||
|
@ -453,7 +453,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Stops the task if it is currently executing
|
/// Stops the task if it is currently executing.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <exception cref="InvalidOperationException">Cannot cancel a Task unless it is in the Running state.</exception>
|
/// <exception cref="InvalidOperationException">Cannot cancel a Task unless it is in the Running state.</exception>
|
||||||
public void Cancel()
|
public void Cancel()
|
||||||
|
@ -683,7 +683,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Converts a TaskTriggerInfo into a concrete BaseTaskTrigger
|
/// Converts a TaskTriggerInfo into a concrete BaseTaskTrigger.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="info">The info.</param>
|
/// <param name="info">The info.</param>
|
||||||
/// <returns>BaseTaskTrigger.</returns>
|
/// <returns>BaseTaskTrigger.</returns>
|
||||||
|
@ -753,7 +753,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Disposes each trigger
|
/// Disposes each trigger.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void DisposeTriggers()
|
private void DisposeTriggers()
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,7 +15,7 @@ using Microsoft.Extensions.Logging;
|
||||||
namespace Emby.Server.Implementations.ScheduledTasks
|
namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class TaskManager
|
/// Class TaskManager.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class TaskManager : ITaskManager
|
public class TaskManager : ITaskManager
|
||||||
{
|
{
|
||||||
|
@ -23,13 +23,13 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
public event EventHandler<TaskCompletionEventArgs> TaskCompleted;
|
public event EventHandler<TaskCompletionEventArgs> TaskCompleted;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the list of Scheduled Tasks
|
/// Gets the list of Scheduled Tasks.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The scheduled tasks.</value>
|
/// <value>The scheduled tasks.</value>
|
||||||
public IScheduledTaskWorker[] ScheduledTasks { get; private set; }
|
public IScheduledTaskWorker[] ScheduledTasks { get; private set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _task queue
|
/// The _task queue.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private readonly ConcurrentQueue<Tuple<Type, TaskOptions>> _taskQueue =
|
private readonly ConcurrentQueue<Tuple<Type, TaskOptions>> _taskQueue =
|
||||||
new ConcurrentQueue<Tuple<Type, TaskOptions>>();
|
new ConcurrentQueue<Tuple<Type, TaskOptions>>();
|
||||||
|
@ -81,7 +81,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Cancels if running
|
/// Cancels if running.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <typeparam name="T"></typeparam>
|
/// <typeparam name="T"></typeparam>
|
||||||
public void CancelIfRunning<T>()
|
public void CancelIfRunning<T>()
|
||||||
|
|
|
@ -13,7 +13,7 @@ using MediaBrowser.Model.Globalization;
|
||||||
namespace Emby.Server.Implementations.ScheduledTasks.Tasks
|
namespace Emby.Server.Implementations.ScheduledTasks.Tasks
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Deletes old cache files
|
/// Deletes old cache files.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class DeleteCacheFileTask : IScheduledTask, IConfigurableScheduledTask
|
public class DeleteCacheFileTask : IScheduledTask, IConfigurableScheduledTask
|
||||||
{
|
{
|
||||||
|
@ -44,7 +44,7 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Creates the triggers that define when the task will run
|
/// Creates the triggers that define when the task will run.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>IEnumerable{BaseTaskTrigger}.</returns>
|
/// <returns>IEnumerable{BaseTaskTrigger}.</returns>
|
||||||
public IEnumerable<TaskTriggerInfo> GetDefaultTriggers()
|
public IEnumerable<TaskTriggerInfo> GetDefaultTriggers()
|
||||||
|
@ -57,7 +57,7 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the task to be executed
|
/// Returns the task to be executed.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="cancellationToken">The cancellation token.</param>
|
/// <param name="cancellationToken">The cancellation token.</param>
|
||||||
/// <param name="progress">The progress.</param>
|
/// <param name="progress">The progress.</param>
|
||||||
|
@ -93,7 +93,7 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Deletes the cache files from directory with a last write time less than a given date
|
/// Deletes the cache files from directory with a last write time less than a given date.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="cancellationToken">The task cancellation token.</param>
|
/// <param name="cancellationToken">The task cancellation token.</param>
|
||||||
/// <param name="directory">The directory.</param>
|
/// <param name="directory">The directory.</param>
|
||||||
|
|
|
@ -13,7 +13,7 @@ using MediaBrowser.Model.Globalization;
|
||||||
namespace Emby.Server.Implementations.ScheduledTasks.Tasks
|
namespace Emby.Server.Implementations.ScheduledTasks.Tasks
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Deletes all transcoding temp files
|
/// Deletes all transcoding temp files.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class DeleteTranscodeFileTask : IScheduledTask, IConfigurableScheduledTask
|
public class DeleteTranscodeFileTask : IScheduledTask, IConfigurableScheduledTask
|
||||||
{
|
{
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
private Timer Timer { get; set; }
|
private Timer Timer { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Stars waiting for the trigger action
|
/// Stars waiting for the trigger action.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="lastResult">The last result.</param>
|
/// <param name="lastResult">The last result.</param>
|
||||||
/// <param name="logger">The logger.</param>
|
/// <param name="logger">The logger.</param>
|
||||||
|
@ -51,7 +51,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Stops waiting for the trigger action
|
/// Stops waiting for the trigger action.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void Stop()
|
public void Stop()
|
||||||
{
|
{
|
||||||
|
|
|
@ -7,7 +7,7 @@ using Microsoft.Extensions.Logging;
|
||||||
namespace Emby.Server.Implementations.ScheduledTasks
|
namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a task trigger that runs repeatedly on an interval
|
/// Represents a task trigger that runs repeatedly on an interval.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class IntervalTrigger : ITaskTrigger
|
public class IntervalTrigger : ITaskTrigger
|
||||||
{
|
{
|
||||||
|
@ -31,7 +31,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
private DateTime _lastStartDate;
|
private DateTime _lastStartDate;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Stars waiting for the trigger action
|
/// Stars waiting for the trigger action.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="lastResult">The last result.</param>
|
/// <param name="lastResult">The last result.</param>
|
||||||
/// <param name="logger">The logger.</param>
|
/// <param name="logger">The logger.</param>
|
||||||
|
@ -70,7 +70,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Stops waiting for the trigger action
|
/// Stops waiting for the trigger action.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void Stop()
|
public void Stop()
|
||||||
{
|
{
|
||||||
|
|
|
@ -25,7 +25,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Stars waiting for the trigger action
|
/// Stars waiting for the trigger action.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="lastResult">The last result.</param>
|
/// <param name="lastResult">The last result.</param>
|
||||||
/// <param name="logger">The logger.</param>
|
/// <param name="logger">The logger.</param>
|
||||||
|
@ -42,7 +42,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Stops waiting for the trigger action
|
/// Stops waiting for the trigger action.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void Stop()
|
public void Stop()
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,12 +6,12 @@ using Microsoft.Extensions.Logging;
|
||||||
namespace Emby.Server.Implementations.ScheduledTasks
|
namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a task trigger that fires on a weekly basis
|
/// Represents a task trigger that fires on a weekly basis.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class WeeklyTrigger : ITaskTrigger
|
public class WeeklyTrigger : ITaskTrigger
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get the time of day to trigger the task to run
|
/// Get the time of day to trigger the task to run.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The time of day.</value>
|
/// <value>The time of day.</value>
|
||||||
public TimeSpan TimeOfDay { get; set; }
|
public TimeSpan TimeOfDay { get; set; }
|
||||||
|
@ -34,7 +34,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
private Timer Timer { get; set; }
|
private Timer Timer { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Stars waiting for the trigger action
|
/// Stars waiting for the trigger action.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="lastResult">The last result.</param>
|
/// <param name="lastResult">The last result.</param>
|
||||||
/// <param name="logger">The logger.</param>
|
/// <param name="logger">The logger.</param>
|
||||||
|
@ -77,7 +77,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Stops waiting for the trigger action
|
/// Stops waiting for the trigger action.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public void Stop()
|
public void Stop()
|
||||||
{
|
{
|
||||||
|
|
|
@ -180,7 +180,7 @@ namespace Emby.Server.Implementations.Services
|
||||||
=> string.Equals(method, expected, StringComparison.OrdinalIgnoreCase);
|
=> string.Equals(method, expected, StringComparison.OrdinalIgnoreCase);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Duplicate params have their values joined together in a comma-delimited string
|
/// Duplicate params have their values joined together in a comma-delimited string.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private static Dictionary<string, string> GetFlattenedRequestParams(HttpRequest request)
|
private static Dictionary<string, string> GetFlattenedRequestParams(HttpRequest request)
|
||||||
{
|
{
|
||||||
|
|
|
@ -9,7 +9,7 @@ namespace Emby.Server.Implementations.Services
|
||||||
/// Donated by Ivan Korneliuk from his post:
|
/// Donated by Ivan Korneliuk from his post:
|
||||||
/// http://korneliuk.blogspot.com/2012/08/servicestack-reusing-dtos.html
|
/// http://korneliuk.blogspot.com/2012/08/servicestack-reusing-dtos.html
|
||||||
///
|
///
|
||||||
/// Modified to only allow using routes matching the supplied HTTP Verb
|
/// Modified to only allow using routes matching the supplied HTTP Verb.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static class UrlExtensions
|
public static class UrlExtensions
|
||||||
{
|
{
|
||||||
|
|
|
@ -843,7 +843,7 @@ namespace Emby.Server.Implementations.Session
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Used to report that playback has ended for an item
|
/// Used to report that playback has ended for an item.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="info">The info.</param>
|
/// <param name="info">The info.</param>
|
||||||
/// <returns>Task.</returns>
|
/// <returns>Task.</returns>
|
||||||
|
|
|
@ -14,7 +14,7 @@ using Microsoft.Extensions.Logging;
|
||||||
namespace Emby.Server.Implementations.Session
|
namespace Emby.Server.Implementations.Session
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class SessionWebSocketListener
|
/// Class SessionWebSocketListener.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public sealed class SessionWebSocketListener : IWebSocketListener, IDisposable
|
public sealed class SessionWebSocketListener : IWebSocketListener, IDisposable
|
||||||
{
|
{
|
||||||
|
@ -34,12 +34,12 @@ namespace Emby.Server.Implementations.Session
|
||||||
public const float ForceKeepAliveFactor = 0.75f;
|
public const float ForceKeepAliveFactor = 0.75f;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _session manager
|
/// The _session manager.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private readonly ISessionManager _sessionManager;
|
private readonly ISessionManager _sessionManager;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _logger
|
/// The _logger.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private readonly ILogger<SessionWebSocketListener> _logger;
|
private readonly ILogger<SessionWebSocketListener> _logger;
|
||||||
private readonly ILoggerFactory _loggerFactory;
|
private readonly ILoggerFactory _loggerFactory;
|
||||||
|
|
|
@ -8,7 +8,7 @@ using MediaBrowser.Model.Querying;
|
||||||
namespace Emby.Server.Implementations.Sorting
|
namespace Emby.Server.Implementations.Sorting
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class AlbumArtistComparer
|
/// Class AlbumArtistComparer.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class AlbumArtistComparer : IBaseItemComparer
|
public class AlbumArtistComparer : IBaseItemComparer
|
||||||
{
|
{
|
||||||
|
|
|
@ -7,7 +7,7 @@ using MediaBrowser.Model.Querying;
|
||||||
namespace Emby.Server.Implementations.Sorting
|
namespace Emby.Server.Implementations.Sorting
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class AlbumComparer
|
/// Class AlbumComparer.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class AlbumComparer : IBaseItemComparer
|
public class AlbumComparer : IBaseItemComparer
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,7 @@ using MediaBrowser.Model.Querying;
|
||||||
namespace Emby.Server.Implementations.Sorting
|
namespace Emby.Server.Implementations.Sorting
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class CriticRatingComparer
|
/// Class CriticRatingComparer.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class CriticRatingComparer : IBaseItemComparer
|
public class CriticRatingComparer : IBaseItemComparer
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,7 +6,7 @@ using MediaBrowser.Model.Querying;
|
||||||
namespace Emby.Server.Implementations.Sorting
|
namespace Emby.Server.Implementations.Sorting
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class DateCreatedComparer
|
/// Class DateCreatedComparer.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class DateCreatedComparer : IBaseItemComparer
|
public class DateCreatedComparer : IBaseItemComparer
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,7 +8,7 @@ using MediaBrowser.Model.Querying;
|
||||||
namespace Emby.Server.Implementations.Sorting
|
namespace Emby.Server.Implementations.Sorting
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class DatePlayedComparer
|
/// Class DatePlayedComparer.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class DatePlayedComparer : IUserBaseItemComparer
|
public class DatePlayedComparer : IUserBaseItemComparer
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,7 +6,7 @@ using MediaBrowser.Model.Querying;
|
||||||
namespace Emby.Server.Implementations.Sorting
|
namespace Emby.Server.Implementations.Sorting
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class NameComparer
|
/// Class NameComparer.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class NameComparer : IBaseItemComparer
|
public class NameComparer : IBaseItemComparer
|
||||||
{
|
{
|
||||||
|
|
|
@ -7,7 +7,7 @@ using MediaBrowser.Model.Querying;
|
||||||
namespace Emby.Server.Implementations.Sorting
|
namespace Emby.Server.Implementations.Sorting
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class PlayCountComparer
|
/// Class PlayCountComparer.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class PlayCountComparer : IUserBaseItemComparer
|
public class PlayCountComparer : IUserBaseItemComparer
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,7 +6,7 @@ using MediaBrowser.Model.Querying;
|
||||||
namespace Emby.Server.Implementations.Sorting
|
namespace Emby.Server.Implementations.Sorting
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class PremiereDateComparer
|
/// Class PremiereDateComparer.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class PremiereDateComparer : IBaseItemComparer
|
public class PremiereDateComparer : IBaseItemComparer
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,7 +5,7 @@ using MediaBrowser.Model.Querying;
|
||||||
namespace Emby.Server.Implementations.Sorting
|
namespace Emby.Server.Implementations.Sorting
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class ProductionYearComparer
|
/// Class ProductionYearComparer.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class ProductionYearComparer : IBaseItemComparer
|
public class ProductionYearComparer : IBaseItemComparer
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,7 +6,7 @@ using MediaBrowser.Model.Querying;
|
||||||
namespace Emby.Server.Implementations.Sorting
|
namespace Emby.Server.Implementations.Sorting
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class RandomComparer
|
/// Class RandomComparer.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class RandomComparer : IBaseItemComparer
|
public class RandomComparer : IBaseItemComparer
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,7 +6,7 @@ using MediaBrowser.Model.Querying;
|
||||||
namespace Emby.Server.Implementations.Sorting
|
namespace Emby.Server.Implementations.Sorting
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class RuntimeComparer
|
/// Class RuntimeComparer.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class RuntimeComparer : IBaseItemComparer
|
public class RuntimeComparer : IBaseItemComparer
|
||||||
{
|
{
|
||||||
|
|
|
@ -6,7 +6,7 @@ using MediaBrowser.Model.Querying;
|
||||||
namespace Emby.Server.Implementations.Sorting
|
namespace Emby.Server.Implementations.Sorting
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class SortNameComparer
|
/// Class SortNameComparer.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class SortNameComparer : IBaseItemComparer
|
public class SortNameComparer : IBaseItemComparer
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,7 +18,7 @@ namespace Emby.Server.Implementations.Udp
|
||||||
public sealed class UdpServer : IDisposable
|
public sealed class UdpServer : IDisposable
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _logger
|
/// The _logger.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private readonly ILogger _logger;
|
private readonly ILogger _logger;
|
||||||
private readonly IServerApplicationHost _appHost;
|
private readonly IServerApplicationHost _appHost;
|
||||||
|
|
|
@ -24,7 +24,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="path"></param>
|
/// <param name="path"></param>
|
||||||
/// <param name="kind"></param>
|
/// <param name="kind"></param>
|
||||||
|
@ -64,7 +64,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Id
|
/// Backing field for Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal int _Id;
|
internal int _Id;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -77,7 +77,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetId(ref int result);
|
partial void GetId(ref int result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identity, Indexed, Required
|
/// Identity, Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key]
|
[Key]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -101,7 +101,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Path
|
/// Backing field for Path.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Path;
|
protected string _Path;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -139,7 +139,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Kind
|
/// Backing field for Kind.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal Enums.ArtKind _Kind;
|
internal Enums.ArtKind _Kind;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -152,7 +152,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetKind(ref Enums.ArtKind result);
|
partial void GetKind(ref Enums.ArtKind result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Indexed, Required
|
/// Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required]
|
[Required]
|
||||||
public Enums.ArtKind Kind
|
public Enums.ArtKind Kind
|
||||||
|
@ -175,7 +175,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, ConcurrenyToken
|
/// Required, ConcurrenyToken.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
[Required]
|
[Required]
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
public Book(Guid urlid, DateTime dateadded)
|
public Book(Guid urlid, DateTime dateadded)
|
||||||
|
|
|
@ -27,7 +27,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object</param>
|
/// <param name="title">The title or name of the object</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes</param>
|
/// <param name="language">ISO-639-3 3-character language codes</param>
|
||||||
|
@ -64,7 +64,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for ISBN
|
/// Backing field for ISBN.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected long? _ISBN;
|
protected long? _ISBN;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -25,7 +25,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes</param>
|
/// <param name="language">ISO-639-3 3-character language codes</param>
|
||||||
/// <param name="timestart"></param>
|
/// <param name="timestart"></param>
|
||||||
|
@ -60,7 +60,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Id
|
/// Backing field for Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal int _Id;
|
internal int _Id;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -73,7 +73,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetId(ref int result);
|
partial void GetId(ref int result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identity, Indexed, Required
|
/// Identity, Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key]
|
[Key]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -98,7 +98,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Name
|
/// Backing field for Name.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Name;
|
protected string _Name;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -135,7 +135,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Language
|
/// Backing field for Language.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Language;
|
protected string _Language;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -149,7 +149,7 @@ namespace Jellyfin.Data.Entities
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, Min length = 3, Max length = 3
|
/// Required, Min length = 3, Max length = 3
|
||||||
/// ISO-639-3 3-character language codes
|
/// ISO-639-3 3-character language codes.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required]
|
[Required]
|
||||||
[MinLength(3)]
|
[MinLength(3)]
|
||||||
|
@ -175,7 +175,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for TimeStart
|
/// Backing field for TimeStart.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected long _TimeStart;
|
protected long _TimeStart;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -188,7 +188,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetTimeStart(ref long result);
|
partial void GetTimeStart(ref long result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required
|
/// Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required]
|
[Required]
|
||||||
public long TimeStart
|
public long TimeStart
|
||||||
|
@ -211,7 +211,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for TimeEnd
|
/// Backing field for TimeEnd.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected long? _TimeEnd;
|
protected long? _TimeEnd;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -243,7 +243,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, ConcurrenyToken
|
/// Required, ConcurrenyToken.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
[Required]
|
[Required]
|
||||||
|
|
|
@ -9,7 +9,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void Init();
|
partial void Init();
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Default constructor
|
/// Default constructor.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public Collection()
|
public Collection()
|
||||||
{
|
{
|
||||||
|
@ -23,7 +23,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Id
|
/// Backing field for Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal int _Id;
|
internal int _Id;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -36,7 +36,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetId(ref int result);
|
partial void GetId(ref int result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identity, Indexed, Required
|
/// Identity, Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key]
|
[Key]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -61,7 +61,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Name
|
/// Backing field for Name.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Name;
|
protected string _Name;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -98,7 +98,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, ConcurrenyToken
|
/// Required, ConcurrenyToken.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
[Required]
|
[Required]
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="_collection0"></param>
|
/// <param name="_collection0"></param>
|
||||||
/// <param name="_collectionitem1"></param>
|
/// <param name="_collectionitem1"></param>
|
||||||
|
@ -67,7 +67,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Id
|
/// Backing field for Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal int _Id;
|
internal int _Id;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -80,7 +80,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetId(ref int result);
|
partial void GetId(ref int result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identity, Indexed, Required
|
/// Identity, Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key]
|
[Key]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -105,7 +105,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, ConcurrenyToken
|
/// Required, ConcurrenyToken.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -121,7 +121,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required
|
/// Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ForeignKey("LibraryItem_Id")]
|
[ForeignKey("LibraryItem_Id")]
|
||||||
public virtual LibraryItem LibraryItem { get; set; }
|
public virtual LibraryItem LibraryItem { get; set; }
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="_moviemetadata0"></param>
|
/// <param name="_moviemetadata0"></param>
|
||||||
/// <param name="_seriesmetadata1"></param>
|
/// <param name="_seriesmetadata1"></param>
|
||||||
|
@ -75,7 +75,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Id
|
/// Backing field for Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal int _Id;
|
internal int _Id;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -88,7 +88,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetId(ref int result);
|
partial void GetId(ref int result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identity, Indexed, Required
|
/// Identity, Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key]
|
[Key]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -113,7 +113,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, ConcurrenyToken
|
/// Required, ConcurrenyToken.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
[Required]
|
[Required]
|
||||||
|
|
|
@ -24,7 +24,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object</param>
|
/// <param name="title">The title or name of the object</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes</param>
|
/// <param name="language">ISO-639-3 3-character language codes</param>
|
||||||
|
@ -60,7 +60,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Description
|
/// Backing field for Description.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Description;
|
protected string _Description;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -97,7 +97,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Headquarters
|
/// Backing field for Headquarters.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Headquarters;
|
protected string _Headquarters;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -134,7 +134,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Country
|
/// Backing field for Country.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Country;
|
protected string _Country;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -171,7 +171,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Homepage
|
/// Backing field for Homepage.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Homepage;
|
protected string _Homepage;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
public CustomItem(Guid urlid, DateTime dateadded)
|
public CustomItem(Guid urlid, DateTime dateadded)
|
||||||
|
|
|
@ -23,7 +23,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object</param>
|
/// <param name="title">The title or name of the object</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes</param>
|
/// <param name="language">ISO-639-3 3-character language codes</param>
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
/// <param name="_season0"></param>
|
/// <param name="_season0"></param>
|
||||||
|
@ -66,7 +66,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for EpisodeNumber
|
/// Backing field for EpisodeNumber.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected int? _EpisodeNumber;
|
protected int? _EpisodeNumber;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -24,7 +24,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object</param>
|
/// <param name="title">The title or name of the object</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes</param>
|
/// <param name="language">ISO-639-3 3-character language codes</param>
|
||||||
|
@ -60,7 +60,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Outline
|
/// Backing field for Outline.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Outline;
|
protected string _Outline;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -97,7 +97,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Plot
|
/// Backing field for Plot.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Plot;
|
protected string _Plot;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -134,7 +134,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Tagline
|
/// Backing field for Tagline.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Tagline;
|
protected string _Tagline;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -25,7 +25,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="name"></param>
|
/// <param name="name"></param>
|
||||||
/// <param name="_metadata0"></param>
|
/// <param name="_metadata0"></param>
|
||||||
|
@ -56,7 +56,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Id
|
/// Backing field for Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal int _Id;
|
internal int _Id;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -69,7 +69,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetId(ref int result);
|
partial void GetId(ref int result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identity, Indexed, Required
|
/// Identity, Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key]
|
[Key]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -94,7 +94,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Name
|
/// Backing field for Name.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal string _Name;
|
internal string _Name;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -132,7 +132,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, ConcurrenyToken
|
/// Required, ConcurrenyToken.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
[Required]
|
[Required]
|
||||||
|
|
|
@ -25,7 +25,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="name"></param>
|
/// <param name="name"></param>
|
||||||
public Library(string name)
|
public Library(string name)
|
||||||
|
@ -51,7 +51,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Id
|
/// Backing field for Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal int _Id;
|
internal int _Id;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -64,7 +64,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetId(ref int result);
|
partial void GetId(ref int result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identity, Indexed, Required
|
/// Identity, Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key]
|
[Key]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -89,7 +89,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Name
|
/// Backing field for Name.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Name;
|
protected string _Name;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -127,7 +127,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, ConcurrenyToken
|
/// Required, ConcurrenyToken.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
[Required]
|
[Required]
|
||||||
|
|
|
@ -17,7 +17,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
protected LibraryItem(Guid urlid, DateTime dateadded)
|
protected LibraryItem(Guid urlid, DateTime dateadded)
|
||||||
|
@ -33,7 +33,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Id
|
/// Backing field for Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal int _Id;
|
internal int _Id;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -46,7 +46,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetId(ref int result);
|
partial void GetId(ref int result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identity, Indexed, Required
|
/// Identity, Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key]
|
[Key]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -71,7 +71,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for UrlId
|
/// Backing field for UrlId.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal Guid _UrlId;
|
internal Guid _UrlId;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -108,7 +108,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for DateAdded
|
/// Backing field for DateAdded.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected DateTime _DateAdded;
|
protected DateTime _DateAdded;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -121,7 +121,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetDateAdded(ref DateTime result);
|
partial void GetDateAdded(ref DateTime result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required
|
/// Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required]
|
[Required]
|
||||||
public DateTime DateAdded
|
public DateTime DateAdded
|
||||||
|
@ -144,7 +144,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, ConcurrenyToken
|
/// Required, ConcurrenyToken.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -160,7 +160,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required
|
/// Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ForeignKey("LibraryRoot_Id")]
|
[ForeignKey("LibraryRoot_Id")]
|
||||||
public virtual LibraryRoot LibraryRoot { get; set; }
|
public virtual LibraryRoot LibraryRoot { get; set; }
|
||||||
|
|
|
@ -25,7 +25,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="path">Absolute Path</param>
|
/// <param name="path">Absolute Path</param>
|
||||||
public LibraryRoot(string path)
|
public LibraryRoot(string path)
|
||||||
|
@ -51,7 +51,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Id
|
/// Backing field for Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal int _Id;
|
internal int _Id;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -64,7 +64,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetId(ref int result);
|
partial void GetId(ref int result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identity, Indexed, Required
|
/// Identity, Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key]
|
[Key]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -89,7 +89,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Path
|
/// Backing field for Path.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Path;
|
protected string _Path;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -103,7 +103,7 @@ namespace Jellyfin.Data.Entities
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, Max length = 65535
|
/// Required, Max length = 65535
|
||||||
/// Absolute Path
|
/// Absolute Path.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required]
|
[Required]
|
||||||
[MaxLength(65535)]
|
[MaxLength(65535)]
|
||||||
|
@ -128,7 +128,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for NetworkPath
|
/// Backing field for NetworkPath.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _NetworkPath;
|
protected string _NetworkPath;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -166,7 +166,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, ConcurrenyToken
|
/// Required, ConcurrenyToken.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -182,7 +182,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required
|
/// Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ForeignKey("Library_Id")]
|
[ForeignKey("Library_Id")]
|
||||||
public virtual Library Library { get; set; }
|
public virtual Library Library { get; set; }
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="path">Relative to the LibraryRoot</param>
|
/// <param name="path">Relative to the LibraryRoot</param>
|
||||||
/// <param name="kind"></param>
|
/// <param name="kind"></param>
|
||||||
|
@ -64,7 +64,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Id
|
/// Backing field for Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal int _Id;
|
internal int _Id;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -77,7 +77,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetId(ref int result);
|
partial void GetId(ref int result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identity, Indexed, Required
|
/// Identity, Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key]
|
[Key]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -102,7 +102,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Path
|
/// Backing field for Path.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Path;
|
protected string _Path;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -116,7 +116,7 @@ namespace Jellyfin.Data.Entities
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, Max length = 65535
|
/// Required, Max length = 65535
|
||||||
/// Relative to the LibraryRoot
|
/// Relative to the LibraryRoot.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required]
|
[Required]
|
||||||
[MaxLength(65535)]
|
[MaxLength(65535)]
|
||||||
|
@ -141,7 +141,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Kind
|
/// Backing field for Kind.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected Enums.MediaFileKind _Kind;
|
protected Enums.MediaFileKind _Kind;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -154,7 +154,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetKind(ref Enums.MediaFileKind result);
|
partial void GetKind(ref Enums.MediaFileKind result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required
|
/// Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required]
|
[Required]
|
||||||
public Enums.MediaFileKind Kind
|
public Enums.MediaFileKind Kind
|
||||||
|
@ -177,7 +177,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, ConcurrenyToken
|
/// Required, ConcurrenyToken.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
[Required]
|
[Required]
|
||||||
|
|
|
@ -25,7 +25,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="streamnumber"></param>
|
/// <param name="streamnumber"></param>
|
||||||
/// <param name="_mediafile0"></param>
|
/// <param name="_mediafile0"></param>
|
||||||
|
@ -55,7 +55,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Id
|
/// Backing field for Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal int _Id;
|
internal int _Id;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -68,7 +68,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetId(ref int result);
|
partial void GetId(ref int result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identity, Indexed, Required
|
/// Identity, Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key]
|
[Key]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -93,7 +93,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for StreamNumber
|
/// Backing field for StreamNumber.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected int _StreamNumber;
|
protected int _StreamNumber;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -106,7 +106,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetStreamNumber(ref int result);
|
partial void GetStreamNumber(ref int result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required
|
/// Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required]
|
[Required]
|
||||||
public int StreamNumber
|
public int StreamNumber
|
||||||
|
@ -129,7 +129,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, ConcurrenyToken
|
/// Required, ConcurrenyToken.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
[Required]
|
[Required]
|
||||||
|
|
|
@ -24,7 +24,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object</param>
|
/// <param name="title">The title or name of the object</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes</param>
|
/// <param name="language">ISO-639-3 3-character language codes</param>
|
||||||
|
@ -50,7 +50,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Id
|
/// Backing field for Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal int _Id;
|
internal int _Id;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -63,7 +63,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetId(ref int result);
|
partial void GetId(ref int result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identity, Indexed, Required
|
/// Identity, Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key]
|
[Key]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -88,7 +88,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Title
|
/// Backing field for Title.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Title;
|
protected string _Title;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -102,7 +102,7 @@ namespace Jellyfin.Data.Entities
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, Max length = 1024
|
/// Required, Max length = 1024
|
||||||
/// The title or name of the object
|
/// The title or name of the object.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required]
|
[Required]
|
||||||
[MaxLength(1024)]
|
[MaxLength(1024)]
|
||||||
|
@ -127,7 +127,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for OriginalTitle
|
/// Backing field for OriginalTitle.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _OriginalTitle;
|
protected string _OriginalTitle;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -164,7 +164,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for SortTitle
|
/// Backing field for SortTitle.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _SortTitle;
|
protected string _SortTitle;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -201,7 +201,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Language
|
/// Backing field for Language.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Language;
|
protected string _Language;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -215,7 +215,7 @@ namespace Jellyfin.Data.Entities
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, Min length = 3, Max length = 3
|
/// Required, Min length = 3, Max length = 3
|
||||||
/// ISO-639-3 3-character language codes
|
/// ISO-639-3 3-character language codes.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required]
|
[Required]
|
||||||
[MinLength(3)]
|
[MinLength(3)]
|
||||||
|
@ -241,7 +241,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for ReleaseDate
|
/// Backing field for ReleaseDate.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected DateTimeOffset? _ReleaseDate;
|
protected DateTimeOffset? _ReleaseDate;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -273,7 +273,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for DateAdded
|
/// Backing field for DateAdded.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected DateTime _DateAdded;
|
protected DateTime _DateAdded;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -286,7 +286,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetDateAdded(ref DateTime result);
|
partial void GetDateAdded(ref DateTime result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required
|
/// Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required]
|
[Required]
|
||||||
public DateTime DateAdded
|
public DateTime DateAdded
|
||||||
|
@ -309,7 +309,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for DateModified
|
/// Backing field for DateModified.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected DateTime _DateModified;
|
protected DateTime _DateModified;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -322,7 +322,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetDateModified(ref DateTime result);
|
partial void GetDateModified(ref DateTime result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required
|
/// Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required]
|
[Required]
|
||||||
public DateTime DateModified
|
public DateTime DateModified
|
||||||
|
@ -345,7 +345,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, ConcurrenyToken
|
/// Required, ConcurrenyToken.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
[Required]
|
[Required]
|
||||||
|
|
|
@ -25,7 +25,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="name"></param>
|
/// <param name="name"></param>
|
||||||
public MetadataProvider(string name)
|
public MetadataProvider(string name)
|
||||||
|
@ -51,7 +51,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Id
|
/// Backing field for Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal int _Id;
|
internal int _Id;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -64,7 +64,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetId(ref int result);
|
partial void GetId(ref int result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identity, Indexed, Required
|
/// Identity, Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key]
|
[Key]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -89,7 +89,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Name
|
/// Backing field for Name.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Name;
|
protected string _Name;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -127,7 +127,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, ConcurrenyToken
|
/// Required, ConcurrenyToken.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
[Required]
|
[Required]
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="providerid"></param>
|
/// <param name="providerid"></param>
|
||||||
/// <param name="_metadata0"></param>
|
/// <param name="_metadata0"></param>
|
||||||
|
@ -77,7 +77,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Id
|
/// Backing field for Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal int _Id;
|
internal int _Id;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -90,7 +90,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetId(ref int result);
|
partial void GetId(ref int result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identity, Indexed, Required
|
/// Identity, Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key]
|
[Key]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -115,7 +115,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for ProviderId
|
/// Backing field for ProviderId.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _ProviderId;
|
protected string _ProviderId;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -153,7 +153,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, ConcurrenyToken
|
/// Required, ConcurrenyToken.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -169,7 +169,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required
|
/// Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ForeignKey("MetadataProvider_Id")]
|
[ForeignKey("MetadataProvider_Id")]
|
||||||
public virtual MetadataProvider MetadataProvider { get; set; }
|
public virtual MetadataProvider MetadataProvider { get; set; }
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
public Movie(Guid urlid, DateTime dateadded)
|
public Movie(Guid urlid, DateTime dateadded)
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object</param>
|
/// <param name="title">The title or name of the object</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes</param>
|
/// <param name="language">ISO-639-3 3-character language codes</param>
|
||||||
|
@ -65,7 +65,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Outline
|
/// Backing field for Outline.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Outline;
|
protected string _Outline;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -102,7 +102,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Plot
|
/// Backing field for Plot.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Plot;
|
protected string _Plot;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -139,7 +139,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Tagline
|
/// Backing field for Tagline.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Tagline;
|
protected string _Tagline;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -176,7 +176,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Country
|
/// Backing field for Country.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Country;
|
protected string _Country;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
public MusicAlbum(Guid urlid, DateTime dateadded)
|
public MusicAlbum(Guid urlid, DateTime dateadded)
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object</param>
|
/// <param name="title">The title or name of the object</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes</param>
|
/// <param name="language">ISO-639-3 3-character language codes</param>
|
||||||
|
@ -65,7 +65,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Barcode
|
/// Backing field for Barcode.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Barcode;
|
protected string _Barcode;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -102,7 +102,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for LabelNumber
|
/// Backing field for LabelNumber.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _LabelNumber;
|
protected string _LabelNumber;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -139,7 +139,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Country
|
/// Backing field for Country.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Country;
|
protected string _Country;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid"></param>
|
/// <param name="urlid"></param>
|
||||||
/// <param name="name"></param>
|
/// <param name="name"></param>
|
||||||
|
@ -59,7 +59,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Id
|
/// Backing field for Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal int _Id;
|
internal int _Id;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -72,7 +72,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetId(ref int result);
|
partial void GetId(ref int result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identity, Indexed, Required
|
/// Identity, Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key]
|
[Key]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -97,7 +97,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for UrlId
|
/// Backing field for UrlId.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected Guid _UrlId;
|
protected Guid _UrlId;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -110,7 +110,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetUrlId(ref Guid result);
|
partial void GetUrlId(ref Guid result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required
|
/// Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required]
|
[Required]
|
||||||
public Guid UrlId
|
public Guid UrlId
|
||||||
|
@ -133,7 +133,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Name
|
/// Backing field for Name.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Name;
|
protected string _Name;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -171,7 +171,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for SourceId
|
/// Backing field for SourceId.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _SourceId;
|
protected string _SourceId;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -208,7 +208,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for DateAdded
|
/// Backing field for DateAdded.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected DateTime _DateAdded;
|
protected DateTime _DateAdded;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -221,7 +221,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetDateAdded(ref DateTime result);
|
partial void GetDateAdded(ref DateTime result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required
|
/// Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required]
|
[Required]
|
||||||
public DateTime DateAdded
|
public DateTime DateAdded
|
||||||
|
@ -244,7 +244,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for DateModified
|
/// Backing field for DateModified.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected DateTime _DateModified;
|
protected DateTime _DateModified;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -257,7 +257,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetDateModified(ref DateTime result);
|
partial void GetDateModified(ref DateTime result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required
|
/// Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required]
|
[Required]
|
||||||
public DateTime DateModified
|
public DateTime DateModified
|
||||||
|
@ -280,7 +280,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, ConcurrenyToken
|
/// Required, ConcurrenyToken.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
[Required]
|
[Required]
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="type"></param>
|
/// <param name="type"></param>
|
||||||
/// <param name="_metadata0"></param>
|
/// <param name="_metadata0"></param>
|
||||||
|
@ -65,7 +65,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Id
|
/// Backing field for Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal int _Id;
|
internal int _Id;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -78,7 +78,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetId(ref int result);
|
partial void GetId(ref int result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identity, Indexed, Required
|
/// Identity, Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key]
|
[Key]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -103,7 +103,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Role
|
/// Backing field for Role.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Role;
|
protected string _Role;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -140,7 +140,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Type
|
/// Backing field for Type.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected Enums.PersonRoleType _Type;
|
protected Enums.PersonRoleType _Type;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -153,7 +153,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetType(ref Enums.PersonRoleType result);
|
partial void GetType(ref Enums.PersonRoleType result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required
|
/// Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required]
|
[Required]
|
||||||
public Enums.PersonRoleType Type
|
public Enums.PersonRoleType Type
|
||||||
|
@ -176,7 +176,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, ConcurrenyToken
|
/// Required, ConcurrenyToken.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -192,7 +192,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required
|
/// Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ForeignKey("Person_Id")]
|
[ForeignKey("Person_Id")]
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
public Photo(Guid urlid, DateTime dateadded)
|
public Photo(Guid urlid, DateTime dateadded)
|
||||||
|
|
|
@ -24,7 +24,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object</param>
|
/// <param name="title">The title or name of the object</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes</param>
|
/// <param name="language">ISO-639-3 3-character language codes</param>
|
||||||
|
|
|
@ -25,7 +25,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="providername"></param>
|
/// <param name="providername"></param>
|
||||||
/// <param name="providersecrets"></param>
|
/// <param name="providersecrets"></param>
|
||||||
|
@ -65,7 +65,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identity, Indexed, Required
|
/// Identity, Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key]
|
[Key]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -97,7 +97,7 @@ namespace Jellyfin.Data.Entities
|
||||||
public string ProviderData { get; set; }
|
public string ProviderData { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, ConcurrenyToken
|
/// Required, ConcurrenyToken.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
[Required]
|
[Required]
|
||||||
|
|
|
@ -25,7 +25,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="value"></param>
|
/// <param name="value"></param>
|
||||||
/// <param name="_metadata0"></param>
|
/// <param name="_metadata0"></param>
|
||||||
|
@ -55,7 +55,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Id
|
/// Backing field for Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal int _Id;
|
internal int _Id;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -68,7 +68,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetId(ref int result);
|
partial void GetId(ref int result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identity, Indexed, Required
|
/// Identity, Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key]
|
[Key]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -93,7 +93,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Value
|
/// Backing field for Value.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected double _Value;
|
protected double _Value;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -106,7 +106,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetValue(ref double result);
|
partial void GetValue(ref double result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required
|
/// Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required]
|
[Required]
|
||||||
public double Value
|
public double Value
|
||||||
|
@ -129,7 +129,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Votes
|
/// Backing field for Votes.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected int? _Votes;
|
protected int? _Votes;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -161,7 +161,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, ConcurrenyToken
|
/// Required, ConcurrenyToken.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
[Required]
|
[Required]
|
||||||
|
|
|
@ -5,7 +5,7 @@ using System.ComponentModel.DataAnnotations.Schema;
|
||||||
namespace Jellyfin.Data.Entities
|
namespace Jellyfin.Data.Entities
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This is the entity to store review ratings, not age ratings
|
/// This is the entity to store review ratings, not age ratings.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class RatingSource
|
public partial class RatingSource
|
||||||
{
|
{
|
||||||
|
@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="maximumvalue"></param>
|
/// <param name="maximumvalue"></param>
|
||||||
/// <param name="minimumvalue"></param>
|
/// <param name="minimumvalue"></param>
|
||||||
|
@ -62,7 +62,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Id
|
/// Backing field for Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal int _Id;
|
internal int _Id;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -75,7 +75,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetId(ref int result);
|
partial void GetId(ref int result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identity, Indexed, Required
|
/// Identity, Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key]
|
[Key]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -100,7 +100,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Name
|
/// Backing field for Name.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Name;
|
protected string _Name;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -137,7 +137,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for MaximumValue
|
/// Backing field for MaximumValue.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected double _MaximumValue;
|
protected double _MaximumValue;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -150,7 +150,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetMaximumValue(ref double result);
|
partial void GetMaximumValue(ref double result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required
|
/// Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required]
|
[Required]
|
||||||
public double MaximumValue
|
public double MaximumValue
|
||||||
|
@ -173,7 +173,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for MinimumValue
|
/// Backing field for MinimumValue.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected double _MinimumValue;
|
protected double _MinimumValue;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -186,7 +186,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetMinimumValue(ref double result);
|
partial void GetMinimumValue(ref double result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required
|
/// Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Required]
|
[Required]
|
||||||
public double MinimumValue
|
public double MinimumValue
|
||||||
|
@ -209,7 +209,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, ConcurrenyToken
|
/// Required, ConcurrenyToken.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
[Required]
|
[Required]
|
||||||
|
|
|
@ -29,7 +29,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="name"></param>
|
/// <param name="name"></param>
|
||||||
/// <param name="_movie0"></param>
|
/// <param name="_movie0"></param>
|
||||||
|
@ -87,7 +87,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Id
|
/// Backing field for Id.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
internal int _Id;
|
internal int _Id;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -100,7 +100,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetId(ref int result);
|
partial void GetId(ref int result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Identity, Indexed, Required
|
/// Identity, Indexed, Required.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Key]
|
[Key]
|
||||||
[Required]
|
[Required]
|
||||||
|
@ -125,7 +125,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Name
|
/// Backing field for Name.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Name;
|
protected string _Name;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -163,7 +163,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required, ConcurrenyToken
|
/// Required, ConcurrenyToken.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ConcurrencyCheck]
|
[ConcurrencyCheck]
|
||||||
[Required]
|
[Required]
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
/// <param name="_series0"></param>
|
/// <param name="_series0"></param>
|
||||||
|
@ -66,7 +66,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for SeasonNumber
|
/// Backing field for SeasonNumber.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected int? _SeasonNumber;
|
protected int? _SeasonNumber;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -25,7 +25,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object</param>
|
/// <param name="title">The title or name of the object</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes</param>
|
/// <param name="language">ISO-639-3 3-character language codes</param>
|
||||||
|
@ -61,7 +61,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Outline
|
/// Backing field for Outline.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Outline;
|
protected string _Outline;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -20,7 +20,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
public Series(Guid urlid, DateTime dateadded)
|
public Series(Guid urlid, DateTime dateadded)
|
||||||
|
@ -47,7 +47,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for AirsDayOfWeek
|
/// Backing field for AirsDayOfWeek.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected DayOfWeek? _AirsDayOfWeek;
|
protected DayOfWeek? _AirsDayOfWeek;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -79,7 +79,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for AirsTime
|
/// Backing field for AirsTime.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected DateTimeOffset? _AirsTime;
|
protected DateTimeOffset? _AirsTime;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -92,7 +92,7 @@ namespace Jellyfin.Data.Entities
|
||||||
partial void GetAirsTime(ref DateTimeOffset? result);
|
partial void GetAirsTime(ref DateTimeOffset? result);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The time the show airs, ignore the date portion
|
/// The time the show airs, ignore the date portion.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public DateTimeOffset? AirsTime
|
public DateTimeOffset? AirsTime
|
||||||
{
|
{
|
||||||
|
@ -114,7 +114,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for FirstAired
|
/// Backing field for FirstAired.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected DateTimeOffset? _FirstAired;
|
protected DateTimeOffset? _FirstAired;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -28,7 +28,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object</param>
|
/// <param name="title">The title or name of the object</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes</param>
|
/// <param name="language">ISO-639-3 3-character language codes</param>
|
||||||
|
@ -65,7 +65,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Outline
|
/// Backing field for Outline.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Outline;
|
protected string _Outline;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -102,7 +102,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Plot
|
/// Backing field for Plot.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Plot;
|
protected string _Plot;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -139,7 +139,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Tagline
|
/// Backing field for Tagline.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Tagline;
|
protected string _Tagline;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -176,7 +176,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for Country
|
/// Backing field for Country.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string _Country;
|
protected string _Country;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -31,7 +31,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
/// <param name="_musicalbum0"></param>
|
/// <param name="_musicalbum0"></param>
|
||||||
|
@ -66,7 +66,7 @@ namespace Jellyfin.Data.Entities
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Backing field for TrackNumber
|
/// Backing field for TrackNumber.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected int? _TrackNumber;
|
protected int? _TrackNumber;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -24,7 +24,7 @@ namespace Jellyfin.Data.Entities
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Public constructor with required data
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object</param>
|
/// <param name="title">The title or name of the object</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes</param>
|
/// <param name="language">ISO-639-3 3-character language codes</param>
|
||||||
|
|
|
@ -26,7 +26,7 @@ namespace Jellyfin.Data.Enums
|
||||||
EnabledDevices = 3,
|
EnabledDevices = 3,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A list of enabled channels
|
/// A list of enabled channels.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
EnabledChannels = 4,
|
EnabledChannels = 4,
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,7 @@ namespace Jellyfin.Server.Implementations
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Repository for global::Jellyfin.Data.Entities.RatingSource - This is the entity to
|
/// Repository for global::Jellyfin.Data.Entities.RatingSource - This is the entity to
|
||||||
/// store review ratings, not age ratings
|
/// store review ratings, not age ratings.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual DbSet<RatingSource> RatingSources { get; set; }
|
public virtual DbSet<RatingSource> RatingSources { get; set; }
|
||||||
public virtual DbSet<Release> Releases { get; set; }
|
public virtual DbSet<Release> Releases { get; set; }
|
||||||
|
|
|
@ -43,7 +43,7 @@ namespace MediaBrowser.Api
|
||||||
private readonly IMediaSourceManager _mediaSourceManager;
|
private readonly IMediaSourceManager _mediaSourceManager;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The active transcoding jobs
|
/// The active transcoding jobs.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private readonly List<TranscodingJob> _activeTranscodingJobs = new List<TranscodingJob>();
|
private readonly List<TranscodingJob> _activeTranscodingJobs = new List<TranscodingJob>();
|
||||||
|
|
||||||
|
@ -293,7 +293,7 @@ namespace MediaBrowser.Api
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The progressive
|
/// The progressive.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// Called when [transcode failed to start].
|
/// Called when [transcode failed to start].
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -17,7 +17,7 @@ using Microsoft.Extensions.Logging;
|
||||||
namespace MediaBrowser.Api
|
namespace MediaBrowser.Api
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class BaseApiService
|
/// Class BaseApiService.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public abstract class BaseApiService : IService, IRequiresRequest
|
public abstract class BaseApiService : IService, IRequiresRequest
|
||||||
{
|
{
|
||||||
|
|
|
@ -36,7 +36,7 @@ namespace MediaBrowser.Api
|
||||||
public int? StartIndex { get; set; }
|
public int? StartIndex { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The maximum number of items to return
|
/// The maximum number of items to return.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The limit.</value>
|
/// <value>The limit.</value>
|
||||||
[ApiMember(Name = "Limit", Description = "Optional. The maximum number of records to return", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
|
[ApiMember(Name = "Limit", Description = "Optional. The maximum number of records to return", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
|
||||||
|
@ -90,7 +90,7 @@ namespace MediaBrowser.Api
|
||||||
public int? StartIndex { get; set; }
|
public int? StartIndex { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The maximum number of items to return
|
/// The maximum number of items to return.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The limit.</value>
|
/// <value>The limit.</value>
|
||||||
[ApiMember(Name = "Limit", Description = "Optional. The maximum number of records to return", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
|
[ApiMember(Name = "Limit", Description = "Optional. The maximum number of records to return", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
|
||||||
|
@ -149,7 +149,7 @@ namespace MediaBrowser.Api
|
||||||
public int? StartIndex { get; set; }
|
public int? StartIndex { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The maximum number of items to return
|
/// The maximum number of items to return.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The limit.</value>
|
/// <value>The limit.</value>
|
||||||
[ApiMember(Name = "Limit", Description = "Optional. The maximum number of records to return", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
|
[ApiMember(Name = "Limit", Description = "Optional. The maximum number of records to return", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
|
||||||
|
|
|
@ -11,7 +11,7 @@ using Microsoft.Extensions.Logging;
|
||||||
namespace MediaBrowser.Api
|
namespace MediaBrowser.Api
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class GetConfiguration
|
/// Class GetConfiguration.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Route("/System/Configuration", "GET", Summary = "Gets application configuration")]
|
[Route("/System/Configuration", "GET", Summary = "Gets application configuration")]
|
||||||
[Authenticated]
|
[Authenticated]
|
||||||
|
@ -28,7 +28,7 @@ namespace MediaBrowser.Api
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class UpdateConfiguration
|
/// Class UpdateConfiguration.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Route("/System/Configuration", "POST", Summary = "Updates application configuration")]
|
[Route("/System/Configuration", "POST", Summary = "Updates application configuration")]
|
||||||
[Authenticated(Roles = "Admin")]
|
[Authenticated(Roles = "Admin")]
|
||||||
|
@ -65,12 +65,12 @@ namespace MediaBrowser.Api
|
||||||
public class ConfigurationService : BaseApiService
|
public class ConfigurationService : BaseApiService
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _json serializer
|
/// The _json serializer.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private readonly IJsonSerializer _jsonSerializer;
|
private readonly IJsonSerializer _jsonSerializer;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _configuration manager
|
/// The _configuration manager.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private readonly IServerConfigurationManager _configurationManager;
|
private readonly IServerConfigurationManager _configurationManager;
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ using Microsoft.Extensions.Logging;
|
||||||
namespace MediaBrowser.Api
|
namespace MediaBrowser.Api
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class UpdateDisplayPreferences
|
/// Class UpdateDisplayPreferences.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Route("/DisplayPreferences/{DisplayPreferencesId}", "POST", Summary = "Updates a user's display preferences for an item")]
|
[Route("/DisplayPreferences/{DisplayPreferencesId}", "POST", Summary = "Updates a user's display preferences for an item")]
|
||||||
public class UpdateDisplayPreferences : DisplayPreferences, IReturnVoid
|
public class UpdateDisplayPreferences : DisplayPreferences, IReturnVoid
|
||||||
|
@ -44,17 +44,17 @@ namespace MediaBrowser.Api
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class DisplayPreferencesService
|
/// Class DisplayPreferencesService.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Authenticated]
|
[Authenticated]
|
||||||
public class DisplayPreferencesService : BaseApiService
|
public class DisplayPreferencesService : BaseApiService
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _display preferences manager
|
/// The _display preferences manager.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private readonly IDisplayPreferencesRepository _displayPreferencesManager;
|
private readonly IDisplayPreferencesRepository _displayPreferencesManager;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _json serializer
|
/// The _json serializer.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private readonly IJsonSerializer _jsonSerializer;
|
private readonly IJsonSerializer _jsonSerializer;
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ using Microsoft.Extensions.Logging;
|
||||||
namespace MediaBrowser.Api
|
namespace MediaBrowser.Api
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class GetDirectoryContents
|
/// Class GetDirectoryContents.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Route("/Environment/DirectoryContents", "GET", Summary = "Gets the contents of a given directory in the file system")]
|
[Route("/Environment/DirectoryContents", "GET", Summary = "Gets the contents of a given directory in the file system")]
|
||||||
public class GetDirectoryContents : IReturn<List<FileSystemEntryInfo>>
|
public class GetDirectoryContents : IReturn<List<FileSystemEntryInfo>>
|
||||||
|
@ -66,7 +66,7 @@ namespace MediaBrowser.Api
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class GetDrives
|
/// Class GetDrives.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Route("/Environment/Drives", "GET", Summary = "Gets available drives from the server's file system")]
|
[Route("/Environment/Drives", "GET", Summary = "Gets available drives from the server's file system")]
|
||||||
public class GetDrives : IReturn<List<FileSystemEntryInfo>>
|
public class GetDrives : IReturn<List<FileSystemEntryInfo>>
|
||||||
|
@ -74,7 +74,7 @@ namespace MediaBrowser.Api
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class GetNetworkComputers
|
/// Class GetNetworkComputers.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Route("/Environment/NetworkDevices", "GET", Summary = "Gets a list of devices on the network")]
|
[Route("/Environment/NetworkDevices", "GET", Summary = "Gets a list of devices on the network")]
|
||||||
public class GetNetworkDevices : IReturn<List<FileSystemEntryInfo>>
|
public class GetNetworkDevices : IReturn<List<FileSystemEntryInfo>>
|
||||||
|
@ -103,7 +103,7 @@ namespace MediaBrowser.Api
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class EnvironmentService
|
/// Class EnvironmentService.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Authenticated(Roles = "Admin", AllowBeforeStartupWizard = true)]
|
[Authenticated(Roles = "Admin", AllowBeforeStartupWizard = true)]
|
||||||
public class EnvironmentService : BaseApiService
|
public class EnvironmentService : BaseApiService
|
||||||
|
@ -112,7 +112,7 @@ namespace MediaBrowser.Api
|
||||||
private const string UncSeparatorString = "\\";
|
private const string UncSeparatorString = "\\";
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _network manager
|
/// The _network manager.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private readonly INetworkManager _networkManager;
|
private readonly INetworkManager _networkManager;
|
||||||
private readonly IFileSystem _fileSystem;
|
private readonly IFileSystem _fileSystem;
|
||||||
|
@ -220,7 +220,7 @@ namespace MediaBrowser.Api
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the list that is returned when an empty path is supplied
|
/// Gets the list that is returned when an empty path is supplied.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns>IEnumerable{FileSystemEntryInfo}.</returns>
|
/// <returns>IEnumerable{FileSystemEntryInfo}.</returns>
|
||||||
private IEnumerable<FileSystemEntryInfo> GetDrives()
|
private IEnumerable<FileSystemEntryInfo> GetDrives()
|
||||||
|
|
|
@ -5,7 +5,7 @@ using MediaBrowser.Model.Querying;
|
||||||
namespace MediaBrowser.Api
|
namespace MediaBrowser.Api
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Interface IHasItemFields
|
/// Interface IHasItemFields.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public interface IHasItemFields
|
public interface IHasItemFields
|
||||||
{
|
{
|
||||||
|
|
|
@ -16,7 +16,7 @@ using Microsoft.Extensions.Logging;
|
||||||
namespace MediaBrowser.Api.Images
|
namespace MediaBrowser.Api.Images
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class GetGeneralImage
|
/// Class GetGeneralImage.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Route("/Images/General/{Name}/{Type}", "GET", Summary = "Gets a general image by name")]
|
[Route("/Images/General/{Name}/{Type}", "GET", Summary = "Gets a general image by name")]
|
||||||
public class GetGeneralImage
|
public class GetGeneralImage
|
||||||
|
@ -33,7 +33,7 @@ namespace MediaBrowser.Api.Images
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class GetRatingImage
|
/// Class GetRatingImage.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Route("/Images/Ratings/{Theme}/{Name}", "GET", Summary = "Gets a rating image by name")]
|
[Route("/Images/Ratings/{Theme}/{Name}", "GET", Summary = "Gets a rating image by name")]
|
||||||
public class GetRatingImage
|
public class GetRatingImage
|
||||||
|
@ -54,7 +54,7 @@ namespace MediaBrowser.Api.Images
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class GetMediaInfoImage
|
/// Class GetMediaInfoImage.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Route("/Images/MediaInfo/{Theme}/{Name}", "GET", Summary = "Gets a media info image by name")]
|
[Route("/Images/MediaInfo/{Theme}/{Name}", "GET", Summary = "Gets a media info image by name")]
|
||||||
public class GetMediaInfoImage
|
public class GetMediaInfoImage
|
||||||
|
@ -93,12 +93,12 @@ namespace MediaBrowser.Api.Images
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class ImageByNameService
|
/// Class ImageByNameService.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class ImageByNameService : BaseApiService
|
public class ImageByNameService : BaseApiService
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The _app paths
|
/// The _app paths.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private readonly IServerApplicationPaths _appPaths;
|
private readonly IServerApplicationPaths _appPaths;
|
||||||
|
|
||||||
|
|
|
@ -4,30 +4,30 @@ using MediaBrowser.Model.Services;
|
||||||
namespace MediaBrowser.Api.Images
|
namespace MediaBrowser.Api.Images
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class ImageRequest
|
/// Class ImageRequest.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class ImageRequest : DeleteImageRequest
|
public class ImageRequest : DeleteImageRequest
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The max width
|
/// The max width.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ApiMember(Name = "MaxWidth", Description = "The maximum image width to return.", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
|
[ApiMember(Name = "MaxWidth", Description = "The maximum image width to return.", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
|
||||||
public int? MaxWidth { get; set; }
|
public int? MaxWidth { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The max height
|
/// The max height.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ApiMember(Name = "MaxHeight", Description = "The maximum image height to return.", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
|
[ApiMember(Name = "MaxHeight", Description = "The maximum image height to return.", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
|
||||||
public int? MaxHeight { get; set; }
|
public int? MaxHeight { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The width
|
/// The width.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ApiMember(Name = "Width", Description = "The fixed image width to return.", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
|
[ApiMember(Name = "Width", Description = "The fixed image width to return.", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
|
||||||
public int? Width { get; set; }
|
public int? Width { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The height
|
/// The height.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[ApiMember(Name = "Height", Description = "The fixed image height to return.", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
|
[ApiMember(Name = "Height", Description = "The fixed image height to return.", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
|
||||||
public int? Height { get; set; }
|
public int? Height { get; set; }
|
||||||
|
@ -79,7 +79,7 @@ namespace MediaBrowser.Api.Images
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class DeleteImageRequest
|
/// Class DeleteImageRequest.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class DeleteImageRequest
|
public class DeleteImageRequest
|
||||||
{
|
{
|
||||||
|
|
|
@ -58,7 +58,7 @@ namespace MediaBrowser.Api.Images
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class UpdateItemImageIndex
|
/// Class UpdateItemImageIndex.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Route("/Items/{Id}/Images/{Type}/{Index}/Index", "POST", Summary = "Updates the index for an item image")]
|
[Route("/Items/{Id}/Images/{Type}/{Index}/Index", "POST", Summary = "Updates the index for an item image")]
|
||||||
[Authenticated(Roles = "admin")]
|
[Authenticated(Roles = "admin")]
|
||||||
|
@ -94,7 +94,7 @@ namespace MediaBrowser.Api.Images
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class GetPersonImage
|
/// Class GetPersonImage.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Route("/Artists/{Name}/Images/{Type}", "GET")]
|
[Route("/Artists/{Name}/Images/{Type}", "GET")]
|
||||||
[Route("/Artists/{Name}/Images/{Type}/{Index}", "GET")]
|
[Route("/Artists/{Name}/Images/{Type}/{Index}", "GET")]
|
||||||
|
@ -131,7 +131,7 @@ namespace MediaBrowser.Api.Images
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class GetUserImage
|
/// Class GetUserImage.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Route("/Users/{Id}/Images/{Type}", "GET")]
|
[Route("/Users/{Id}/Images/{Type}", "GET")]
|
||||||
[Route("/Users/{Id}/Images/{Type}/{Index}", "GET")]
|
[Route("/Users/{Id}/Images/{Type}/{Index}", "GET")]
|
||||||
|
@ -148,7 +148,7 @@ namespace MediaBrowser.Api.Images
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class DeleteItemImage
|
/// Class DeleteItemImage.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Route("/Items/{Id}/Images/{Type}", "DELETE")]
|
[Route("/Items/{Id}/Images/{Type}", "DELETE")]
|
||||||
[Route("/Items/{Id}/Images/{Type}/{Index}", "DELETE")]
|
[Route("/Items/{Id}/Images/{Type}/{Index}", "DELETE")]
|
||||||
|
@ -164,7 +164,7 @@ namespace MediaBrowser.Api.Images
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class DeleteUserImage
|
/// Class DeleteUserImage.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Route("/Users/{Id}/Images/{Type}", "DELETE")]
|
[Route("/Users/{Id}/Images/{Type}", "DELETE")]
|
||||||
[Route("/Users/{Id}/Images/{Type}/{Index}", "DELETE")]
|
[Route("/Users/{Id}/Images/{Type}/{Index}", "DELETE")]
|
||||||
|
@ -180,7 +180,7 @@ namespace MediaBrowser.Api.Images
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class PostUserImage
|
/// Class PostUserImage.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Route("/Users/{Id}/Images/{Type}", "POST")]
|
[Route("/Users/{Id}/Images/{Type}", "POST")]
|
||||||
[Route("/Users/{Id}/Images/{Type}/{Index}", "POST")]
|
[Route("/Users/{Id}/Images/{Type}/{Index}", "POST")]
|
||||||
|
@ -195,14 +195,14 @@ namespace MediaBrowser.Api.Images
|
||||||
public string Id { get; set; }
|
public string Id { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The raw Http Request Input Stream
|
/// The raw Http Request Input Stream.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The request stream.</value>
|
/// <value>The request stream.</value>
|
||||||
public Stream RequestStream { get; set; }
|
public Stream RequestStream { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class PostItemImage
|
/// Class PostItemImage.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Route("/Items/{Id}/Images/{Type}", "POST")]
|
[Route("/Items/{Id}/Images/{Type}", "POST")]
|
||||||
[Route("/Items/{Id}/Images/{Type}/{Index}", "POST")]
|
[Route("/Items/{Id}/Images/{Type}/{Index}", "POST")]
|
||||||
|
@ -217,14 +217,14 @@ namespace MediaBrowser.Api.Images
|
||||||
public string Id { get; set; }
|
public string Id { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The raw Http Request Input Stream
|
/// The raw Http Request Input Stream.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The request stream.</value>
|
/// <value>The request stream.</value>
|
||||||
public Stream RequestStream { get; set; }
|
public Stream RequestStream { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Class ImageService
|
/// Class ImageService.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class ImageService : BaseApiService
|
public class ImageService : BaseApiService
|
||||||
{
|
{
|
||||||
|
|
|
@ -33,7 +33,7 @@ namespace MediaBrowser.Api.Images
|
||||||
public int? StartIndex { get; set; }
|
public int? StartIndex { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The maximum number of items to return
|
/// The maximum number of items to return.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <value>The limit.</value>
|
/// <value>The limit.</value>
|
||||||
[ApiMember(Name = "Limit", Description = "Optional. The maximum number of records to return", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
|
[ApiMember(Name = "Limit", Description = "Optional. The maximum number of records to return", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user