The Free Software Media System - Server Backend & API
update remote control responses
Luke Pulverenti491886632dc3
diff --git a/Emby.Server.Implementations/Dto/DtoService.cs b/Emby.Server.Implementations/Dto/DtoService.csindex 7c0baf9c25..43a1e6e694 100644--- a/Emby.Server.Implementations/Dto/DtoService.cs+++ b/Emby.Server.Implementations/Dto/DtoService.cs@@ -499,7 +499,7 @@ namespace Emby.Server.Implementations.Dtoif (fields.Contains(ItemFields.BasicSyncInfo) || fields.Contains(ItemFields.SyncInfo)){- var userCanSync = user != null && user.Policy.EnableSync;+ var userCanSync = user != null && user.Policy.EnableContentDownloading;if (userCanSync && _syncManager.SupportsSync(item)){dto.SupportsSync = true;diff --git a/Emby.Server.Implementations/Library/UserManager.cs b/Emby.Server.Implementations/Library/UserManager.csindex 89b7198ca2..c2ab0427d3 100644--- a/Emby.Server.Implementations/Library/UserManager.cs+++ b/Emby.Server.Implementations/Library/UserManager.cs@@ -942,7 +942,8 @@ namespace Emby.Server.Implementations.Library{return new UserPolicy{- EnableSync = true+ EnableContentDownloading = true,+ EnableSyncTranscoding = true};}diff --git a/Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs b/Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.csindex 5082f1b044..2fb35155d1 100644--- a/Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs+++ b/Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs@@ -422,7 +422,7 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV{if (!string.IsNullOrWhiteSpace(epgChannel.Name)){- tunerChannel.Name = epgChannel.Name;+ //tunerChannel.Name = epgChannel.Name;}if (!string.IsNullOrWhiteSpace(epgChannel.ImageUrl)){diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.csindex 0a2312735f..de00cf2391 100644--- a/Emby.Server.Implementations/Session/SessionManager.cs+++ b/Emby.Server.Implementations/Session/SessionManager.cs@@ -715,7 +715,8 @@ namespace Emby.Server.Implementations.SessionClientName = session.Client,DeviceId = session.DeviceId,IsPaused = info.IsPaused,- PlaySessionId = info.PlaySessionId+ PlaySessionId = info.PlaySessionId,+ IsAutomated = isAutomated}, _logger);diff --git a/MediaBrowser.Controller/Library/PlaybackProgressEventArgs.cs b/MediaBrowser.Controller/Library/PlaybackProgressEventArgs.csindex bcf39558e1..0644719b64 100644--- a/MediaBrowser.Controller/Library/PlaybackProgressEventArgs.cs+++ b/MediaBrowser.Controller/Library/PlaybackProgressEventArgs.cs@@ -16,6 +16,7 @@ namespace MediaBrowser.Controller.Librarypublic BaseItemInfo MediaInfo { get; set; }public string MediaSourceId { get; set; }public bool IsPaused { get; set; }+ public bool IsAutomated { get; set; }public string DeviceId { get; set; }public string DeviceName { get; set; }diff --git a/MediaBrowser.Model/Session/GeneralCommandType.cs b/MediaBrowser.Model/Session/GeneralCommandType.csindex 6cceb162a4..1a96515599 100644--- a/MediaBrowser.Model/Session/GeneralCommandType.cs+++ b/MediaBrowser.Model/Session/GeneralCommandType.cs@@ -37,6 +37,7 @@SetRepeatMode = 29,ChannelUp = 30,ChannelDown = 31,- SetMaxStreamingBitrate = 31+ SetMaxStreamingBitrate = 31,+ Guide = 32}}\ No newline at end of filediff --git a/MediaBrowser.Model/Users/UserPolicy.cs b/MediaBrowser.Model/Users/UserPolicy.csindex 3917b1662d..2a987ceb14 100644--- a/MediaBrowser.Model/Users/UserPolicy.cs+++ b/MediaBrowser.Model/Users/UserPolicy.cs@@ -50,7 +50,6 @@ namespace MediaBrowser.Model.Users/// Gets or sets a value indicating whether [enable synchronize]./// </summary>/// <value><c>true</c> if [enable synchronize]; otherwise, <c>false</c>.</value>- public bool EnableSync { get; set; }public bool EnableSyncTranscoding { get; set; }public string[] EnabledDevices { get; set; }@@ -71,7 +70,6 @@ namespace MediaBrowser.Model.Userspublic UserPolicy(){- EnableSync = true;EnableSyncTranscoding = true;EnableMediaPlayback = true;