diff options
| author | LogicalPhallacy <44458166+LogicalPhallacy@users.noreply.github.com> | 2019-01-05 16:22:18 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-05 16:22:18 -0800 |
| commit | 8ff89fdc0c30f595a171ffc550f907ef22b6212a (patch) | |
| tree | 6bae45c12ea8530e5af2ceaceaa50e715ea7087c /MediaBrowser.Model/Devices | |
| parent | 4eaeee7be24a35e697731da1403c12df8f4f753a (diff) | |
| parent | b39585cbf6ccc519161e8f6420daaa046a26bf32 (diff) | |
Merge pull request #5 from jellyfin/dev
Dev
Diffstat (limited to 'MediaBrowser.Model/Devices')
| -rw-r--r-- | MediaBrowser.Model/Devices/DeviceInfo.cs | 16 | ||||
| -rw-r--r-- | MediaBrowser.Model/Devices/DeviceQuery.cs | 9 | ||||
| -rw-r--r-- | MediaBrowser.Model/Devices/DevicesOptions.cs | 5 |
3 files changed, 4 insertions, 26 deletions
diff --git a/MediaBrowser.Model/Devices/DeviceInfo.cs b/MediaBrowser.Model/Devices/DeviceInfo.cs index 590dc5eb3..a588ce029 100644 --- a/MediaBrowser.Model/Devices/DeviceInfo.cs +++ b/MediaBrowser.Model/Devices/DeviceInfo.cs @@ -5,22 +5,6 @@ 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> diff --git a/MediaBrowser.Model/Devices/DeviceQuery.cs b/MediaBrowser.Model/Devices/DeviceQuery.cs index 9ceea1ea8..2838239e4 100644 --- a/MediaBrowser.Model/Devices/DeviceQuery.cs +++ b/MediaBrowser.Model/Devices/DeviceQuery.cs @@ -1,14 +1,11 @@ +using System; + 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> @@ -17,6 +14,6 @@ namespace MediaBrowser.Model.Devices /// Gets or sets the user identifier. /// </summary> /// <value>The user identifier.</value> - public string UserId { get; set; } + public Guid UserId { get; set; } } } diff --git a/MediaBrowser.Model/Devices/DevicesOptions.cs b/MediaBrowser.Model/Devices/DevicesOptions.cs index 5bcdd1a82..8e478d005 100644 --- a/MediaBrowser.Model/Devices/DevicesOptions.cs +++ b/MediaBrowser.Model/Devices/DevicesOptions.cs @@ -10,15 +10,12 @@ namespace MediaBrowser.Model.Devices public DevicesOptions() { - EnabledCameraUploadDevices = new string[] {}; + EnabledCameraUploadDevices = Array.Empty<string>(); } } public class DeviceOptions { - public string[] EnabledCameraUploadDevices { get; set; } - public string CameraUploadPath { get; set; } - public bool EnableCameraUploadSubfolders { get; set; } public string CustomName { get; set; } } } |
