jwittkoski / prime_encoder

A SageTV network encoder
0 stars 2 forks source link

Unexpected stops after stopping #4

Open jwittkoski opened 10 years ago

jwittkoski commented 10 years ago

If the process dies after we've tried to stop it, it should be able to be restarted cleanly.

Two examples:

Sat Oct 12 14:00:00 2013 Tuner 'HDHomerun Prime Tuner 2': Tuning channel 123 on device 12345678 tuner 2 filename: /var/media/tv/some-show-123456-0.mpg
Sat Oct 12 14:25:00 2013 Tuner 'HDHomerun Prime Tuner 2': Stopping recording
Sat Oct 12 14:25:11 2013 Tuner 'HDHomerun Prime Tuner 2': stopped unexpectedly

Sat Oct 12 17:00:00 2013 Tuner 'HDHomerun Prime Tuner 1': Tuning channel 456 on device 12345678 tuner 1 filename: /var/media/tv/another-show-123456-0.mpg
Sat Oct 12 19:21:10 2013 Tuner 'HDHomerun Prime Tuner 1': Stopping recording
Sat Oct 12 19:21:57 2013 Tuner 'HDHomerun Prime Tuner 1': stopped unexpectedly
jwittkoski commented 10 years ago

This happened when the recording disk was failing, which would explain the process exiting due to the errors.