diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-12-10 02:16:15 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-12-10 02:16:15 -0500 |
| commit | 0c2489059d80fd5d56fc0c894cfe6e784fc685fa (patch) | |
| tree | 8596318ce658eee1870640bacb92e0171d9bac74 | |
| parent | e936f49518bcd6e28d44600d58205fee9c1e21fd (diff) | |
update sync scripts
| -rw-r--r-- | Emby.Server.Implementations/Devices/DeviceManager.cs | 7 | ||||
| -rw-r--r-- | MediaBrowser.Api/Session/SessionsService.cs | 5 | ||||
| -rw-r--r-- | MediaBrowser.Model/Devices/DeviceQuery.cs | 5 | ||||
| -rw-r--r-- | MediaBrowser.Model/Session/ClientCapabilities.cs | 2 |
4 files changed, 0 insertions, 19 deletions
diff --git a/Emby.Server.Implementations/Devices/DeviceManager.cs b/Emby.Server.Implementations/Devices/DeviceManager.cs index cdf636e22..88c0ea203 100644 --- a/Emby.Server.Implementations/Devices/DeviceManager.cs +++ b/Emby.Server.Implementations/Devices/DeviceManager.cs @@ -101,13 +101,6 @@ namespace Emby.Server.Implementations.Devices { IEnumerable<DeviceInfo> devices = _repo.GetDevices().OrderByDescending(i => i.DateLastModified); - if (query.SupportsContentUploading.HasValue) - { - var val = query.SupportsContentUploading.Value; - - devices = devices.Where(i => GetCapabilities(i.Id).SupportsContentUploading == val); - } - if (query.SupportsSync.HasValue) { var val = query.SupportsSync.Value; diff --git a/MediaBrowser.Api/Session/SessionsService.cs b/MediaBrowser.Api/Session/SessionsService.cs index 70e0d3c45..9c107bdff 100644 --- a/MediaBrowser.Api/Session/SessionsService.cs +++ b/MediaBrowser.Api/Session/SessionsService.cs @@ -237,9 +237,6 @@ namespace MediaBrowser.Api.Session [ApiMember(Name = "SupportsMediaControl", Description = "Determines whether media can be played remotely.", IsRequired = false, DataType = "bool", ParameterType = "query", Verb = "POST")] public bool SupportsMediaControl { get; set; } - [ApiMember(Name = "SupportsContentUploading", Description = "Determines whether camera upload is supported.", IsRequired = false, DataType = "bool", ParameterType = "query", Verb = "POST")] - public bool SupportsContentUploading { get; set; } - [ApiMember(Name = "SupportsSync", Description = "Determines whether sync is supported.", IsRequired = false, DataType = "bool", ParameterType = "query", Verb = "POST")] public bool SupportsSync { get; set; } @@ -560,8 +557,6 @@ namespace MediaBrowser.Api.Session MessageCallbackUrl = request.MessageCallbackUrl, - SupportsContentUploading = request.SupportsContentUploading, - SupportsSync = request.SupportsSync, SupportsPersistentIdentifier = request.SupportsPersistentIdentifier diff --git a/MediaBrowser.Model/Devices/DeviceQuery.cs b/MediaBrowser.Model/Devices/DeviceQuery.cs index 9ae498606..9ceea1ea8 100644 --- a/MediaBrowser.Model/Devices/DeviceQuery.cs +++ b/MediaBrowser.Model/Devices/DeviceQuery.cs @@ -4,11 +4,6 @@ namespace MediaBrowser.Model.Devices public class DeviceQuery { /// <summary> - /// Gets or sets a value indicating whether [supports content uploading]. - /// </summary> - /// <value><c>null</c> if [supports content uploading] contains no value, <c>true</c> if [supports content uploading]; otherwise, <c>false</c>.</value> - public bool? SupportsContentUploading { get; set; } - /// <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> diff --git a/MediaBrowser.Model/Session/ClientCapabilities.cs b/MediaBrowser.Model/Session/ClientCapabilities.cs index f00b14545..d5e54ae11 100644 --- a/MediaBrowser.Model/Session/ClientCapabilities.cs +++ b/MediaBrowser.Model/Session/ClientCapabilities.cs @@ -13,10 +13,8 @@ namespace MediaBrowser.Model.Session public string MessageCallbackUrl { get; set; } - public bool SupportsContentUploading { get; set; } public bool SupportsPersistentIdentifier { get; set; } public bool SupportsSync { get; set; } - public bool SupportsOfflineAccess { get; set; } public DeviceProfile DeviceProfile { get; set; } public List<string> SupportedLiveMediaTypes { get; set; } |
