Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Mythtvnz

Programs disappearing from my program table...

 

 

MythTV mythtvnz RSS feed   Index | Next | Previous | View Threaded


bjdacre at gmail

Mar 19, 2012, 8:08 PM

Post #1 of 11 (1466 views)
Permalink
Programs disappearing from my program table...

Hi,

I have just started running solorvox's mheg2xmltv script to dump mheg data
from my terrestrial card into my database. This works well until
mythbackend for some reason deletes the program data for prime, c4 and some
of the data for tv3 plus1, usually within half an hour of running
mythfilldatabase. Other data may be getting deleted as well but I notice
the channels on which I have scheduled recordings.

2012-03-20 14:29:06.064 Reschedule requested for id -1.
2012-03-20 14:29:08.088 Scheduled 50 items in 2.0 = 1.47 match + 0.54 place
2012-03-20 14:30:47.317 New DB connection, total: 4
2012-03-20 14:30:47.349 Connected to database 'mythconverg' at host:
localhost
2012-03-20 14:32:25.571 Reschedule requested for id -1.
2012-03-20 14:32:27.274 Scheduled 32 items in 1.7 = 1.39 match + 0.30 place

The above are contiguous entries from the log documenting the drop in
scheduled entries.

I can't see anything in the mythtvbackend log other than reschedules
recording the drop in scheduled programs. What backend process would
delete programs and why? OK, obviously programs are aged from the program
table after the scheduled broadcast time, but these are future programs.

Brendan


nick.rout at gmail

Mar 19, 2012, 10:04 PM

Post #2 of 11 (1404 views)
Permalink
Re: Programs disappearing from my program table... [In reply to]

On Tue, Mar 20, 2012 at 4:08 PM, Brendan Dacre <bjdacre [at] gmail> wrote:
> Hi,
>
> I have just started running solorvox's mheg2xmltv script to dump mheg data
> from my terrestrial card into my database.  This works well until
> mythbackend for some reason deletes the program data for prime, c4 and some
> of the data for tv3 plus1, usually within half an hour of running
> mythfilldatabase.  Other data may be getting deleted as well but I notice
> the channels on which I have scheduled recordings.
>
> 2012-03-20 14:29:06.064 Reschedule requested for id -1.
> 2012-03-20 14:29:08.088 Scheduled 50 items in 2.0 = 1.47 match + 0.54 place
> 2012-03-20 14:30:47.317 New DB connection, total: 4
> 2012-03-20 14:30:47.349 Connected to database 'mythconverg' at host:
> localhost
> 2012-03-20 14:32:25.571 Reschedule requested for id -1.
> 2012-03-20 14:32:27.274 Scheduled 32 items in 1.7 = 1.39 match + 0.30 place
>
> The above are contiguous entries from the log documenting the drop in
> scheduled entries.
>
> I can't see anything in the mythtvbackend log other than reschedules
> recording the drop in scheduled programs.  What backend process would delete
> programs and why?  OK, obviously programs are aged from the program table
> after the scheduled broadcast time, but these are future programs.
>

I suspect you are running eit as well as mythbackend. EIT will not
have much info and is correcting (for want of a better word) the info
put there by mythfilldatabase.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


bjdacre at gmail

Mar 20, 2012, 4:18 AM

Post #3 of 11 (1408 views)
Permalink
Re: Programs disappearing from my program table... [In reply to]

On 20 March 2012 18:04, Nick Rout <nick.rout [at] gmail> wrote:

> On Tue, Mar 20, 2012 at 4:08 PM, Brendan Dacre <bjdacre [at] gmail> wrote:
> > Hi,
> >
> > I have just started running solorvox's mheg2xmltv script to dump mheg
> data
> > from my terrestrial card into my database. This works well until
> > mythbackend for some reason deletes the program data for prime, c4 and
> some
> > of the data for tv3 plus1, usually within half an hour of running
> > mythfilldatabase. Other data may be getting deleted as well but I notice
> > the channels on which I have scheduled recordings.
> >
> > I can't see anything in the mythtvbackend log other than reschedules
> > recording the drop in scheduled programs. What backend process would
> delete
> > programs and why? OK, obviously programs are aged from the program table
> > after the scheduled broadcast time, but these are future programs.
> >
>
> I suspect you are running eit as well as mythbackend. EIT will not
> have much info and is correcting (for want of a better word) the info
> put there by mythfilldatabase.
>

