[mythtv] DirectTv, etc.
Mon, 11 Nov 2002 22:18:03 -0600
-----BEGIN PGP SIGNED MESSAGE-----
> > 3) This has NOTHING to do with mythtv, but absolutely the
> > > worst thing about
> > using directv with MythTV is that zap2it's channel guide
> system has *no*
> > ability to get pay per view movie information.. I have been
> trying to
> > figure out how to appropriately query www.directv.com 's
> site for PPV
> > information.. This is, as I understand, totally a
> zap2it.com / xmltv
> > issue.. but it still hurts me deeply..
> I'm going to take a shot dealing with tonight so if you have any
> ideas/comments about parsing the directv listings please post
> or email me
> (use firstname.lastname@example.org address rather than maillists@...).
Why use zap2it when you can get guide data from TVGuide?
After compiling it on my system, getting the service ID for Central
DirecTV region, I ran it like this:
% tvlisting --serviceid=63892 --dumper > a.dumper
And I got this in a.dumper:
"DIRECTV - Central Time Zone"
"199#HDNET#6#SpORt NW#6#World Report#6#Mark Cuban#6#Comedy Shorts",
"202#CNN#6#Connie Chung Tonight#6#Lou Dobbs Moneyline#12#Larry King
"203#COURT#12#NYPD Blue#12#The System",
"204#HN#12#Headline News#12#Headline News",
First field is the channel, second is the network, third is the
number of 5 minute segments it occupies (6 == 30 minutes, 12 == 1
There are other output formats like --text, --html, --xml, etc, but
dumper is nice and simple.
Program details aren't grabbed automatically, so you can do this:
[mythtv@pvr tvlisting-2.0.6]$ tvlisting --serviceid=63892 --detail
"To Hell and Back"
v-string in use/require non-portable at /usr/bin/tvlisting line 62.
Using an array as a reference is deprecated at
lib/TVListing/TVGuide.pm line 301.
To Hell and Back
To Hell and Back
Audie Murphy plays himself in this account of his WWII service in
Europe. Johnson: Marshall Thompson. Brandon: Charles Drake. Manning:
Gregg Palmer. Kerrigan: Jack Kelly. Maria: Susan Kohner. Valentino:
Paul Picerni. Kovak: Richard Castle. Sanchez: Art Aragon. Swope:
Felix Noriego. Lee: David Janssen. Saunders: Brett Halsey. Jesse
Read the CineBooks movie review
Felix Noriego, David Janssen, Brett Halsey, Paul Picerni, Richard
Castle, Art Aragon, Gregg Palmer, Jack Kelly, Susan Kohner, Audie
Murphy, Marshall Thompson, Charles Drake
I'm sure a motivated person can use this knowlege as a springboard...
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
-----END PGP SIGNATURE-----