IPB

Welcome Guest ( Log In | Register )

7 Pages V  « < 5 6 7  
Reply to this topicStart new topic
> Melbourne Combined Guide, Free XMLTV EPG for Melbourne
DrP
post Dec 11 2016, 07:22 PM
Post #121


Forum Regular


Group: Members
Posts: 626
Joined: 13-July 03
Member No.: 57
Card: DNTV tinyUSB


I've noticed the URL is returning an error again whilst poking around EPG data from certain web sites.

If anyone is interested in a roll your own guide it's fairly easy to pull the data from the freeview web site now that they've rejigged it (yet again). Basically you can can pull an XML file (not in xmltv format) for each channel in a given area building the file name by combining the DVB network ID, transport stream ID and program (channel) ID. This information cab be readily harvested from say a DVB channel scan with a PC or by viewing the freeview website epg pages with the web browsers debug console open. The xml file includes program times, titles, episode titles, brief summary, series and episode numbers and crid information too and is fairly easy to sift and generate a very useful xmltv file from. I've done up a hack script for my own use but if you ask nicely CALVI might write up something more user friendly for people to download and run on their own PCs directly.

Heck, if it comes to it I could probably do up a script to run daily on my raspberry pi and upload the xmltv file to somewhere for people to download.

CODE
101309200938
NID TSIDPID


http://www.freeview.com.au/XML/new_XML/101309200938 = RACING.COM guide data for Mackay QLD

A HTTP head get can be done against the files to see if they have changed since the last fetch to lessen the load on their server.

snippet of xml returned from the site

CODE
<?xml version="1.0" encoding="UTF-8" ?>
    <listings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Freeview-HWW.xsd" creation_time="2016-12-11T19:04:13">
        <service service_name="9Gem" network_name="SCA" default_authority="crid://mackay.2.sca.au" service_group="SCA" hww_id="406568" affiliate_id="GEM" service_type="TV">
            <schedule>
                <programme genre="Comedy" subgenre=""  classification="(PG)" program_type="series">
                    <title>Are You Being Served?</title>
                    <synopsis>Ordered to cooperate in the store&apos;s German themed week, the Grace Brothers&apos; staff try to find a way to get into the Teutonic spirit.</synopsis>
                    <program_id>159723</program_id>
                    <event_id>82200355</event_id>
                    <crid crid_type="programme" crid_value="/15888D3_5"></crid>
                    <date_time_duration date_time_value="2016-12-10T14:05:00Z" duration="00:45"></date_time_duration>
                    <series episode_number="6" season_number="3">
                        <title>Are You Being Served?</title>
                        <episode_title>German Week</episode_title>
                        <synopsis></synopsis>
                        <crid crid_type="series" crid_value="/15888"></crid>
                    </series>
                    <media>
                        <filename>420321_9gem_16x9.png</filename>
                    </media>
                    <highlight dont_miss="false" coming_up="false" catch_up="false" />
                    <blackout></blackout>
                    <catch_up>
                        <link type="HbbTV"></link>
                    </catch_up>
                    <cast>Mollie Sugden, John Inman, Frank Thornton</cast>
                </programme>


This post has been edited by DrP: Dec 11 2016, 07:25 PM


--------------------
Looking for an alternative to TV Scheduler Pro? Take a look at dvscheduler
Go to the top of the page
 
+Quote Post

7 Pages V  « < 5 6 7
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 26th April 2017 - 09:50 PM