Missing more default padding options

I just noticed when i went to edit a Pass, the page on the Server Admin, Settings, Live TV & DVR, Recording & Passes, where you set default padding options, is missing the more extensive time options that are in the Edit pass section, for both before and after padding.

Please add the same time options to this default setting sections so they have the same options.
I very much would like to have 2min pad after be the default, but currently have to go in to each pass and change it manually to get that amount.

Thanks.

Settings:

Edit pass:

While you're waiting for that to be implemented...

This will make the default end padding 2 minutes (120 seconds)
Replace 127.0.0.1:8089 with the IP address and port of your Channels DVR server

curl -XPATCH http://127.0.0.1:8089/dvr --data-binary '{"PaddingEnd":"120"}'

To change the default start padding to 2 minutes, use this

curl -XPATCH http://127.0.0.1:8089/dvr --data-binary '{"PaddingStart":"120"}'

Dumb question... but where/how do i execute that command?
In web browser, it just does a web search.
In windows terminal, i just get back "false" and it does not do anything else.

If Windows, use the windows command line, not PowerShell.
In windows it should be

curl.exe -XPATCH http://127.0.0.1:8089/dvr --data-binary "{\"PaddingEnd\":\"120\"}"

Example:

M:\>curl.exe -XPATCH http://192.168.1.4:8089/dvr --data-binary "{\"PaddingEnd\":\"90\"}"
true

Screenshot 2024-06-12 at 20-40-39 Channels Settings

M:\>curl.exe -XPATCH http://192.168.1.4:8089/dvr --data-binary "{\"PaddingEnd\":\"120\"}"
true

Screenshot 2024-06-12 at 20-42-29 Channels Settings

1 Like

To change the default start padding to 2 minutes after, use this -120 seconds

curl -XPATCH http://127.0.0.1:8089/dvr --data-binary '{"PaddingStart":"-120"}'

From Windows, enclose in double quote marks and escape double quotes in the paylod

curl -XPATCH http://127.0.0.1:8089/dvr --data-binary "{\"PaddingStart\":\"-120\"}"
2 Likes