mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-31 04:48:27 +01:00
Add GPL modules
This commit is contained in:
15
MediaBrowser.Model/Devices/ContentUploadHistory.cs
Normal file
15
MediaBrowser.Model/Devices/ContentUploadHistory.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.Devices
|
||||
{
|
||||
public class ContentUploadHistory
|
||||
{
|
||||
public string DeviceId { get; set; }
|
||||
public LocalFileInfo[] FilesUploaded { get; set; }
|
||||
|
||||
public ContentUploadHistory()
|
||||
{
|
||||
FilesUploaded = new LocalFileInfo[] { };
|
||||
}
|
||||
}
|
||||
}
|
||||
69
MediaBrowser.Model/Devices/DeviceInfo.cs
Normal file
69
MediaBrowser.Model/Devices/DeviceInfo.cs
Normal file
@@ -0,0 +1,69 @@
|
||||
using MediaBrowser.Model.Session;
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.Devices
|
||||
{
|
||||
public class DeviceInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the reported.
|
||||
/// </summary>
|
||||
/// <value>The name of the reported.</value>
|
||||
public string ReportedName { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the custom.
|
||||
/// </summary>
|
||||
/// <value>The name of the custom.</value>
|
||||
public string CustomName { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the camera upload path.
|
||||
/// </summary>
|
||||
/// <value>The camera upload path.</value>
|
||||
public string CameraUploadPath { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the identifier.
|
||||
/// </summary>
|
||||
/// <value>The identifier.</value>
|
||||
public string Id { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the last name of the user.
|
||||
/// </summary>
|
||||
/// <value>The last name of the user.</value>
|
||||
public string LastUserName { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the application.
|
||||
/// </summary>
|
||||
/// <value>The name of the application.</value>
|
||||
public string AppName { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the application version.
|
||||
/// </summary>
|
||||
/// <value>The application version.</value>
|
||||
public string AppVersion { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the last user identifier.
|
||||
/// </summary>
|
||||
/// <value>The last user identifier.</value>
|
||||
public Guid LastUserId { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the date last modified.
|
||||
/// </summary>
|
||||
/// <value>The date last modified.</value>
|
||||
public DateTime DateLastActivity { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the capabilities.
|
||||
/// </summary>
|
||||
/// <value>The capabilities.</value>
|
||||
public ClientCapabilities Capabilities { get; set; }
|
||||
|
||||
public DeviceInfo()
|
||||
{
|
||||
Capabilities = new ClientCapabilities();
|
||||
}
|
||||
|
||||
public string IconUrl { get; set; }
|
||||
}
|
||||
}
|
||||
22
MediaBrowser.Model/Devices/DeviceQuery.cs
Normal file
22
MediaBrowser.Model/Devices/DeviceQuery.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
namespace MediaBrowser.Model.Devices
|
||||
{
|
||||
public class DeviceQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [supports unique identifier].
|
||||
/// </summary>
|
||||
/// <value><c>null</c> if [supports unique identifier] contains no value, <c>true</c> if [supports unique identifier]; otherwise, <c>false</c>.</value>
|
||||
public bool? SupportsPersistentIdentifier { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [supports synchronize].
|
||||
/// </summary>
|
||||
/// <value><c>null</c> if [supports synchronize] contains no value, <c>true</c> if [supports synchronize]; otherwise, <c>false</c>.</value>
|
||||
public bool? SupportsSync { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the user identifier.
|
||||
/// </summary>
|
||||
/// <value>The user identifier.</value>
|
||||
public string UserId { get; set; }
|
||||
}
|
||||
}
|
||||
24
MediaBrowser.Model/Devices/DevicesOptions.cs
Normal file
24
MediaBrowser.Model/Devices/DevicesOptions.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.Devices
|
||||
{
|
||||
public class DevicesOptions
|
||||
{
|
||||
public string[] EnabledCameraUploadDevices { get; set; }
|
||||
public string CameraUploadPath { get; set; }
|
||||
public bool EnableCameraUploadSubfolders { get; set; }
|
||||
|
||||
public DevicesOptions()
|
||||
{
|
||||
EnabledCameraUploadDevices = new string[] {};
|
||||
}
|
||||
}
|
||||
|
||||
public class DeviceOptions
|
||||
{
|
||||
public string[] EnabledCameraUploadDevices { get; set; }
|
||||
public string CameraUploadPath { get; set; }
|
||||
public bool EnableCameraUploadSubfolders { get; set; }
|
||||
public string CustomName { get; set; }
|
||||
}
|
||||
}
|
||||
11
MediaBrowser.Model/Devices/LocalFileInfo.cs
Normal file
11
MediaBrowser.Model/Devices/LocalFileInfo.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
namespace MediaBrowser.Model.Devices
|
||||
{
|
||||
public class LocalFileInfo
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public string Id { get; set; }
|
||||
public string Album { get; set; }
|
||||
public string MimeType { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user