[mythtv] New method for channel icon lookup

John Pullan john.pullan at gmail.com
Fri Apr 20 17:10:42 UTC 2007


Here's the new integrated patch for mythtv-setup. The one bit I'm not
too happy with is a bunch of SQL sat right in the middle of
importicons.cpp. (Basically tries to fetch a load of channel
information stuff, linked to the dtv tables as well, completely
untested with analog signals)

Apart from that and a load of debug, please try it out and let me know
what you think.

patch file is applied from the top
the two importicons files live in libmythtv

--
PS Thanks to Chris
John


On 06/03/07, Rick Scott <rwscott at alumni.uwaterloo.ca> wrote:
> On Tue, 2007-03-06 at 21:19 +0000, John Pullan wrote:
> >
> >
> > On 05/03/07, Chris Petersen <lists at forevermore.net> wrote:
> >         Robin Gilks wrote:
> >         > Is this world wide or USA only? Are there any dependancies
> >         on xmltv,
> >         > zap2it (whatever its called) or file input to
> >         mythfilldatabase from a hand
> >         > crafted XML source?
> >
> >         It uses icons from lyngsat, and should work for anywhere that
> >         uses any
> >         of the four source types I listed:
> >
> >         * xmltvid
> >         * callsign
> >         * dvb id trio (transport id, network id, service id)
> >         * atsc id trio (transport id, major channel, minor channel)
> >
> >         The db is stored at mythtv.org, so it's completely separate
> >         from any
> >         other service.  The perl script I wrote will walk you through
> >         choosing/downloading the icons, and will update the db for
> >         you.  I
> >         expect that future versions of mythtv-setup, the frontend,
> >         and/or
> >         mythweb will get some kind of gui, too.
> >
> >         -Chris
> >
> > This patch kind of works(ish). There are a few caveats:
> > 1) The channel_icons.pl file needs to be in the same directory as the
> > executable (mythtv-setup)
> > 2) The ~/.mythtv/channels needs to exist
> > 3) You need to start the mythbackend
> >
> > Hope this works.
>
> Also, it should be using ${MYTHCONFDIR} before of ~/.mythtv.
>

-- 
John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iconupdate.patch
Type: text/x-patch
Size: 6754 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20070420/4321c145/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: importicons.cpp
Type: application/octet-stream
Size: 18429 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20070420/4321c145/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: importicons.h
Type: application/octet-stream
Size: 2678 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20070420/4321c145/attachment-0001.obj 


More information about the mythtv-dev mailing list