SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV EPG Service
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV EPG Service Discussion related to the SageTV EPG Service used within SageTV. Questions about service area coverage, channel lineups, EPG listings, XMLTV, or anything else related to the service or programming guide data for SageTV should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-21-2014, 09:57 AM
Oddity Oddity is offline
Sage Aficionado
 
Join Date: Nov 2010
Location: London
Posts: 282
Digiguide

I've been playing with Digiguide as a source for XML EPG data. Can anyone provide me with the latest DG2XML.dgscheme-web files as these don't appear to be available and the only ones I can find so far are out of date and don't work correctly. I'm particularly interested in making sure the series and episode information is extracted.

I have been using XMLTV GUI to process

Thanks
Reply With Quote
  #2  
Old 09-21-2014, 10:32 AM
routerunner's Avatar
routerunner routerunner is offline
Sage Icon
 
Join Date: May 2008
Location: Wiltshire, UK
Posts: 1,384
Quote:
Originally Posted by Oddity View Post
I've been playing with Digiguide as a source for XML EPG data. Can anyone provide me with the latest DG2XML.dgscheme-web files as these don't appear to be available and the only ones I can find so far are out of date and don't work correctly. I'm particularly interested in making sure the series and episode information is extracted.

I have been using XMLTV GUI to process

Thanks
You don't need that anymore.

Simply set the Digiguide to export its data via its web service/skin and XMLTV GUI will do the rest:

Tools > Customise... > Web Service:
  1. Enable Web Service tick box
  2. Port Number = 2402
  3. Remote Access Password = <same as the one you setup in XMLTV GUI>
  4. Web Skin = web

Also I wrote a LUA script while ago for XMLTV GUI to fix some XML markup errors that sometimes DigiGuide exports. Please have a look HERE for details.

Hope it helps
Eddy
__________________

Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll


Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard
Reply With Quote
  #3  
Old 09-21-2014, 11:57 AM
Oddity Oddity is offline
Sage Aficionado
 
Join Date: Nov 2010
Location: London
Posts: 282
Just realised I posted reply in the other thread:-
Copy below
Cheers for this.
Just tried it, removed the server skins I had put into the Digiguide folder and installed your file in XML GUI scripts directory.
Added the postprocessors as described but now getting the following in XMLTV gui
18:50:30 - Starting pass 1 of grabber UK_Digi
18:50:30 - Logging In
18:50:30 - Getting start date
18:50:30 - Downloading http://localhost:2402/skin-DG2XML/sid-E4EFBB11-6A7C-4D0E-AC0B-8CC93C260B1C/viewmultichannelgrid?htd=3000&dt=<h1>Skin 'DG2XML' is missing</h1>&chi=0&noc=5
18:50:30 - Finished pass 1 of grabber UK_Digi
18:50:30 - 0 programs found
18:50:30 - Starting pass 1 of processor UK_Digi_ALT_Digi
18:50:30 - Finished pass 1 of processor UK_Digi_ALT_Digi
18:50:30 - Starting pass 1 of processor XML_Fixer
18:50:30 - Finished pass 1 of processor XML_Fixer
18:50:30 - Starting pass 2 of processor XML_Fixer
18:50:30 - Finished pass 2 of processor XML_Fixer
18:50:30 - Combining Grabber Programs
18:50:30 - Finished Combining Grabber Programs
18:50:30 - Writing XML
18:50:30 - No programs found, aborting xml writing
Reply With Quote
  #4  
Old 09-21-2014, 12:44 PM
routerunner's Avatar
routerunner routerunner is offline
Sage Icon
 
Join Date: May 2008
Location: Wiltshire, UK
Posts: 1,384
Quote:
Originally Posted by Oddity View Post
Just realised I posted reply in the other thread:-
Copy below
Cheers for this.
Just tried it, removed the server skins I had put into the Digiguide folder and installed your file in XML GUI scripts directory.
Added the postprocessors as described but now getting the following in XMLTV gui
18:50:30 - Starting pass 1 of grabber UK_Digi
18:50:30 - Logging In
18:50:30 - Getting start date
18:50:30 - Downloading http://localhost:2402/skin-DG2XML/sid-E4EFBB11-6A7C-4D0E-AC0B-8CC93C260B1C/viewmultichannelgrid?htd=3000&dt=<h1>Skin 'DG2XML' is missing</h1>&chi=0&noc=5
18:50:30 - Finished pass 1 of grabber UK_Digi
18:50:30 - 0 programs found
18:50:30 - Starting pass 1 of processor UK_Digi_ALT_Digi
18:50:30 - Finished pass 1 of processor UK_Digi_ALT_Digi
18:50:30 - Starting pass 1 of processor XML_Fixer
18:50:30 - Finished pass 1 of processor XML_Fixer
18:50:30 - Starting pass 2 of processor XML_Fixer
18:50:30 - Finished pass 2 of processor XML_Fixer
18:50:30 - Combining Grabber Programs
18:50:30 - Finished Combining Grabber Programs
18:50:30 - Writing XML
18:50:30 - No programs found, aborting xml writing
I reckon you missed step #4?