Nick,

You are correct, I am running eit as well. I thought about this, but none
of the TVNZ data ever gets deleted, so I concluded that this was not the
problem. Also, having both eit and epg data saved me once or twice on my
satellite system when the epg data got screwed up on SBS 2. As far as I
can see, the eit data should just 'correct' the last two entries.

Anyway, in the interests of science, I disabled the eit data and so far, it
looks like you are right. I don't know why. There are a lot less
reschedule events in the log which I assume were provoked by getting the
eit data, but the imported data survived a number of these events before
being deleted. Oh well, I guess I don't really need the eit data...

Thanks.

Brendan


nick.rout at gmail

Mar 20, 2012, 11:59 AM

Post #4 of 11 (1397 views)
Permalink
Re: Programs disappearing from my program table... [In reply to]

On Wed, Mar 21, 2012 at 12:18 AM, Brendan Dacre <bjdacre [at] gmail> wrote:
> On 20 March 2012 18:04, Nick Rout <nick.rout [at] gmail> wrote:
>>
>> On Tue, Mar 20, 2012 at 4:08 PM, Brendan Dacre <bjdacre [at] gmail> wrote:
>> > Hi,
>> >
>> > I have just started running solorvox's mheg2xmltv script to dump mheg
>> > data
>> > from my terrestrial card into my database.  This works well until
>> > mythbackend for some reason deletes the program data for prime, c4 and
>> > some
>> > of the data for tv3 plus1, usually within half an hour of running
>> > mythfilldatabase.  Other data may be getting deleted as well but I
>> > notice
>> > the channels on which I have scheduled recordings.
>> >
>> > I can't see anything in the mythtvbackend log other than reschedules
>> > recording the drop in scheduled programs.  What backend process would
>> > delete
>> > programs and why?  OK, obviously programs are aged from the program
>> > table
>> > after the scheduled broadcast time, but these are future programs.
>> >
>>
>> I suspect you are running eit as well as mythbackend. EIT will not
>> have much info and is correcting (for want of a better word) the info
>> put there by mythfilldatabase.
>
>
> Nick,
>
> You are correct, I am running eit as well.  I thought about this, but none
> of the TVNZ data ever gets deleted, so I concluded that this was not the
> problem.  Also, having both eit and epg data saved me once or twice on my
> satellite system when the epg data got screwed up on SBS 2.  As far as I can
> see, the eit data should just 'correct' the last two entries.
>
> Anyway, in the interests of science, I disabled the eit data and so far, it
> looks like you are right.  I don't know why.  There are a lot less
> reschedule events in the log which I assume were provoked by getting the eit
> data, but the imported data survived a number of these events before being
> deleted.  Oh well, I guess I don't really need the eit data...

EIT on DVB-T in NZ is limited pretty well to now and next, whereas on
DVB-S it is pretty comprehensive.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


bjdacre at gmail

Mar 20, 2012, 4:31 PM

Post #5 of 11 (1400 views)
Permalink
Re: Programs disappearing from my program table... [In reply to]

On 21 March 2012 07:59, Nick Rout <nick.rout [at] gmail> wrote:

