Jump to content

Command to client to change to live tv guide?


Go to solution Solved by BillOatman,

Recommended Posts

BillOatman
Posted

Been looking through swagger for a while now.  What do I call to set a client to the live tv guide?

Posted

Using the general command api, the command type would be Guide.

BillOatman
Posted

I looked for that, but the session info for my shield under supported commands didn't have Guide as one.

That will work for all clients? 

Posted

It should work whenever it is listed as a supported command. If it's not then I would create a topic in the section of the community for that particular app.

BillOatman
Posted (edited)

@@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:

 

5d583989918f0_Capture.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!

 

GuideCommanLog.txt

Edited by BillOatman
Posted

If he misses it then please post in the section of the community for that app. thanks.

  • Solution
BillOatman
Posted

Reposted in the androidtv area and ebr responded.

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...