[mythtv] [PATCH] DataDirect service -- updated to match CVS xmltv tv_grab_na_dd

David Shay david at shay.net
Thu Apr 1 01:01:28 EST 2004


On Wednesday 31 March 2004 10:49 pm, Robert Kulagowski wrote:
> If you're feeling froggy, mythtv used to support grabbing data directly
> from a site called "gist.com" and didn't use XMLTV at all.  The diff is
> here:
> Back then, Isaac just called wget to pull the data.  Might be a way to
> directly support Data Direct without trying to shoehorn stuff into the
> XMLTV 0.5 DTD that doesn't quite "fit" right now.

The problem, though, is that the datadirect service requires HTTP 
authentication, which isn't really simple to implement in QT.  It could be 
done, mind you, but it requires catching the initial error message,  
detecting the required authentication realm, calculating an MD5 digest, etc.

For now, I am using a shell script which uses the "GET" command from 
libwww-perl to do the authentication.

I am currently working on the parsing of the data internally.  I have it 
retrieving the lineups and presenting those in the setup GUI.   I am now 
working on the harder part -- stations, lineup maps, schedules, programs, 
etc., and loading those into temporary mysql tables.  Slow going, since I 
haven't really worked in C++ or QT before 2-3 weeks ago...


More information about the mythtv-dev mailing list