[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Transcoding (to XMLTV) and bulk downloads now available [beta]



Hi,

As promised here:
 
     http://www.bleb.org/tv/maillist/msg00077.html

...there are is now a bulk-download and transcoding to XMLTV interface
available. This is still very beta, but seems to work OK.

              *** COMMENTS/TESTING DEFINITELY REQUIRED ***

In time this may become the preferred/only way of downloading the data.
The seperate files are available at http://www.bleb.org/tv/data/listings/
and the new transcoding interface can be seen at:

    http://www.bleb.org/tv/data/listings?help

eg. in shell script:

    # Get yesterday's, today's and tomorrow's listings in XMLTV format
    #
    BASE_URL='http://bleb.org/tv/data/listings'
    DAYS=-1,1,1
    FORMAT=XMLTV
    FILE=BZIP2
    CHANNELS=bbc1,bbc2,itv1,ch4,five

    wget -U 'My TV Fetching application (andrew@xxxxxxxx)' \
         -O 'bleb-xmltv.bz2' \
         "$BASE_URL?days=$DAYS&format=$FORMAT&file=$FILE&channels=$CHANNELS"

Thanks to:
~~~~~~~~~~
    * John Knottenbelt and Chris Moore for their XSLT work
      (see http://www.bleb.org/tv/data/bleb2xmltv.xsl)

    * Jonathan Gorham for suggestions and helpful code.

If anyone's got a way of testing this with XMLTV applications (whether
that's MythTV or some viewer), I'd be very interested to hear about it
via the mailing list.

Cheers,

Andrew

-- 
Andrew Flegg -- mailto:andrew@xxxxxxxx  |  http://www.bleb.org/