[mythtv-users] Recording unavailable , zero length at incorrect time

Nick Morrott knowledgejunkie at gmail.com
Mon Dec 13 10:12:37 UTC 2010


On 13 December 2010 09:48, Sean Salisbury <sean_salisbury at hotmail.com> wrote:
> I recently updated my myth backend and frontends to 0.24 via mythbuntu repos
> and have started experiencing unavailable recordings. Having looked through
> the mailing lists and tried various suggested methods (use quick tuning,
> delete cards in setup and start again) no solution has been found.
>
> To try and track down any errors I enabled backend logging to try and find
> an obvious problem however I am now confused.
>
> Last night I had "Mad Max" scheduled to record at 22:00 and the backend logs
> shows this nicely
>
>
> 2010-12-12 21:57:30.342 Scheduler: Update next_record for 115
> --- print list start ---
> Title - Subtitle                    Ch Station Day Start  End   S C I  T N
> Pri
> Mad Max                              24 ITV4    12 22:00-23:55  1 3 1  S 3 1
> From Hell                            31 FIVE US 13 22:00-00:35  1 3 1  S 3 1
> Severance                             1 BBC ONE 17 23:30-01:00  1 3 1  S 3 1
> ---  print list end  ---
> 2010-12-12 21:57:30.345 Scheduled 3 items in 0.1 = 0.00 match + 0.06 place
>
>
> However the next mention of recording of Mad Max comes nearly 6 hours late
> with the following from the backend log
>
>
> 2010-12-13 03:47:08.356 TVRec(4): ASK_RECORDING 4 29 0 0
> 2010-12-13 03:47:08.357 MythEvent: ASK_RECORDING 4 29 0 0
> 2010-12-13 03:47:08.358 MythSocket(88e4240:41): write -> 41 589
> BACKEND_MESSAGE[]:[]ASK_RECORDING 4 29 0 0[]:[]Mad Max[]:[][]:[]N...
> 2010-12-13 03:47:08.485 MythEvent: SYSTEM_EVENT REC_PENDING SECS -20829
> CARDID 3 CHANID 1024 STARTTIME 2010-12-12T22:00:00 SENDER elliot

For some reason, your Mad Max rule was set to start early by -20829
seconds (note the negative sign) - this has the effect of starting the
recording a little over 5:45 hours _late_ due to the negative timing,
which agrees with the actual recording.

Make sure you have not got a ridiculous system-wide global pre-roll
setting or per-rule start early setting in effect. If these are both
set to zero, I'd run the optimize_db.pl script to check the integrity
of the MythTV database.

Cheers,
Nick

-- 
Nick Morrott

MythTV Official wiki: http://mythtv.org/wiki/
MythTV users list archive: http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin


More information about the mythtv-users mailing list