Channels HTTP API

The /api/status endpoint uses the GET verb. Since that is the default, remove the -X POST from your command.

For the endpoints and their respective verbs, see the API listing.

1 Like

thanks for suggestion. i already noticed that and retried using a couple of commands while the apple tv app is open. still getting connection refused using curl and ā€œcould not connect to the serverā€ using known previously working iOS shortcuts. never had to use curl before, just trying to get more info for debugging this issue

Screen Shot 2022-09-12 at 12.52.25 PM

Can you force stop and restart the android app

Im using TVOS.
Force restart was one of the first things i tried this morning with no success.

I just did another force restart and shortcuts working again!
Curl commands as well.

Something Very Strange going on here…
But im very happy all my shortcuts work with the API again.

Ill poke you if i see this strange behavior again, and of course let me know if you need my assistance if anyone else starts seeing the API interface getting hosed…

I'd like to see an indicator added to the API that would show when detected-commercials are playing. My ultimate end game here is to use this with Home Assistant automations. If I just have a TV playing in the house "ambiently" then I don't mind if commercials play (and/or if I'm slightly behind a live recording, for example) -- but what I would like to be able to do is have home assistant reduce or mute the volume on the TV during the commercial breaks.

You could use a script in HA to:

  • get the info for the currently playing file, which includes at which points the commercials were detected
  • poll the server for the current time into the recording
  • if the current time is within a commercial block, then adjust the volume down

There are other ways to automate this, but an intrepid user familiar with HA automations and scripts should have no problem making this work with existing tools.

Of course, this is for items already in the library. As has been stated time and again, actual live detection is not really up to snuff.

Still hoping for either an API call to increase / decrease playback speed, or just a set of keyboard / remote control button mappings that would do the same in the client. For some of us, fumbling through a menu makes this a pain.