Project

General

Profile

update length from a edited record

Added by M A Ben Amara over 5 years ago

Hi, as i got now so far by updating filepath after commercial cutting, remuxing and moving, would like to know if there is a way to update the video length by api call.

sample, recorded video .ts, cutted and remuxed to .mkv, now i use the api call in my script to update the path like this, working as should.

curl -s "http://"$tvhuser":"$tvhpass"@"$tvhip":9981/api/dvr/entry/filemoved" --data-urlencode "src=$mediafolder/$filepath/$sourcefile" --data-urlencode "dst=$tvhfinalpath"

but of course it shows its original playtime (sample 1h) instead its real playtime (40m).

is there a easy way therefore or rather just live as is ?