Timecodes for commercials in API?

Not sure if this belongs to this section, I coulnd't find "developers".
Is it possible to get in API endpoint, start and end timecodes for detected commercials?
I could design a script that e.g. runs daily and transcodes videos to hevc/mp4 with commercials to be cut.

They are all present in the comskip log directories. Additionally, the DVR presents an option to save EDL files alongside the video file.

While neither is directly available over HTTP, they would be physically present in the file system, which I assume you have access to if you are going to be transcoding.

1 Like

The commercial markers are already in the json payload for each recorded file, i.e. /dvr/files/XXX

Ah, good to know. (I haven't had time lately to poke at the exposed endpoints yet.)