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

Mailing List Archive: MythTV: Users

eit / epg grabber for dvb-t

 

 

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


mintywalker at gmail

Jul 19, 2007, 2:34 AM

Post #1 of 9 (1278 views)
Permalink
eit / epg grabber for dvb-t

Hi,

Setup is all working, except that I cannot get the EPG to populate.

UK, DVB-T, Ubuntu (myth v0.20).
Video Source is set to "Transmitted Guide Only (EIT)"
I created the channels by importing a channels.conf I generated via:
scan /usr/share/doc/dvb-utils/examples/scan/dvb-t/... > channels.conf

I can watch TV fine, but no EPG. Running mythfilldatabase by hand
says it's skipping over because it's using broadcast only data.

I don't see anything in the front or backend logs that indicates a problem.

Pointers?

The setup was working wonderfully before, but due to moving house I
had to re-scan. This didn't seem to work very well until I dropped
mythconverg, created it, rather mythfrontend (which re-created the db
schema), then mythtv-setup. Like I say, it is all working except the
EPG/EIT data. I'm stumped.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


watkinshome at gmail

Jul 19, 2007, 3:02 AM

Post #2 of 9 (1238 views)
Permalink
Re: eit / epg grabber for dvb-t [In reply to]

> I can watch TV fine, but no EPG. Running mythfilldatabase by hand
> says it's skipping over because it's using broadcast only data.
>
> I don't see anything in the front or backend logs that indicates a problem.
>
> Pointers?
>
> The setup was working wonderfully before, but due to moving house I
> had to re-scan. This didn't seem to work very well until I dropped
> mythconverg, created it, rather mythfrontend (which re-created the db
> schema), then mythtv-setup. Like I say, it is all working except the
> EPG/EIT data. I'm stumped.

It's possible to disable the EIT in the backend setup (though I think
it's enabled by default).

Sometimes it can be several minutes for the data to appear.

I'm pretty sure you don't need to run mythfilldatabase when you use
EIT data - at least not for the EIT data to appear, it may need to be
run as a housekeeping task to clear out old guide data (although that
requirement is being/has been removed - not quite sure of the status)
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mintywalker at gmail

Jul 19, 2007, 3:13 AM

Post #3 of 9 (1232 views)
Permalink
Re: eit / epg grabber for dvb-t [In reply to]

On 7/19/07, David Watkins <watkinshome [at] gmail> wrote:
> It's possible to disable the EIT in the backend setup (though I think
> it's enabled by default).

Thanks for the reply!

I'm not aware that I've done that, but I'll go google for the
appropriate place. If anyone can point me at it ... :)

> Sometimes it can be several minutes for the data to appear.

It's been several hours.

mythbackend.log has lots of lines like:

EITScanner: Now looking for EIT data on multiplex of channel ...

Is there any way to run that by hand in verbose mode and see what is going on?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


watkinshome at gmail

Jul 19, 2007, 3:27 AM

Post #4 of 9 (1234 views)
Permalink
Re: eit / epg grabber for dvb-t [In reply to]

On 19/07/07, Minty <mintywalker [at] gmail> wrote:
> On 7/19/07, David Watkins <watkinshome [at] gmail> wrote:
> > It's possible to disable the EIT in the backend setup (though I think
> > it's enabled by default).
>
> Thanks for the reply!
>
> I'm not aware that I've done that, but I'll go google for the
> appropriate place. If anyone can point me at it ... :)
>
> > Sometimes it can be several minutes for the data to appear.
>
> It's been several hours.
>
> mythbackend.log has lots of lines like:
>
> EITScanner: Now looking for EIT data on multiplex of channel ...
>
> Is there any way to run that by hand in verbose mode and see what is going on?

There is a command line option to enable EIT message logging on the
backend. I can't remember exactly, so try mythbackend --help.
Probably something like -v EIT. I edited my /etc/init.d/mythbackend
script to add the option to my standard startup (Fedora, so Ubuntu may
be different). It put a *lot* of stuff in the log, if I remember
correctly, so you'll want to take it out again when you're done.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


st3v3.sm1th at gmail

Jul 19, 2007, 4:07 AM

Post #5 of 9 (1229 views)
Permalink
Re: eit / epg grabber for dvb-t [In reply to]

David,

Somewhere (on the wiki I think) I read that EIT only works if you've created
you channels by doing a scan within myth-setup NOT from a channels.conffile.
Certainly that was the case for me!
This of course is a problem because channel scanning crashes randomly....

(In the end I've gone over to using xmltv as I've also got a cable TV
source.)

Cheers

Steve


