SageTV Community  

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

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-21-2007, 10:33 PM
stevech stevech is offline
Sage Icon
 
Join Date: Dec 2005
Posts: 1,643
Electronic Program Guide in XML?

Does the Electronic Program Guide data that Sage obtains get written to a disk file in XML?
Reply With Quote
  #2  
Old 06-21-2007, 11:29 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
No, it gets stored in Wiz.bin. But it would be possible to write a plugin that uses the SageTV API to retrieve the data from Wiz.bin and write it out in any format you please. Nielm's XML generator does exactly that for recordings, but it would be equally easy to do it for all EPG entries, not just the ones that have been recorded.
__________________
-- Greg
Reply With Quote
  #3  
Old 06-22-2007, 01:33 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by GKusnick View Post
but it would be equally easy to do it for all EPG entries, not just the ones that have been recorded.
... something which my webserver already does (search results for all future airings in XML.)
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #4  
Old 06-22-2007, 01:20 PM
stevech stevech is offline
Sage Icon
 
Join Date: Dec 2005
Posts: 1,643
what I will soon badly need is an automated scheme where each time the EPG gets re-downloaded, or merely once daily, a new XML file gets created.

I use the XML to create my own scrollable guide format that has a super high WAF. The format has evolved and been WAF-optmized. An example is enclosed. There's a second format, sorted by channel. The CSS-defined font sizes/colors are chosen for use on-screen at 800 x 600 pixels, and for those with less than perfect eyesight.

The impetus for my question is that the data source I've been using is at risk of going away.

I would be delighted if someone would develop a utility as an EXE that I could run (automaticallY) once a day, or it could be run by Sage after each EPG update. I'd send some gift certificates for In-n-Out or some such.
Attached Files
File Type: zip TVlistings1.zip (23.2 KB, 209 views)

Last edited by stevech; 06-22-2007 at 01:27 PM.
Reply With Quote
  #5  
Old 06-22-2007, 02:03 PM
sainswor99's Avatar
sainswor99 sainswor99 is offline
Sage Expert
 
Join Date: Sep 2006
Posts: 703
It's times like this that I wish SageTV supported skins instead of Studio development; it would be kind of cool to have an orange Sage

nice job stevech; can't you simply grab the XML file from neilm's web server? That seems like a relatively simple job to script (assuming you use the webserver, of course).

Stu
Reply With Quote
  #6  
Old 06-22-2007, 05:05 PM
stevech stevech is offline
Sage Icon
 
Join Date: Dec 2005
Posts: 1,643
I don't know what I don't know!
would the web server automatically regenerate an XML version of the EPG, say, daily?

Last edited by stevech; 06-22-2007 at 05:13 PM.
Reply With Quote
  #7  
Old 06-22-2007, 11:20 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
its a webserver -- it gives you whatever is in the Sage DB when you request it...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #8  
Old 06-23-2007, 10:10 PM
stevech stevech is offline
Sage Icon
 
Join Date: Dec 2005
Posts: 1,643
So, the web server can serve an XML version of the entire (current) EPG?
If so, great. I will go take a look at that.

Last edited by stevech; 06-23-2007 at 11:29 PM.
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
Program Guide Filtering of Junk Shows Pumpkinhead SageTV Studio 7 10-31-2009 05:42 PM
Remove "Junk" Series in Program Guide? Pumpkinhead SageTV Software 12 10-31-2009 04:28 PM
No search results at all! While program guide is there! Versio 6.0 with XMLTV Jouden SageTV Beta Test Software 1 10-11-2006 03:52 PM
How to disable the popup window in the program guide? How to keep the program guide? metropole SageTV Software 8 05-18-2006 06:25 PM
UK Freeview Frequencies - Help Needed Pork Chop SageTV United Kingdom 53 04-13-2006 04:05 AM


All times are GMT -6. The time now is 08:31 AM.


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