Bug #4338
hdhomerun device restarting not stopping tvheadend subscriptions
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-04-28
Due date:
% Done:
0%
Estimated time:
Found in version:
4.1-2533~g80c52b2
Affected Versions:
Description
I'm using recent git tvheadend controlling hdhomerun device with DVB-T/T2 broadcasts in the UK.
While recording the hdhomerun device has trapped an error and rebooted itself. However tvheadend subscription doesn't close or stop. Consequently when subsequent programs are scheduled on the same mux tvheadend continues to start "recording" the new episodes but the status for these new scheduled items remains as 'Waiting for stream". I have to also restart tvheadend to fix it.
In the logs at the point of reboot tvheadend reports:
Apr 27 20:48:07 haribo tvheadend[2175]: tvhdhomerun: tuner_status (-1) Apr 27 20:48:20 haribo tvheadend[2175]: message repeated 21 times: [ tvhdhomerun: tuner_status (-1)]
On detecting there is a problem with the hdhomerun device I would expect tvheadend to close the subscription.