On 19/07/07, David Watkins <watkinshome [at] gmail> wrote:
>
> On 19/07/07, Minty <mintywalker [at] gmail> wrote:
> > On 7/19/07, David Watkins <watkinshome [at] gmail> wrote:
> > > It's possible to disable the EIT in the backend setup (though I think
> > > it's enabled by default).
> >
> > Thanks for the reply!
> >
> > I'm not aware that I've done that, but I'll go google for the
> > appropriate place. If anyone can point me at it ... :)
> >
> > > Sometimes it can be several minutes for the data to appear.
> >
> > It's been several hours.
> >
> > mythbackend.log has lots of lines like:
> >
> > EITScanner: Now looking for EIT data on multiplex of channel ...
> >
> > Is there any way to run that by hand in verbose mode and see what is
> going on?
>
> There is a command line option to enable EIT message logging on the
> backend. I can't remember exactly, so try mythbackend --help.
> Probably something like -v EIT. I edited my /etc/init.d/mythbackend
> script to add the option to my standard startup (Fedora, so Ubuntu may
> be different). It put a *lot* of stuff in the log, if I remember
> correctly, so you'll want to take it out again when you're done.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


darrenmarshall at linuxfire

Jul 19, 2007, 4:11 AM

Post #6 of 9 (1249 views)
Permalink
Re: eit / epg grabber for dvb-t [In reply to]

Hi there,
The chanid's may not match in mythconverg here's how to check them.
Open a terminal and log into mysql with the same user name as mythtv '
mysql -u username -p ' . When logged in choose the database ' \u
mythconverg ' then query mysql ' SELECT DISTINCT chanid FROM channel; ' and
then ' SELECT DISTINCT chanid FROM program; ' both tables should match.
Alternatively you can try using this php script I wrote, just extract it and
put it in apache document root.
wget http://www.linuxfire.biz/public_ftp/epg_helper.php.tar.gz then in a web
browser http://localhost/epg_helper.php

goodluck

> Hi,
>
> Setup is all working, except that I cannot get the EPG to populate.
>
> UK, DVB-T, Ubuntu (myth v0.20).
> Video Source is set to "Transmitted Guide Only (EIT)"
> I created the channels by importing a channels.conf I generated via:
> scan /usr/share/doc/dvb-utils/examples/scan/dvb-t/... > channels.conf
>
> I can watch TV fine, but no EPG. Running mythfilldatabase by hand
> says it's skipping over because it's using broadcast only data.
>
> I don't see anything in the front or backend logs that indicates a problem.
>
> Pointers?
>
> The setup was working wonderfully before, but due to moving house I
> had to re-scan. This didn't seem to work very well until I dropped
> mythconverg, created it, rather mythfrontend (which re-created the db
> schema), then mythtv-setup. Like I say, it is all working except the
> EPG/EIT data. I'm stumped.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

--
linuxfire.biz
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mintywalker at gmail

Jul 19, 2007, 2:44 PM

Post #7 of 9 (1228 views)
Permalink
Re: eit / epg grabber for dvb-t [In reply to]

On 7/19/07, David Watkins <watkinshome [at] gmail> wrote:
> There is a command line option to enable EIT message logging on the
> backend. I can't remember exactly, so try mythbackend --help.

So I tried with -v all and -v eit, summary below - nothing that
suggests whats going wrong.

I modified /etc/init.d/mythtv-backend to have:

ARGS="--verbose all --daemon --logfile /var/log/mythtv/mythbackend.log
--pidfile $RUNDIR/$NAME.pid"

Restarted, then grep'd -i for "eit" in that after seeing an EIT scan
scroll past. The result is below, with the lines starting => being
the values I got for the SQL statements when run manually. It looks
reasonable enough to me... I'd be happy to supply full logs if anyone
wants them:

