Bug #1481
DVB/EIT data not refreshed when recording starts
0%
Description
When using an autorec rule the EIT data used is often the "far away" one with only basic info. When recording the EIT isn't always updated so the 'description' field will be empty. Using the 'refresh' button in the webui and restarting tvheadend seems to help.
Setup: DVB-C card connected to the ziggo network in the netherlands, no EPG grabbers besides DVB/EIT.
This makes debugging issue #1462 a lot harder.
History
Updated by Adam Sutton almost 12 years ago
- Status changed from New to Accepted
It's possible that the EPG information will not come in until after the recording starts. Will need to consider how best to handle this, possibly need to add a short delay into the DVR code to allow time for EITpf data to be received.
Adam
Updated by Koen Kooi almost 12 years ago
In autorec mode the ~/.hts/tvheadend/dvr/log/ files are written it first pops up on EIT, which is 3AM here:
Jan 08 03:01:32 soekris tvheadend10686: dvr: "Mythbusters" on "Discovery Channel HD" starting at 2013-01-11 13:09:00, scheduled for recording by "Auto recording by: koen"
Jan 08 03:01:32 soekris tvheadend10686: Jan 08 03:01:32 [INFO]:dvr: "Mythbusters" on "Discovery Channel HD" starting at 2013-01-11 13:09:00, scheduled for recording by "Auto recording by: koen"
At that point it only has the basic EIT info, not the complete one that will be added approximately 24 hours before the recording.
So it looks like this will only happen for autorec recordings.
Updated by Koen Kooi over 11 years ago
I have found a workaround, this cronjob runs at 7 in the morning each day:
for file in $(ls /home/root/.hts/tvheadend/dvr/log) ; do
if grep -q "filename" $file ; then
echo Recording present $(basename $file): $(grep filename $file | awk -F: '{print $2}')
else
rm $file
fi
done
killall tvheadend
Systemd will restart tvheadend automatically which will restore the autorec entries, this time with proper metadata.
Updated by Reinhard Mantey over 11 years ago
Yesterday I was trapped by another sideeffect of this bug:
If a schedule of an autorec happens to fire after i.e. a footbol game, which extends about an hour, time entries of the epg-event will change (multiple times probabely), but the recording will be performed with the old timings, resulting in a broken recording.
Channel was SF2 at Fri 4/12 00:10 - no external epg.