Eddy
__________________

Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll


Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard
Reply With Quote
  #5  
Old 09-21-2014, 12:55 PM
Oddity Oddity is offline
Sage Aficionado
 
Join Date: Nov 2010
Location: London
Posts: 282
See attached, just tried all settings as web.
Attached Images
File Type: png web.png (49.6 KB, 264 views)
Reply With Quote
  #6  
Old 09-21-2014, 01:20 PM
routerunner's Avatar
routerunner routerunner is offline
Sage Icon
 
Join Date: May 2008
Location: Wiltshire, UK
Posts: 1,384
Quote:
Originally Posted by Oddity View Post
See attached, just tried all settings as web.
Sorry, my bad, I completely forgot...basically you need to set the Web Skin setting to "web" only and leave the other two settings (PDA and TV) to their default, then untick "Enable web service registration", finally download the zip in attachment and expand the content into <DigiGuide TV Guide\schemes\server skins>.

What you finally have in that folder will be web/pda/tv DigiGuide scheme files plus the "DG2XML.dgscheme-web" folder containing three files.

Hope it helps
Eddy
Attached Files
File Type: zip DG2XML.zip (1.2 KB, 226 views)
__________________

Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll


Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard
Reply With Quote
  #7  
Old 09-21-2014, 02:18 PM
Oddity Oddity is offline
Sage Aficionado
 
Join Date: Nov 2010
Location: London
Posts: 282
Cheers, yes working but I'm still not getting all the information from digiguide
For example, program below has series infor in Digiguide but not in xml output.

</programme>
<programme start="20140919150000 +0100" stop="20140919154500 +0100" channel="101">
<title>Escape to the Country</title>
<sub-title>Cumbria</sub-title>
<desc>Series in which buyers are helped to find their dream homes. Aled Jones heads to Cumbria to help a young family find a perfect retreat. With a budget of £600,000, they are after lots of character and space for a pony. Plus Aled goes wild in the local countryside as he partakes in a spot of bush craft.</desc>
<category>Consumer</category>
<previously-shown/>
<subtitles type="teletext"></subtitles>
<star-rating>
<value>3/5</value>
</star-rating>
</programme>
Reply With Quote
  #8  
Old 09-21-2014, 02:39 PM
routerunner's Avatar
routerunner routerunner is offline
Sage Icon
 
Join Date: May 2008
Location: Wiltshire, UK
Posts: 1,384
Quote:
Originally Posted by Oddity View Post
Cheers, yes working but I'm still not getting all the information from digiguide
For example, program below has series infor in Digiguide but not in xml output.

</programme>
<programme start="20140919150000 +0100" stop="20140919154500 +0100" channel="101">
<title>Escape to the Country</title>
<sub-title>Cumbria</sub-title>
<desc>Series in which buyers are helped to find their dream homes. Aled Jones heads to Cumbria to help a young family find a perfect retreat. With a budget of £600,000, they are after lots of character and space for a pony. Plus Aled goes wild in the local countryside as he partakes in a spot of bush craft.</desc>
<category>Consumer</category>
<previously-shown/>
<subtitles type="teletext"></subtitles>
<star-rating>
<value>3/5</value>
</star-rating>
</programme>
I think this doesn't relate to the DG2XML, but to the XMLTV GUI which select the information to export to the XML, so it might be possible to modify the LUA parser in order to extract the information you need. Maybe you could contact the developer for help.

Cheers
Eddy
__________________

Automatic Power Off | Squeezeslave | DVB-S Importer | DVB Decrypter & Card Client | Tuner Preroll


Every man is a damn fool for at least five minutes every day; wisdom consists in not exceeding the limit. ~ Elbert Hubbard
Reply With Quote
  #9  
Old 09-24-2014, 10:22 AM
Oddity Oddity is offline
Sage Aficionado
 
Join Date: Nov 2010
Location: London
Posts: 282
Smile

I have been playing with DG2XML files ( strings.dat ) file
Adding
<my-episode><![CDATA[Episode <di programme-episode-text>]]></my-episode>
<my-series-number><![CDATA[<di programme-SeriesNumber>]]></my-series-number>

Gives the episode numbers consistently.
Series numbers only for certain programmes.
Note that there is more series information in the qualifiers field so
<my-qualifiers><![CDATA[<di programme-qualifiers>]]></my-qualifiers>
gives, for example,
<my-qualifiers>Stereo, Repeat, Series 15, Widescreen, Subtitles, 3 Star<my-qualifiers>

So just need to do a match to search for the text "Series" and strip it out.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Digiguide run as a service on WHS jamesdisco SageTV United Kingdom 23 03-18-2011 05:24 AM
Alternatives to DigiGuide EPG JohanDW SageTV United Kingdom 2 06-13-2010 01:30 PM
Digiguide problems planetc SageTV United Kingdom 1 05-04-2010 10:42 AM
Is DG2XML broken with Digiguide 8.4? MCE-Refugee SageTV United Kingdom 7 08-28-2009 12:38 AM
Digiguide or other EPG FatBob SageTV United Kingdom 44 02-07-2004 05:24 AM


All times are GMT -6. The time now is 03:53 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.