> On Wed, Mar 21, 2012 at 12:18 AM, Brendan Dacre <bjdacre [at] gmail> wrote:
> > On 20 March 2012 18:04, Nick Rout <nick.rout [at] gmail> wrote:
> >>
> >> On Tue, Mar 20, 2012 at 4:08 PM, Brendan Dacre <bjdacre [at] gmail>
> wrote:
> >> > Hi,
> >> >
> >> > I have just started running solorvox's mheg2xmltv script to dump mheg
> >> > data
> >> > from my terrestrial card into my database. This works well until
> >> > mythbackend for some reason deletes the program data for prime, c4 and
> >> > some
> >> > of the data for tv3 plus1, usually within half an hour of running
> >> > mythfilldatabase. Other data may be getting deleted as well but I
> >> > notice
> >> > the channels on which I have scheduled recordings.
> >> >
> >> > I can't see anything in the mythtvbackend log other than reschedules
> >> > recording the drop in scheduled programs. What backend process would
> >> > delete
> >> > programs and why? OK, obviously programs are aged from the program
> >> > table
> >> > after the scheduled broadcast time, but these are future programs.
> >> >
> >>
> >> I suspect you are running eit as well as mythbackend. EIT will not
> >> have much info and is correcting (for want of a better word) the info
> >> put there by mythfilldatabase.
> >
> >
> > Nick,
> >
> > You are correct, I am running eit as well. I thought about this, but
> none
> > of the TVNZ data ever gets deleted, so I concluded that this was not the
> > problem. Also, having both eit and epg data saved me once or twice on my
> > satellite system when the epg data got screwed up on SBS 2. As far as I
> can
> > see, the eit data should just 'correct' the last two entries.
> >
> > Anyway, in the interests of science, I disabled the eit data and so far,
> it
> > looks like you are right. I don't know why. There are a lot less
> > reschedule events in the log which I assume were provoked by getting the
> eit
> > data, but the imported data survived a number of these events before
> being
> > deleted. Oh well, I guess I don't really need the eit data...
>
> EIT on DVB-T in NZ is limited pretty well to now and next, whereas on
> DVB-S it is pretty comprehensive.


OK, stopping eit slowed the deletion down, but didn't stop it...

2012-03-21 10:04:00.621 Reschedule requested for id 0.
2012-03-21 10:04:01.145 Scheduled 47 items in 0.5 = 0.03 match + 0.48 place
2012-03-21 10:04:29.263 TVRec(28): ASK_RECORDING 28 29 0 0
2012-03-21 10:04:29.297 TVRec(26): ASK_RECORDING 26 29 0 0
2012-03-21 10:04:29.514 TVRec(29): ASK_RECORDING 29 29 0 0
2012-03-21 10:04:29.865 TVRec(30): ASK_RECORDING 30 29 0 0
2012-03-21 10:04:29.954 TVRec(27): ASK_RECORDING 27 29 0 0
2012-03-21 10:05:02.308 TVRec(26): Changing from None to RecordingOnly
2012-03-21 10:05:02.325 ProgramInfo(): Updated pathname '':'' ->
'1007_20120321100500.mpg'
2012-03-21 10:05:02.346 TVRec(26): HW Tuner: 26->26
2012-03-21 10:05:03.967 AutoExpire: CalcParams(): Max required Free Space:
3.0 GB w/freq: 14 min
2012-03-21 10:05:04.013 Started recording: Doco Of The Week - Oceans Of
Plastic: channel 1007 on cardid 26, sourceid 1
2012-03-21 10:05:06.526 TVRec(26): rec->GetFileName():
'/raid0/mythtv/recordings/1007_20120321100500.mpg'
2012-03-21 10:07:42.503 Reschedule requested for id -1.
2012-03-21 10:07:44.415 Scheduled 34 items in 1.9 = 1.55 match + 0.35 place

At 10:04 we have 47 items being processed (probably about 30 actually
scheduled) and at 10:07 we have 34 (about 12 actually scheduled). All of
my Prime, some of my TV3 Plus1 and Four scheduled programs are gone. But
never any TVNZ. All the TVNZ 7 programs are rock solid and have been from
the start.

So, back to square 1...

Brendan


stevehodge at gmail

Mar 20, 2012, 8:11 PM

Post #6 of 11 (1398 views)
Permalink
Re: Programs disappearing from my program table... [In reply to]

