Comskip continues to run even if user selects to delete the file

Just noticed this. Was recording a programme today but wanted to update the DVR. So stopped the recording and the status page changed from recording to detecting commercials as expected. So rather than wait for com skip I decided to delete the recorded file. I expected com skip to stop immediately and the file to be deleted. It did not. I killed it from SSH and then the file was deleted and the DVR updated itself.
I would expect comskip to be terminated by the DVR if a file is deleted by the user.

2017/11/05 09:59:30 [DVR] Recording for job 1509875970-4 from 1232D7C3 ch601 into “TV/The NFL Show/The NFL Show 2016-09-17 2017-11-05-0959.mpg” for 2h30m59.993196391s
2017/11/05 11:39:33 [SYS] Downloading new version v2017.11.05.0455
2017/11/05 11:39:48 [SYS] Update downloaded and verified successfully.
2017/11/05 11:41:06 [DVR] Waiting 8h18m53.584042521s until next job 1509912000-17 Blue Planet II
2017/11/05 11:41:12 [TNR] Closed connection to 1232D7C3 for ch601
2017/11/05 11:41:12 [DVR] Job cancelled: 1509875970-4 The NFL Show
2017/11/05 11:41:12 [DVR] Processing file-186: TV/The NFL Show/The NFL Show 2016-09-17 2017-11-05-0959.mpg
2017/11/05 11:41:13 [DVR] Running commercial detection on file 186 (TV/The NFL Show/The NFL Show 2016-09-17 2017-11-05-0959.mpg)
2017/11/05 11:44:31 [DVR] Commercial detection failed with signal: terminated
2017/11/05 11:44:32 [DVR] Deleting /home/channelsdvr/DVR/TV/The NFL Show/The NFL Show 2016-09-17 2017-11-05-0959.mpg
2017/11/05 11:44:48 [SYS] Shutting down for upgrade from v2017.11.03.0006 to v2017.11.05.0455
2017/11/05 11:44:48 [SYS] Bonjour service stopped.
2017/11/05 11:44:48 [DVR] Recording engine stopped.
2017/11/05 11:44:49 [SYS] Starting Channels DVR v2017.11.05.0455 (linux-x86_64) in /home/channelsdvr/channels-dvr/data
20

2 Likes