Project

General

Profile

Extra warming up time is ignored

Added by Stefan Gries over 4 years ago

HTS Tvheadend 4.3-1857, RaspberryPi 4, HassOS 3.12, Docker linuxserver/tvheadend:latest, SATIP Tuner Telestar Digibit Twin FW 1.0.6

Hello, everybody,

My SATIP tuner is normally switched off to save power. I have configured my server so that the tuner is switched on via curl before recording and switched off afterwards (see screenshot).However, the SATIP tuner needs 2-3 minutes to start up, so I have set an extra warming time of 180 seconds.

I made a test recording once. The programmed time was 12:40:00-12:41:00. With the pre-recording padding of 1 min and the extra warming time of 3 min the recording starts at 12:36:00. This is also visible in the log. But tvh also tries to tune directly and does not wait for the warming time. Recording will fail because the SATIP tuner is not yet ready.

Why is the extra warming time ignored by TVh?

Thank you & best regards
Stefan

2020-04-01 12:36:00.000 [ INFO] dvr: "Test" on "Das Erste HD" recorder starting
2020-04-01 12:36:00.040 [ INFO] spawn: Executing "/usr/bin/curl"
2020-04-01 12:36:00.040 [ INFO] mpegts: 11493.75H in SAT - tuning on SAT>IP DVB-S Tuner #1 (192.168.178.4@UDP)
2020-04-01 12:36:00.041 [ INFO] subscription: 000D: "DVR: Test" subscribing on channel "Das Erste HD", weight: 500, adapter: "SAT>IP DVB-S Tuner #1 (192.168.178.4@UDP)", network: "SAT", mux: "11493.75H", provider: "ARD", service: "Das Erste HD", profile="matroska", username="stefan"
2020-04-01 12:36:01.669 [ ERROR] spawn: % Total % Received % Xferd Average Speed Time Time Time Current
2020-04-01 12:36:01.676 [ ERROR] spawn: Dload Upload Total Spent Left Speed
2020-04-01 12:36:01.913 [ ERROR] spawn: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2020-04-01 12:36:01.914 [ ERROR] spawn: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2020-04-01 12:36:05.017 [WARNING] satip: SAT>IP DVB-S Tuner #1 (192.168.178.4@UDP) - no data received, restarting RTSP
2020-04-01 12:36:06.000 [WARNING] subscription: 000D: service instance is bad, reason: Tuning failed
2020-04-01 12:36:06.001 [ INFO] mpegts: 11493.75H in SAT - tuning on SAT>IP DVB-S Tuner #2 (192.168.178.4@UDP)
2020-04-01 12:36:06.002 [ INFO] subscription: 000D: "DVR: Test" subscribing on channel "Das Erste HD", weight: 500, adapter: "SAT>IP DVB-S Tuner #2 (192.168.178.4@UDP)", network: "SAT", mux: "11493.75H", provider: "ARD", service: "Das Erste HD", profile="matroska", username="stefan"
2020-04-01 12:36:11.019 [WARNING] satip: SAT>IP DVB-S Tuner #2 (192.168.178.4@UDP) - no data received, restarting RTSP
2020-04-01 12:36:12.001 [WARNING] subscription: 000D: service instance is bad, reason: Tuning failed
2020-04-01 12:42:00.001 [ INFO] subscription: 000D: "DVR: Test" unsubscribing from "Das Erste HD", username="stefan"
2020-04-01 12:42:00.002 [ INFO] dvr: "Test" on "Das Erste HD": End of program: Time missed

Unbenannt.png (30 KB) Unbenannt.png Recording Config

Replies (4)

RE: Extra warming up time is ignored - Added by saen acro over 4 years ago

Extra time is to take tuner for recoding, and not leave to be taken from some other process.

Put solar panel on roof and froget about 10W standby by sat>ip server

RE: Extra warming up time is ignored - Added by Stefan Gries over 4 years ago

Is there another possibility to execute a command before tuning?

RE: Extra warming up time is ignored - Added by Dave H over 4 years ago

Replace curl with a script that runs your curl command and then sleeps for three minutes before returning.

    (1-4/4)