mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-27 10:58:44 +01:00
update remote control responses
This commit is contained in:
@@ -499,7 +499,7 @@ namespace Emby.Server.Implementations.Dto
|
||||
|
||||
if (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;
|
||||
|
||||
@@ -942,7 +942,8 @@ namespace Emby.Server.Implementations.Library
|
||||
{
|
||||
return new UserPolicy
|
||||
{
|
||||
EnableSync = true
|
||||
EnableContentDownloading = true,
|
||||
EnableSyncTranscoding = true
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -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))
|
||||
{
|
||||
|
||||
@@ -715,7 +715,8 @@ namespace Emby.Server.Implementations.Session
|
||||
ClientName = session.Client,
|
||||
DeviceId = session.DeviceId,
|
||||
IsPaused = info.IsPaused,
|
||||
PlaySessionId = info.PlaySessionId
|
||||
PlaySessionId = info.PlaySessionId,
|
||||
IsAutomated = isAutomated
|
||||
|
||||
}, _logger);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user