TheCritic
10-13-2002, 01:27 PM
OK... jpags is MIA for a month and I miss the PPV listings. So, I am writing a perl script that should parse the DTV web site to get the ppv listings and then generate a showlist.jpg file that will work like jpags used to. I thought I would post my findings here in the hopes others would get interested and help me fill in the gaps.
showlist.jpg defines 3 procedures
addChannels
addShows
addPrograms
Each procedure calls one other procedure (or function or whatever tcl calls it)
addChannels uses the adc procedure
addShows uses the ads procedure
addPrograms uses the adp procedure
the format of the adc procedure seems to be
adc CHANNEL
ie. adc PPV173
the format of the ads procedure seems to be
ads INDEX CHANNEL DAY STARTTIME DURATION PROGRAMINDEX
ie. ads 0 PPV173 11933 46800 4500 PR1
the format of the adp procedure seems to be
adp PROGRAMINDEX UNKNOWN {SHOWTITLE} "UNKNOWN" "YEAR" "ACTORS" {DESCRIPTION} "RATING"
ie. adp PR4 A0014117f {Michael Winslow: Comedy Slapdown} "371 133 167 125" "" "" {Catch the audio antics of the 'Police Academy' impressionist in this 'Comedy and Sound Slapdown.' It's the full Michael Winslow Experience! } ""
You can download the file I am working with from jpags site at http://www.geocities.com/paglierani/showlist.jpg
I would love some help in these areas:
In the ads procedure:
Is duration in seconds?
How are DAY and STARTTIME converted from standard date/time to these integers?
In the adp procedure:
What are the UNKNOWN parameters?
Are {} and "" interchangeable in tcl?
Any help will be appreciated.
showlist.jpg defines 3 procedures
addChannels
addShows
addPrograms
Each procedure calls one other procedure (or function or whatever tcl calls it)
addChannels uses the adc procedure
addShows uses the ads procedure
addPrograms uses the adp procedure
the format of the adc procedure seems to be
adc CHANNEL
ie. adc PPV173
the format of the ads procedure seems to be
ads INDEX CHANNEL DAY STARTTIME DURATION PROGRAMINDEX
ie. ads 0 PPV173 11933 46800 4500 PR1
the format of the adp procedure seems to be
adp PROGRAMINDEX UNKNOWN {SHOWTITLE} "UNKNOWN" "YEAR" "ACTORS" {DESCRIPTION} "RATING"
ie. adp PR4 A0014117f {Michael Winslow: Comedy Slapdown} "371 133 167 125" "" "" {Catch the audio antics of the 'Police Academy' impressionist in this 'Comedy and Sound Slapdown.' It's the full Michael Winslow Experience! } ""
You can download the file I am working with from jpags site at http://www.geocities.com/paglierani/showlist.jpg
I would love some help in these areas:
In the ads procedure:
Is duration in seconds?
How are DAY and STARTTIME converted from standard date/time to these integers?
In the adp procedure:
What are the UNKNOWN parameters?
Are {} and "" interchangeable in tcl?
Any help will be appreciated.