mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-18 20:24:20 +01:00
update connect
This commit is contained in:
@@ -1,15 +1,35 @@
|
||||
using System;
|
||||
using MediaBrowser.Model.Session;
|
||||
using MediaBrowser.Model.Session;
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.Devices
|
||||
{
|
||||
public class DeviceInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
/// 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; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the name.
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
public string Name { get; set; }
|
||||
public string Name
|
||||
{
|
||||
get { return string.IsNullOrEmpty(CustomName) ? ReportedName : CustomName; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the identifier.
|
||||
/// </summary>
|
||||
|
||||
17
MediaBrowser.Model/Devices/DeviceOptions.cs
Normal file
17
MediaBrowser.Model/Devices/DeviceOptions.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
namespace MediaBrowser.Model.Devices
|
||||
{
|
||||
public class DeviceOptions
|
||||
{
|
||||
/// <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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user