[mythtv] [contrib] myth_categorize
Martin Moeller
martin at martinm-76.dk
Sun Jan 4 16:51:08 EST 2004
Whoops. Good point. They have been in my modified mythfilldatabasecron
script but they probably should be directly in myth_categorize.
These are the lines I use:
mysql -umythtv -pmythtv mythconverg -B -e "select
chanid,starttime,endtime,description from program;" | grep -v ^chanid |
tr '\t' '§' > /tmp/description.sql
mysql -umythtv -pmythtv mythconverg -B -e "select
chanid,starttime,endtime,title,subtitle from program;" | grep -v ^chanid
| tr '\t' '§' > /tmp/title.sql
The grep -v part can be cut away if using --skip-column-names.
I will update my script with this near the top..
søn, 2004-01-04 kl. 21:00 skrev Torbjörn Jansson:
> Where do you create /tmp/title.sql and /tmp/description.sql ?
>
> > -----Original Message-----
> > From: mythtv-dev-bounces at mythtv.org
> > [mailto:mythtv-dev-bounces at mythtv.org] On Behalf Of Martin Moeller
> > Sent: Sunday, January 04, 2004 7:33 PM
> > To: Development of mythtv
> > Subject: [mythtv] [contrib] myth_categorize
> >
> > Hi everyone.
> >
> > I am now pleased enough with my category script to subject it to
> > scrutiny (meaning you). It should work on pretty much anything, but
> > local adaption for a couple of things are likely necessary if
> > you're not
> > using channel data my tv_grab_dk grabber for program listings
> > (included
> > for those interested).
> >
> > Comments would be most welcome. I hope to have this accepted into
> > 'contrib' in the near future...
> >
> > Belated Happy New Year and Merry Christmas to all :)
> >
> > --
> > Martin Moeller <martin at martinm-76.dk>
> >
--
Martin Moeller <martin at martinm-76.dk>
More information about the mythtv-dev
mailing list