Bug #4170
openResuming recording overwrites file (when interrupted by higher priority)
0%
Description
Hey!
I just had this yesterday: I set a recording with prority normal lets say from 8-11 3 hours. right in between there is a show for 1 hour 9-10 with a higher prority. (I have the output file format set to MKV)
Tvheadend worked as I would assume and stopped the first recording at 9, recorded the other show till 10 and then started recording the former show again. GREAT!
BUT: As tvheadend recorded the second part of the normal priority show it overwrote the file with the first hour since it has the same filename. Also, there is only one entry in the recordings list where I would assume two entries.
Two possibilities:
1. Append the second part to the same file (I dont know if thats technically possible) Also there has to be some sort of information in the recordig that there is an hour missing due to a higher priority recording taking place.
2. Just create the second part in a new file named ...-part2.mkv and add a seconds entry in the recordings list. Maybe the most straight forward solution as its actually really two parts because there is an hour missing in between. Also: No hassle explaining to the watching user why there is an hour missing when the recording has only a single file.