1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix breakage on remote sessions and address review comments

This commit is contained in:
ferferga 2020-06-23 23:57:38 +02:00
parent 8d31d507c2
commit 6325046b96
6 changed files with 25 additions and 21 deletions

View file

@ -257,13 +257,13 @@ define(['playbackManager', 'events', 'serverNotifications', 'connectionManager']
return {
name: s.DeviceName,
deviceName: s.DeviceName,
deviceType: s.DeviceType,
deviceType: 'Remote Control',
id: s.Id,
playerName: name,
appName: s.Client,
playableMediaTypes: s.PlayableMediaTypes,
isLocalPlayer: false,
supportedCommands: s.SupportedCommands,
supportedCommands: s.Capabilities.SupportedCommands,
user: s.UserId ? {
Id: s.UserId,