Jump to content

Missing command(s) from API


BillOatman

Recommended Posts

BillOatman

[Originally posted in API section.  Luke suggested posting it here so @@ebr would see it]

 

@ebr I tried to do the Guide command from swagger for my shield.  Looks like everything worked, except the shield did nothing.

This is what I got back for the shield session:

"PlayState": {
"CanSeek": false,
"IsPaused": false,
"IsMuted": false,
"RepeatMode": "RepeatNone"
},
"AdditionalUsers": [],
"Capabilities": {
"Id": "40d36db4c9959705944877a5f4faea89",
"PlayableMediaTypes": [
"Video",
"Audio"
],
"SupportedCommands": [
"DisplayContent",
"Mute",
"Unmute",
"ToggleMute",
"DisplayMessage",
"PlayMediaSource"
],
"SupportsMediaControl": true,
"SupportsPersistentIdentifier": true,
"SupportsSync": false,
"IconUrl": "https://mediabrowser.github.io/Emby.AndroidTv/appicon.png"
},
"RemoteEndPoint": "192.168.1.40",
"PlayableMediaTypes": [
"Video",
"Audio"
],
"Id": "40d36db4c9959705944877a5f4faea89",
"ServerId": "cdeedde7f9734edab1d8acd4c43b01cd",
"UserId": "d063f08a14564602852a2d932adf2d23",
"UserName": "Bill",
"Client": "AndroidTv",
"LastActivityDate": "2019-08-17T17:20:40.3044801Z",
"DeviceName": "SHIELD",
"DeviceId": "eea86403e026a93d",
"ApplicationVersion": "1.7.43g",
"AppIconUrl": "https://mediabrowser.github.io/Emby.AndroidTv/appicon.png",
"SupportedCommands": [
"DisplayContent",
"Mute",
"Unmute",
"ToggleMute",
"DisplayMessage",
"PlayMediaSource"
],
"SupportsRemoteControl": true
},

Swagger seemed happy:

 

5d5957355e5f1_swagger.jpg

 

 

The Emby log seemed happy: (full log attached, this command is at the bottom)

2019-08-17 13:23:32.825 Info HttpServer: HTTP POST http://localhost:8096/emby/Sessions/40d36db4c9959705944877a5f4faea89/Command/Guide. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36
2019-08-17 13:23:32.838 Info HttpServer: HTTP Response 204 to ::1. Time: 13ms. http://localhost:8096/emby/Sessions/40d36db4c9959705944877a5f4faea89/Command/Guide

But like I said, the shield client stayed at the home page.

 

I did notice that Guide is not listed under supported commands, is that causing it?  If so, shouldn't that command be supported? In fact there are very few commands in that list.

Thanks!

 

GuideCommandLog.txt

Edited by BillOatman
Link to comment
Share on other sites

Correct.  Support for this hasn't been implemented simply because no Emby app currently uses it.

 

I can look into getting it in there at some point.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...