qta 5 Posted February 3, 2019 Posted February 3, 2019 (edited) Hi, Recently I was updating to Emby Server 4.0.1.0, Kodi v18 (Ubuntu, from the stable PPA) and also Emby for Kodi 4.0.3, so I think I run the latest available now. I soon realized, that from any device, if I start anything to play (video, movie, music) on Kodi remotely (using the "display on another screen", the "cast" icon), the device in control does not display the progress indicator (where I could pause, stop, and also rewind the media). This progress indicator appears if I cast to my Phone or my tablet from the browser, just not appearing if I cast onto Kodi. Also this happens if I cast from my Android devices onto Kodi, so definitely Kodi-side has some issues. Step by step: - Open Emby Web client on PC, and select to remote cast to HTPC (Kodi) - Play video: Video starts playing, but on PC, I have no controls appearing at all (it should be on the bottom of the screen) - Tablet also does not show the progress if I chose to see HTPC (Kodi) as remote controlled machine - Stop playback on Kodi (as I have no remote controls on PC or phone, I have to VNC in, or do this in Yatse, which is not ideal) - On PC now select Android Tablet to cast to and play a video - Video starts on Tablet properly, and remote controls are appearing on PC, and working properly, even I can remote control the Tablet from my Phone if I select Tablet as remote device (this is the expected behavior as it was before) Not sure what kind of logs you guys need, as I see no error in either Emby Server nor Kodi that could indicate something fishy to me, but let me know what kind of logs you need. Pretty easy to check if it should work or not. Edited February 3, 2019 by qta
qta 5 Posted March 3, 2019 Author Posted March 3, 2019 Any update on this? Updated to Emby server 4.0.2, no improvements in this regards, I am on stable Emby for Kodi (4.0.5) Here is a debug log from Kodi: kodi.log As I can see, after the Capabilities reporting, the Sessions request result contains "SupportsRemoteControl": false. I have no idea how Emby decides upon this flag though, I have tried to use the Swagger API GUI, but I have not seen this flag set to false on that one.
Angelblue05 4132 Posted March 3, 2019 Posted March 3, 2019 Sorry, I must have missed your post. Feel free to bump your post if you see I haven't replied. I'm checking your log. Give me a few.
Angelblue05 4132 Posted March 3, 2019 Posted March 3, 2019 (edited) @@Luke The server returns SupportsRemoteControl as False for the Kodi session setup. I am missing something? Works correctly in my test scenarios. Edit: I checked the server code, only one instance of SupportsRemoteControl. I have no idea where it's getting set either. { "url": "http://{emby-server}/emby/Sessions/Capabilities/Full", "verify": true, "headers": { "Accept-Charset": "UTF-8,*", "Accept-encoding": "gzip", "X-MediaBrowser-Token": "{emby-token}", "Content-type": "application/json", "Authorization": "MediaBrowser Client=Kodi, Device=Kodi (htpc), DeviceId={DeviceId}, Version=4.0.5, UserId={UserId}", "User-Agent": "Emby-Kodi/4.0.5" }, "json": { "IconUrl": "https://raw.githubusercontent.com/MediaBrowser/plugin.video.emby/master/kodi_icon.png", "SupportsMediaControl": true, "SupportedCommands": "MoveUp,MoveDown,MoveLeft,MoveRight,Select,Back,ToggleContextMenu,ToggleFullscreen,ToggleOsd,GoHome,PageUp,NextLetter,GoToSearch,GoToSettings,PageDown,PreviousLetter,TakeScreenshot,VolumeUp,VolumeDown,ToggleMute,SendString,DisplayMessage,SetAudioStreamIndex,SetSubtitleStreamIndex,SetRepeatMode,DisplayContent,Mute,Unmute,SetVolume,Play,Playstate,PlayNext,PlayMediaSource", "PlayableMediaTypes": "Audio,Video" }, "params": null, "timeout": 30, "type": "POST" } Session after this: [ { "UserName": "qta", "DeviceName": "Kodi (htpc)", "PlayState": { "CanSeek": false, "IsMuted": false, "RepeatMode": "RepeatNone", "IsPaused": false }, "RemoteEndPoint": "192.168.1.139", "LastActivityDate": "2019-03-03T19:27:45.0593614Z", "UserId": "{UserId}", "Capabilities": { "SupportsMediaControl": true, "SupportsPersistentIdentifier": true, "IconUrl": "https://raw.githubusercontent.com/MediaBrowser/plugin.video.emby/master/kodi_icon.png", "SupportedCommands": [ "MoveUp", "MoveDown", "MoveLeft", "MoveRight", "Select", "Back", "ToggleContextMenu", "ToggleFullscreen", "ToggleOsd", "GoHome", "PageUp", "NextLetter", "GoToSearch", "GoToSettings", "PageDown", "PreviousLetter", "TakeScreenshot", "VolumeUp", "VolumeDown", "ToggleMute", "SendString", "DisplayMessage", "SetAudioStreamIndex", "SetSubtitleStreamIndex", "SetRepeatMode", "DisplayContent", "Mute", "Unmute", "SetVolume", "Play", "Playstate", "PlayNext", "PlayMediaSource" ], "PlayableMediaTypes": [ "Audio", "Video" ], "SupportsSync": false, "Id": "6522ec5dfb5e5581e047b6a80c2c6e17" }, "SupportsRemoteControl": false, "Client": "Kodi", "DeviceId": "{DeviceId}", "AdditionalUsers": [], "PlayableMediaTypes": [ "Audio", "Video" ], "ApplicationVersion": "4.0.5", "ServerId": "{ServerId}", "AppIconUrl": "https://raw.githubusercontent.com/MediaBrowser/plugin.video.emby/master/kodi_icon.png", "Id": "6522ec5dfb5e5581e047b6a80c2c6e17", "SupportedCommands": [ "MoveUp", "MoveDown", "MoveLeft", "MoveRight", "Select", "Back", "ToggleContextMenu", "ToggleFullscreen", "ToggleOsd", "GoHome", "PageUp", "NextLetter", "GoToSearch", "GoToSettings", "PageDown", "PreviousLetter", "TakeScreenshot", "VolumeUp", "VolumeDown", "ToggleMute", "SendString", "DisplayMessage", "SetAudioStreamIndex", "SetSubtitleStreamIndex", "SetRepeatMode", "DisplayContent", "Mute", "Unmute", "SetVolume", "Play", "Playstate", "PlayNext", "PlayMediaSource" ] } ] Edited March 3, 2019 by Angelblue05 1
qta 5 Posted March 3, 2019 Author Posted March 3, 2019 Sure, no problem, this is just a very cool feature I miss a LOT, also reported here by another user: https://emby.media/community/index.php?/topic/69911-no-now-playing-when-casting-to-kodi/ This is the very same I have, but I described it a little bit differently. 1
kjp4756 41 Posted March 8, 2019 Posted March 8, 2019 Remote control works perfectly fine with embycon. I suggest using that for the time being if that feature is important to you.
Solution Angelblue05 4132 Posted March 8, 2019 Solution Posted March 8, 2019 Can you try deleting the device from the device list. It will force you to re-authenticate. But does it behave correctly then? 2
kjp4756 41 Posted March 8, 2019 Posted March 8, 2019 Can you try deleting the device from the device list. It will force you to re-authenticate. But does it behave correctly then? Yeah that worked for me. Thanks! 1
qta 5 Posted March 8, 2019 Author Posted March 8, 2019 Thanks for the tip, also worked here , good that it was just something cached and wrong there only. 1
Recommended Posts