Channels HTTP API

Thanks again...
Not to be a pest, but I will be using this api in a new plugin for Eventghost.
Would love to have just a bit more functionality (in order of desirability):

-api call to set and get (in /api/status?) the current playback speed.
-obtain Current PIP status (in /api/status?) and / or at least Descrete pip_on pip_off api calls
-if obtaining current PIP status not possible or no discrete pip on / off, then enhancing the /api/navigate/{section_name} to respect the current PIP setting: Automatic Picture in Picture -> Everything
-obtain Current CC status (in /api/status?) and / or at least Discrete cc_on cc_off api calls

2 Likes

Does /api/notify have a parameter to control the display duration? I find the default five second duration to be extremely short. If you send a notification in response to a channel change, seems like the duration is often reduced further presumably due to the client UI adjusting to the channel change.

1 Like

Kind of hacky, but found that delaying notification for five seconds after a channel change gives the client time to finish tuning, update its UI, etc. such that notifications will display for the full five seconds. Turns out you can send a sequence of the same notifications to extend the display time. To display for ten seconds, I send six notification events one second apart. Notifications two through six essentially interrupt the prior notification and reset the display timer (and the final notification lasts the full five seconds). Not elegant, but gets the job done.

1 Like

@maddox Hi Jon,just wondering if there was any progress on the homebridge plugin?

Thanks

We won’t be creating and maintaining a homebridge accessory for Channels.

We’d be happy to help or contribute to something the community decides to make though.

1 Like

Would like to request a HTTP POST API

/api/navigate/{section_name} - a Quick Guide toggle would be really useful.

plus

PIP disable (over the toggle) would be greatly appreciated for my home automation.

Thanks

1 Like

Could I add another API request please!

Channel button presses 0-9?

Thanks

Why emulate button presses when you can go directly to a channel: POST /api/play/channel/###

1 Like

That's great but my remote doesn't have as many buttons as channels.

Then perhaps you can clarify what it is exactly that you're trying to achieve, because it appears I have no idea what you're actually asking for.

2 Likes

I have a remote and I'd like to map the number buttons to Channels so I can type a tv channel number in, what else would one use that for? Are you a developer?

The clients already handle the number key presses; the API is not needed for that. Just program your remote to send the appropriate key:

My remote connects via a home automation system and IP HTTP commands is the only way I can program 'extra' remote commands, so I appreciate your suggestion but it's not suitable on this occasion.

This is the sort of hack needed for proper cord cutting and it's not super easy to please all customers I'm sure.

I would like a thing, but I’m not going to tell you what it is, nor am I going to tell you why. Please expedite.

2 Likes

I’m not sure what you mean by this and now I’m curious, lol

I thought I was a proper cord cutter by simply using the supplied remote with the Apple TV for the past couple of years. Guess I, my wife and kids have been wrong :person_shrugging:

Unless I remain confused, none of that explains why you can’t use the existing API to achieve the same end result you’re looking for.

Can I get an api to use my clapper to initiate downloads of sports recordings to my iOS device for offline watching. That would be super dope!! LOL

I’m really not sure why it’s so controversial!

Would just like to be able to type in channel 1 - 0 - 1 with number buttons using api.

1 Like

I used the wrong terminology perhaps.

Mass cord cutting is more what I meant - you’re a dedicated cord cutter!