Project

General

Profile

Actions

Bug #5307

open

Rotor tuning never finishes when client software is too impatient

Added by Kai M. over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
DVB
Target version:
-
Start date:
2018-11-01
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-1514~gcba1d85a5
Affected Versions:

Description

When trying to tune to a mux on another position than the current one, tvh is waiting until the rotor is finished.

Nov 01 09:59:54 dvbarch tvheadend2095: subscription: 084F: "HTTP" subscribing to service "5W/11179V/Rai 1 HD", weight: 100, adapter: "STV0910 #0 : DVB-S #0", network: "5W", mux: "11179V", provider: "Rai", profile="pass", hostname="::ffff:172.23.27.133", client="VLC/3.0.4 LibVLC/3.0.4"
...
Nov 01 10:00:15 dvbarch tvheadend2095: diseqc: waiting 26 seconds to finish setup for USALS

If the client (like VLC) is too impatient, it tries to tune again in while the rotor is moving.
Now, tvh is sending the diseqc command again and starts waiting again for the rotor to finish moving.

Nov 01 10:00:35 dvbarch tvheadend2095: diseqc: waiting 26 seconds to finish setup for USALS

In that case, streaming never begings, even if the rotor is already at the right position.

Possible fix: tvh shall remember that is is waiting for the rotor to move (and the desired position), so it won't start the timer again, if the position from the tuning request and the position the rotor is moving to is the same.

Actions

Also available in: Atom PDF