On Wed, Mar 21, 2012 at 12:31, Brendan Dacre <bjdacre [at] gmail> wrote:

> OK, stopping eit slowed the deletion down, but didn't stop it...
>
> 2012-03-21 10:04:00.621 Reschedule requested for id 0.
> 2012-03-21 10:04:01.145 Scheduled 47 items in 0.5 = 0.03 match + 0.48 place
> 2012-03-21 10:04:29.263 TVRec(28): ASK_RECORDING 28 29 0 0
> 2012-03-21 10:04:29.297 TVRec(26): ASK_RECORDING 26 29 0 0
> 2012-03-21 10:04:29.514 TVRec(29): ASK_RECORDING 29 29 0 0
> 2012-03-21 10:04:29.865 TVRec(30): ASK_RECORDING 30 29 0 0
> 2012-03-21 10:04:29.954 TVRec(27): ASK_RECORDING 27 29 0 0
> 2012-03-21 10:05:02.308 TVRec(26): Changing from None to RecordingOnly
> 2012-03-21 10:05:02.325 ProgramInfo(): Updated pathname '':'' ->
> '1007_20120321100500.mpg'
> 2012-03-21 10:05:02.346 TVRec(26): HW Tuner: 26->26
> 2012-03-21 10:05:03.967 AutoExpire: CalcParams(): Max required Free Space:
> 3.0 GB w/freq: 14 min
> 2012-03-21 10:05:04.013 Started recording: Doco Of The Week - Oceans Of
> Plastic: channel 1007 on cardid 26, sourceid 1
> 2012-03-21 10:05:06.526 TVRec(26): rec->GetFileName():
> '/raid0/mythtv/recordings/1007_20120321100500.mpg'
> 2012-03-21 10:07:42.503 Reschedule requested for id -1.
> 2012-03-21 10:07:44.415 Scheduled 34 items in 1.9 = 1.55 match + 0.35 place
>
> At 10:04 we have 47 items being processed (probably about 30 actually
> scheduled) and at 10:07 we have 34 (about 12 actually scheduled). All of
> my Prime, some of my TV3 Plus1 and Four scheduled programs are gone. But
> never any TVNZ. All the TVNZ 7 programs are rock solid and have been from
> the start.
>
> So, back to square 1...
>

Is something causing mythfilldatabase to run?

Cheers,
Steve


bjdacre at gmail

Mar 20, 2012, 8:29 PM

Post #7 of 11 (1385 views)
Permalink
Re: Programs disappearing from my program table... [In reply to]

On 21 March 2012 16:11, Steve Hodge <stevehodge [at] gmail> wrote:

>
> Is something causing mythfilldatabase to run?
>
> Cheers,
> Steve
>

Only my script at 03:15 which adds the processed mheg data. From crontab:

#
15 3 * * * brendand $HOME/update-epg >> /var/log/epg.log 2>&1

From update-epg:

echo Run mythfilldatabase...
mythfilldatabase --update --file 1 /tmp/xmltv.xml

Brendan


bjdacre at gmail

Mar 20, 2012, 8:35 PM

Post #8 of 11 (1396 views)
Permalink
Re: Programs disappearing from my program table... [In reply to]

On 21 March 2012 16:29, Brendan Dacre <bjdacre [at] gmail> wrote:

> On 21 March 2012 16:11, Steve Hodge <stevehodge [at] gmail> wrote:
>
>>
>> Is something causing mythfilldatabase to run?
>>
>> Cheers,
>> Steve
>>
>
> Only my script at 03:15 which adds the processed mheg data. From crontab:
>
> #
> 15 3 * * * brendand $HOME/update-epg >> /var/log/epg.log 2>&1
>
> From update-epg:
>
> echo Run mythfilldatabase...
> mythfilldatabase --update --file 1 /tmp/xmltv.xml
>
> Brendan
>

Further to my earlier reply. That was one of the first things I thought of
and I checked all my cron locations, hourly, daily, weekly in case
something I didn't know about was scheduled.

