Forums » Tutorial and setups »
recorded file moved, update TVH dvr log path
Added by M A Ben Amara over 5 years ago
Hi, may someone has a hint howto update the dvr logfile after a file move/rename
usecase here, after recording i use avisynth to cut my commercials out and save the file as .mkv
so i would need to update from /path/to/some file.ts -> /path/to/some file.mkv
i tried some curl commands here i found without any success yet, may cause i use the 4.3x version ... and something changed ?
i tries manually edit the log file by replacing the .ts to .mkv and after a tvheadend restart its recognized and ok ...
so i assume the .mkv is also good, would be just nice to have a command to autoupdate the status "file missing" ones ...
may some ideas ? thanks ahead
idea, postprocessing possible to just ren in the output dvr log file as .mkv ? so it would be "file missing" until i did my remux to mkv (with commercial cut).
- EDIT ###
i think i found a simple solution for my usecase, post removal in recorder settings ...
sed -i 's/.ts/.mkv/g' %U
seems to work here for now, if theres a elegant way
- EDIT ###
sadly doesnt work with autorecords, did just work when i manually record something, stop it and then do the command ...