2007-07-19 22:12:04.141 MSqlQuery: SELECT data FROM settings WHERE
value = 'EITTimeOffset' AND hostname = 'tv' ;
=> Empty Set
2007-07-19 22:12:04.143 MSqlQuery: SELECT data FROM settings WHERE
value = 'EITTimeOffset' AND hostname IS NULL;
=> Auto
2007-07-19 22:12:04.144 EITHelper: localtime offset 1:00:00
2007-07-19 22:12:05.059 MSqlQuery: SELECT data FROM settings WHERE
value = 'EITIgnoresSource' AND hostname = 'tv' ;
=> Empty Set
2007-07-19 22:12:05.061 MSqlQuery: SELECT data FROM settings WHERE
value = 'EITIgnoresSource' AND hostname IS NULL;
=> 0
2007-07-19 22:12:05.096 MSqlQuery: SELECT data FROM settings WHERE
value = 'EITTransportTimeout' AND hostname = 'tv' ;
=> Empty Set
2007-07-19 22:12:05.097 MSqlQuery: SELECT data FROM settings WHERE
value = 'EITTransportTimeout' AND hostname IS NULL;
=> 5
2007-07-19 22:12:05.099 MSqlQuery: SELECT data FROM settings WHERE
value = 'EITCrawIdleStart' AND hostname = 'tv' ;
=> Empty Set
2007-07-19 22:12:05.101 MSqlQuery: SELECT data FROM settings WHERE
value = 'EITCrawIdleStart' AND hostname IS NULL;
=> 60
2007-07-19 22:14:03.600 MSqlQuery: SELECT SUM(useeit) FROM
videosource, cardinput WHERE videosource.sourceid = cardinput.sourceid
AND cardinput.cardid = 1
=> 1
2007-07-19 22:14:03.606 MSqlQuery: SELECT min(channum) FROM channel,
cardinput, capturecard, videosource WHERE cardinput.sourceid =
channel.sourceid AND videosource.sourceid = channel.sourceid AND
capturecard.cardid = cardinput.cardid AND
channel.mplexid IS NOT NULL AND useonairguide
= 1 AND useeit = 1
AND channum != '' AND
cardinput.cardid = 1 GROUP BY mplexid ORDER BY cardinput.sourceid,
mplexid, atsc_major_chan, atsc_minor_chan
=> 1, 10, 15, 701, 18
2007-07-19 22:14:03.607 EITScanner: StartActiveScan called with 5 multiplexes
2007-07-19 22:14:03.608 TVRec(1): SetFlags(EITScannerRunning,) ->
RunMainLoop,EITScannerRunning,
2007-07-19 22:14:03.744 TVRec(1): ClearFlags(RingBufferReady,) ->
RunMainLoop,EITScannerRunning,
2007-07-19 22:14:03.745 TVRec(1): Request: Program(no) channel(10)
input() flags(EITScan,)
2007-07-19 22:14:03.750 TVRec(1): ClearFlags(PENDINGACTIONS,) ->
RunMainLoop,EITScannerRunning,
2007-07-19 22:14:05.460 TVRec(1): SetFlags(SignalMonitorRunning,) ->
RunMainLoop,SignalMonitorRunning,EITScannerRunning,
2007-07-19 22:14:05.461 TVRec(1): ClearFlags(WaitingForSignal,) ->
RunMainLoop,SignalMonitorRunning,EITScannerRunning,
2007-07-19 22:14:05.463 TVRec(1): SetFlags(WaitingForSignal,) ->
RunMainLoop,WaitingForSignal,SignalMonitorRunning,EITScannerRunning,
2007-07-19 22:14:05.464 TVRec(1): ClearFlags(NeedToStartRecorder,) ->
RunMainLoop,WaitingForSignal,SignalMonitorRunning,EITScannerRunning,
2007-07-19 22:14:05.468 EITScanner: Now looking for EIT data on
multiplex of channel 10
2007-07-19 22:14:05.470 EITCache: Pruning all entries that ended
before UTC 2007-07-18T22:19:08
2007-07-19 22:14:05.471 EITCache: Deleting old cache entries from the database
2007-07-19 22:14:05.473 MSqlQuery: DELETE FROM eit_cache WHERE endtime
< 1184793548

===========================================================
===========================================================

Then I switched /etc/init.d/mythtv-backend to have

ARGS="--verbose eit --daemon --logfile /var/log/mythtv/mythbackend.log
--pidfile $RUNDIR/$NAME.pid"

Not really much of use here I think:

2007-07-19 22:37:14.927 EITScanner: StartActiveScan called with 5 multiplexes
2007-07-19 22:37:15.989 EITScanner: Now looking for EIT data on
multiplex of channel 10
2007-07-19 22:37:15.994 EITCache: Pruning all entries that ended
before UTC 2007-07-18T22:42:18
2007-07-19 22:37:15.996 EITCache: Deleting old cache entries from the database

2007-07-19 22:42:19.058 EITScanner: Now looking for EIT data on
multiplex of channel 15
2007-07-19 22:42:19.063 EITCache: Pruning all entries that ended
before UTC 2007-07-18T22:47:22
2007-07-19 22:42:19.065 EITCache: Deleting old cache entries from the database
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mintywalker at gmail

Jul 19, 2007, 2:44 PM

Post #8 of 9 (1232 views)
Permalink
Re: eit / epg grabber for dvb-t [In reply to]

On 7/19/07, Steve Smith <st3v3.sm1th [at] gmail> wrote:
> Somewhere (on the wiki I think) I read that EIT only works if you've created
> you channels by doing a scan within myth-setup NOT from a channels.conf
> file.
> Certainly that was the case for me!

Any more information on this would be really useful.

I'd read the same on the wiki. I initially imported my channels.conf
(which sets up the channels so that I can watch them fine). Then went
back in and did a scan on "Existing transports".

No difference.

> This of course is a problem because channel scanning crashes randomly....

No kidding. Wait somewhere between 2 and 60 mins while it does a full
scan, then it crashes. Go to jail, do not pass Go, do not collection
$200.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mintywalker at gmail

Jul 19, 2007, 2:47 PM

Post #9 of 9 (1216 views)
Permalink
Re: eit / epg grabber for dvb-t [In reply to]

On 7/19/07, Darren <darrenmarshall [at] linuxfire> wrote:
> The chanid's may not match in mythconverg here's how to check them.

Thanks Darren.

In my case "SELECT COUNT(*) FROM program" returns 0 rows.

I think the problem I'm having is that for whatever reason the EPG
isn't being populated at all.

M.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users 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.