I am pretty sure it is part of mythtv-backend's schedule, which is why I am
asking on this list. I have inspected the log and can see no obvious
culprit, and although I suspect a reschedule event, some reschedule events
occur without deletion.

Brendan


stevehodge at gmail

Mar 20, 2012, 10:01 PM

Post #9 of 11 (1391 views)
Permalink
Re: Programs disappearing from my program table... [In reply to]

On Wed, Mar 21, 2012 at 16:29, Brendan Dacre <bjdacre [at] gmail> wrote:

> On 21 March 2012 16:11, Steve Hodge <stevehodge [at] gmail> wrote:
>
>>
>> Is something causing mythfilldatabase to run?
>>
>> Cheers,
>> Steve
>>
>
> Only my script at 03:15 which adds the processed mheg data. From crontab:
>
> #
> 15 3 * * * brendand $HOME/update-epg >> /var/log/epg.log 2>&1
>
> From update-epg:
>
> echo Run mythfilldatabase...
> mythfilldatabase --update --file 1 /tmp/xmltv.xml
>

You haven't got it set to be run by mythbackend (configured in
mythtv-setup)?

Cheers,
Steve


nick.rout at gmail

Mar 21, 2012, 12:02 AM

Post #10 of 11 (1390 views)
Permalink
Re: Programs disappearing from my program table... [In reply to]

On Wed, Mar 21, 2012 at 6:01 PM, Steve Hodge <stevehodge [at] gmail> wrote:
> On Wed, Mar 21, 2012 at 16:29, Brendan Dacre <bjdacre [at] gmail> wrote:
>>
>> On 21 March 2012 16:11, Steve Hodge <stevehodge [at] gmail> wrote:
>>>
>>>
>>> Is something causing mythfilldatabase to run?
>>>
>>> Cheers,
>>> Steve
>>
>>
>> Only my script at 03:15 which adds the processed mheg data.  From crontab:
>>
>> #
>> 15 3 * * * brendand $HOME/update-epg >> /var/log/epg.log 2>&1
>>
>> From update-epg:
>>
>> echo Run mythfilldatabase...
>> mythfilldatabase --update --file 1 /tmp/xmltv.xml
>
>
> You haven't got it set to be run by mythbackend (configured in
> mythtv-setup)?
>

my question is "why run mythfilldatabase via cron when mythbackend
makes a perfectly good job of running it?"

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


bjdacre at gmail

Mar 21, 2012, 3:27 AM

Post #11 of 11 (1382 views)
Permalink
Re: Programs disappearing from my program table... [In reply to]

On 21 March 2012 18:01, Steve Hodge <stevehodge [at] gmail> wrote:

> On Wed, Mar 21, 2012 at 16:29, Brendan Dacre <bjdacre [at] gmail> wrote:
>
>> On 21 March 2012 16:11, Steve Hodge <stevehodge [at] gmail> wrote:
>>
>>>
>>> Is something causing mythfilldatabase to run?
>>>
>>> Cheers,
>>> Steve
>>>
>>
>> Only my script at 03:15 which adds the processed mheg data. From crontab:
>>
>> #
>> 15 3 * * * brendand $HOME/update-epg >> /var/log/epg.log 2>&1
>>
>> From update-epg:
>>
>> echo Run mythfilldatabase...
>> mythfilldatabase --update --file 1 /tmp/xmltv.xml
>>
>
> You haven't got it set to be run by mythbackend (configured in
> mythtv-setup)?
>
> Cheers,
> Steve
>

No. At the moment I am in testing and just run the aforementioned script.
Although obviously I want mythfilldatabase to run after the mheg data
extraction, whether I run it in the script or via mythtv-backend has not
been decided. But running it in the script allows me to test whether the
extraction and conversion worked or not.

Not that it really matters if it runs multiple times anyway. If it has no
input it doesn't appear to do anything (maybe it triggers a redundant
reschedule).

Brendan

MythTV mythtvnz RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.