Jump to content

Remote control does not show up during cast to Emby for Kodi


qta
Go to solution Solved by Angelblue05,

Recommended Posts

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 by qta
Link to comment
Share on other sites

  • 1 month later...

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.

Link to comment
Share on other sites

Angelblue05

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.

Link to comment
Share on other sites

Angelblue05

@@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 by Angelblue05
  • Like 1
Link to comment
Share on other sites

kjp4756

Remote control works perfectly fine with embycon.  I suggest using that for the time being if that feature is important to you.

Link to comment
Share on other sites

  • Solution
Angelblue05

Can you try deleting the device from the device list. It will force you to re-authenticate. But does it behave correctly then?

  • Like 2
Link to comment
Share on other sites

kjp4756

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!

  • Like 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...