SageTV Community  

Go Back   SageTV Community > SageTV International User Forums > SageTV Canada
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Canada SageTV and SageTV Recorder Users from Canada - This forum is for you to post about specific issues using SageTV software in Canada.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-05-2004, 11:59 AM
Lester Jacobs Lester Jacobs is offline
Sage Aficionado
 
Join Date: Mar 2003
Location: Mississauga, Canada
Posts: 498
Finally! Fully integrated free Canadian Listings

Calling all Canadians!

Zap2It has recently made available their Zap2It Data Direct service which supplies high quality guide data for the North American market. This guide data provides better content and is more reliable than the XMLTV feed that we (outside the USA) are currently limited to using.

I have built a fully integrated EPG plugin for SageTV using this Data Direct service. Since it is a fully integrated plugin it behaves just like the builtin Sage Guide service for the US market. There are no batch files to configure or any epgdata.xml files to download and move around. Once installed the plugin will keep your guide listings up to date with no intervention on your part.

Look for release of the plugin this weekend. Currently I'm putting the code through its final testing phase.

Stay tuned!

Cheers
Lester

UPDATE: The plugin is now ready. You can download it and get instructions on use at DigiCasa
Please post any issues or questions in this thread.

Latest version: Version 1.20, May 9, 2004

Support Forum In order to provide better support I've setup a forum at DigiCasa . Please visit there to log support requests.

Thanks
Lester
__________________
Lester Jacobs
Web: http://www.digicasa.com
"The shortest answer is doing."
English Proverb. Collected in: George Herbert, Jacula Prudentum (1651).

Last edited by Lester Jacobs; 10-18-2004 at 09:58 AM.
Reply With Quote
  #2  
Old 03-05-2004, 12:19 PM
Grungy Remnant Grungy Remnant is offline
Sage User
 
Join Date: Sep 2003
Posts: 27
Sweet! Looking forward to trying that puppy out.
Reply With Quote
  #3  
Old 03-05-2004, 02:01 PM
olyar15 olyar15 is offline
Sage Advanced User
 
Join Date: Apr 2003
Location: Bowser, BC, Canada
Posts: 240
Wow, great news. Although I have been happy using the XMLTV, an integrated solution is certainly better. Thanks for writing this plugin.
__________________
Charles Lee
Reply With Quote
  #4  
Old 03-06-2004, 10:36 PM
Lester Jacobs Lester Jacobs is offline
Sage Aficionado
 
Join Date: Mar 2003
Location: Mississauga, Canada
Posts: 498
The plugin is now ready! Check the first post for details.

Cheers
Lester
__________________
Lester Jacobs
Web: http://www.digicasa.com
"The shortest answer is doing."
English Proverb. Collected in: George Herbert, Jacula Prudentum (1651).
Reply With Quote
  #5  
Old 03-06-2004, 11:16 PM
olyar15 olyar15 is offline
Sage Advanced User
 
Join Date: Apr 2003
Location: Bowser, BC, Canada
Posts: 240
Got it working, and so far looks good. One thing I noticed is that the current hour has no data. I installed the plugin just past 9PM, so that hour has no data, but everything after that is fine. Just a warning to others that you should try to install this just before the hour is up, to minimize the lack of data. Other than that, it certainly looks promising. A big thanks to Lester for creating this plugin.
__________________
Charles Lee
Reply With Quote
  #6  
Old 03-06-2004, 11:31 PM
mikbro's Avatar
mikbro mikbro is offline
Sage Aficionado
 
Join Date: Sep 2003
Location: Rochester, NY
Posts: 302
Quote:
Originally posted by Lester Jacobs
The plugin is now ready! Check the first post for details.

Cheers
Lester
This is super Lester!

I am running into a problem though - here is my log entries from Sage 2.0.13 ...

Sun 3/7 0:27:12.464 Parsing downloaded listings...
Sun 3/7 0:27:12.620 org.xml.sax.SAXParseException: The value of attribute "channel" must not contain the '<' character.
org.xml.sax.SAXException: Stopping after fatal error: The value of attribute "channel" must not contain the '<' character.
Sun 3/7 0:27:12.626 at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1245)
Sun 3/7 0:27:12.640 at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java:598)
Sun 3/7 0:27:12.641 at org.apache.xerces.framework.XMLDocumentScanner.scanAttValue(XMLDocumentScanner.java:528)
Sun 3/7 0:27:12.641 at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1769)
Sun 3/7 0:27:12.642 at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1182)
Sun 3/7 0:27:12.642 at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
Sun 3/7 0:27:12.643 at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
Sun 3/7 0:27:12.644 at zap2it.Zap2ItImportPlugin.updateGuide(Zap2ItImportPlugin.java:96)
Sun 3/7 0:27:12.644 at sage.l.b(Unknown Source)
Sun 3/7 0:27:12.645 at sage.o.char(Unknown Source)
Sun 3/7 0:27:12.645 at sage.m.aF(Unknown Source)
Sun 3/7 0:27:12.649 at sage.l.run(Unknown Source)
Sun 3/7 0:27:12.649 at java.lang.Thread.run(Unknown Source)
Sun 3/7 0:27:12.650 ERROR Updating EPG Source Zap2It Data Direct Lineup
Sun 3/7 0:27:12.651 ErrorText:expand called on Zap2It Data Direct Lineup at Sun 3/7 0:27:14.707 expandedUntil=Wed 12/31 19:00:00.000 confirmedUntil=Wed 12/31 19:00:00.000
EPG Expanding Zap2It Data Direct Lineup at Sun 3/7 0:27:14.709


Looks like there is something in the data that is invalid... could you possibly make the source available so I can look into the problem?

Thanks!
Reply With Quote
  #7  
Old 03-07-2004, 05:54 AM
jmiddleton jmiddleton is offline
Sage Advanced User
 
Join Date: Mar 2004
Posts: 99
Quick and easy install - the biggest problem I has was forgetting to fill in a survey question on the Zap2It site! As Olyar15 pointed out there is no data for programs currently playing. Hopefully this is an artifact of the initial install and won't affect updates. Otherwise this looks like a supurb tool that should attract a lot of Canadians to SageTV. Great work and thanks for making it available to the community.
Reply With Quote
  #8  
Old 03-07-2004, 09:32 AM
Lester Jacobs Lester Jacobs is offline
Sage Aficionado
 
Join Date: Mar 2003
Location: Mississauga, Canada
Posts: 498
Quote:
Originally posted by olyar15
Got it working, and so far looks good. One thing I noticed is that the current hour has no data. I installed the plugin just past 9PM, so that hour has no data, but everything after that is fine. Just a warning to others that you should try to install this just before the hour is up, to minimize the lack of data. Other than that, it certainly looks promising. A big thanks to Lester for creating this plugin.
Good catch! I've updated the plugin so that it now grabs data starting one second after midnight instead of the current time. This should eliminate the problem.

Please download the plugin again and see if the problem persists.

Be careful to save your zap2itconfig.xml file though as unzipping the plugin will overwrite this file and you'll have to re-enter your username and password.

Cheers
Lester
__________________
Lester Jacobs
Web: http://www.digicasa.com
"The shortest answer is doing."
English Proverb. Collected in: George Herbert, Jacula Prudentum (1651).
Reply With Quote
  #9  
Old 03-07-2004, 09:36 AM
Lester Jacobs Lester Jacobs is offline
Sage Aficionado
 
Join Date: Mar 2003
Location: Mississauga, Canada
Posts: 498
Quote:
Originally posted by mikbro
This is super Lester!

I am running into a problem though - here is my log entries from Sage 2.0.13 ...

Sun 3/7 0:27:12.464 Parsing downloaded listings...
Sun 3/7 0:27:12.620 org.xml.sax.SAXParseException: The value of attribute "channel" must not contain the '<' character...
Hi Mike,

Can you check the file zap2itdata.xml which should be in your SageTV directory. This contains all of the downloaded data from Zap2It Data Direct. Look for entries in this file resembling the following:

<map station='20783' channel='26'/>
<map station='15024' channel='27'/>
<map station='11953' channel='28'/>

From your error message, it looks like there's somethig wrong with the channel attributes. Can you check all of your channel attributes to see if any of them are non-numerical or have any strange characters?

Cheers
Lester
__________________
Lester Jacobs
Web: http://www.digicasa.com
"The shortest answer is doing."
English Proverb. Collected in: George Herbert, Jacula Prudentum (1651).
Reply With Quote
  #10  
Old 03-07-2004, 09:38 AM
mikbro's Avatar
mikbro mikbro is offline
Sage Aficionado
 
Join Date: Sep 2003
Location: Rochester, NY
Posts: 302
I took a look at the zap2it error log, and it showed a "unexpected error" when attempting to get a lineup (I have 2 lineups in my profile currently).

So it does not look like a problem with the plugin, just tribune.

Thanks!
Reply With Quote
  #11  
Old 03-07-2004, 12:49 PM
pawn's Avatar
pawn pawn is offline
Sage Expert
 
Join Date: May 2003
Posts: 516
Hi Lester:

I'm really excited about this, and thank you for your efforts...

...but, there doesn't seem to be a lot of functionality for multiple tuner / source setups.

I have two tuners with a cable source and one with a satellite source. I have setup both sources with zap2it with no problems. But there's no way to discriminate which data source to use in the Setup Wizard.

This didn't look like a problem at first, since Sage 2.0.13 lets you select unqiue channel lineups for each tuner: but that doesn't seem to work. I'm not sure if it's a Sage bug or a problem with the plugin, but when I select/deselect a channel for one tuner, it does it for all tuners.

(or maybe I'm out to lunch...but I don't think so)

Thanks again.

KJ
Reply With Quote
  #12  
Old 03-07-2004, 06:27 PM
Lester Jacobs Lester Jacobs is offline
Sage Aficionado
 
Join Date: Mar 2003
Location: Mississauga, Canada
Posts: 498
Quote:
Originally posted by pawn
Hi Lester:

I'm really excited about this, and thank you for your efforts...

...but, there doesn't seem to be a lot of functionality for multiple tuner / source setups...
Ok, I took a lok at how Zap2It handles lineups. Since I only use one lineup, I'd never tested the multi-lineup situation. However, I've now setup 2 lineups for myself. Seems they dump the information for all lineups into one file, there's no way to tell them just to download the info for one lineup. Therefore I have to do a little bit of re-architecting of the plugin to handle the multi-lineup situation.

I'll work on this and post the updated plugin. It'll be done sometime this week (my "real" job demands a chunk of my time as well).

Cheers
Lester
__________________
Lester Jacobs
Web: http://www.digicasa.com
"The shortest answer is doing."
English Proverb. Collected in: George Herbert, Jacula Prudentum (1651).
Reply With Quote
  #13  
Old 03-07-2004, 06:36 PM
pawn's Avatar
pawn pawn is offline
Sage Expert
 
Join Date: May 2003
Posts: 516
Quote:
Originally posted by Lester Jacobs
Ok, I took a lok at how Zap2It handles lineups. Since I only use one lineup, I'd never tested the multi-lineup situation. However, I've now setup 2 lineups for myself. Seems they dump the information for all lineups into one file, there's no way to tell them just to download the info for one lineup. Therefore I have to do a little bit of re-architecting of the plugin to handle the multi-lineup situation.

I'll work on this and post the updated plugin. It'll be done sometime this week (my "real" job demands a chunk of my time as well).

Cheers
Lester
Let me know if I can help in any way. No rush.

I wish I knew a little more about how Sage handles plugins. It seems to me your existing design is workable as is, but that the tuner specific channel setup in Sage 2.0.XX isn't working as expected. I.e., if I could just isolate channels above 200 to the sat tuner only, I'd be fine.

But for whatever reason, even though Sage lets you pick channels specifically for each tuner, changing one lineup changes them all. The question is, is that a flaw in Sage or a flaw in your plugin?

Thanks again, this is great. I noticed a big difference in the data during my brief trial.
Reply With Quote
  #14  
Old 03-08-2004, 10:12 AM
davey_fl davey_fl is offline
Sage Aficionado
 
Join Date: Dec 2003
Posts: 418
Hi Lester,

Just wanted to let you know that the plug-in is fantastic! Very easy to install and the update speed it awesome. My xmltv was working fine but sometimes would take 4 hours to complete. I loaded 11 days of EPG data in just under 40 seconds, AMAZING! Thanks very much for sharing with us!

Davey
Reply With Quote
  #15  
Old 03-13-2004, 07:58 PM
Lester Jacobs Lester Jacobs is offline
Sage Aficionado
 
Join Date: Mar 2003
Location: Mississauga, Canada
Posts: 498
Hi All,

Multiple lineup support is now included in the plugin. The plugin will now allow you access to all of the lineups that you have configured at the Zap2It Data Direct website. Please download and install the plugin as indicated in the first post in this thread.

Please let me know how this works out for you. Although I have tested it, I do not use multiple lineups in my setup and therefore I'd like some feedback from those who do have multiple lineups.

Regards
Lester
__________________
Lester Jacobs
Web: http://www.digicasa.com
"The shortest answer is doing."
English Proverb. Collected in: George Herbert, Jacula Prudentum (1651).
Reply With Quote
  #16  
Old 03-13-2004, 11:52 PM
pawn's Avatar
pawn pawn is offline
Sage Expert
 
Join Date: May 2003
Posts: 516
Hey L:

Again, nice work. The multiple source engine works now. A few things though:

- When entering the ZIP code for the first source entered, Sage freezes for almost a minute (no warning or heads up that something's happening). It gives that feeling that Sage has crashed altogether.

- The first few channels tuned to after setting up my three sources all tuned a sat channel (not what I was trying to tune to). After playing a bit, everything worked well, ...except:

- Most importantly: all shows in the guide are shown as First Run. Obviously this is a big problem, although, maybe not a problem with your plugin. But in all honesty, if there's no first run / rerun data in this new zap2it data, I personally would go back to XMLTV, where at least I can parse the data and add this info to the shows I watch. I find this info critical to how stable Sage is.
Reply With Quote
  #17  
Old 03-14-2004, 08:36 AM
Lester Jacobs Lester Jacobs is offline
Sage Aficionado
 
Join Date: Mar 2003
Location: Mississauga, Canada
Posts: 498
Quote:
Originally posted by pawn
Hey L:

- When entering the ZIP code for the first source entered, Sage freezes for almost a minute (no warning or heads up that something's happening). It gives that feeling that Sage has crashed altogether.


Yes, this is an unfortunate side effect of how Zap2It provides listings. The plugin has to download all of the data, not just the lineup information, in order to show lineups. I did highlight the possible long pause on the instruction page though.

- Most importantly: all shows in the guide are shown as First Run. Obviously this is a big problem, although, maybe not a problem with your plugin. But in all honesty, if there's no first run / rerun data in this new zap2it data, I personally would go back to XMLTV, where at least I can parse the data and add this info to the shows I watch. I find this info critical to how stable Sage is.
The First Run problem is in the data and therefore the plugin can't do anything about it at this stage. However, there are two points that might help here

1) If a show is being aired at multiple times on multiple channels, the new plugin assigns a single internal id to this show. Therefore SageTV "knows" it is the same show even if it appears as a First Run in all airings. Therefore SageTV should not try to record the same show twice, etc. The old xmltv plugin assigns a unique id to each airing of the show, resulting in Sage thinking that each airing of the same show actually represents a new show. This might cause it to record the same show multiple times.

2) I am looking at providing a mechanism for users to specify first run/rerun status as well the ability to change other aspects of show information. This would allow users to specify known first runs and reruns for shows that they are interested in.

Cheers
Lester
__________________
Lester Jacobs
Web: http://www.digicasa.com
"The shortest answer is doing."
English Proverb. Collected in: George Herbert, Jacula Prudentum (1651).
Reply With Quote
  #18  
Old 03-14-2004, 10:13 AM
pawn's Avatar
pawn pawn is offline
Sage Expert
 
Join Date: May 2003
Posts: 516
The First Run problem is in the data and therefore the plugin can't do anything about it at this stage.


(sigh) I was hoping you were going to say I was doing something wrong.

In all honesty, without this, the data isn't much better than the scraped data. I could care less about listing actors, etc. I care about avoiding confilcts, because, in my opinion, that's when Sage (at least in the 1.X.XX versions) starts acting flaky.
Reply With Quote
  #19  
Old 03-14-2004, 04:19 PM
pawn's Avatar
pawn pawn is offline
Sage Expert
 
Join Date: May 2003
Posts: 516
If a show is being aired at multiple times on multiple channels, the new plugin assigns a single internal id to this show.


I'm glad you mentioned this, because I now understand what is happeneing when I select a show not on the sat channel range, and it tunes to a sat channel: when the same episode is on one of my cable tuners as well as the sat tuner, if I tune to that show on a channel that is only in the cable channle range, the plugin will sometimes tune to the sat listing instead.

Not sure if that's clear.
Reply With Quote
  #20  
Old 03-15-2004, 03:35 PM
pawn's Avatar
pawn pawn is offline
Sage Expert
 
Join Date: May 2003
Posts: 516
More feedback:

Came home today and had no guide data using your new plugin (had been running continuously for about 5 days).
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


All times are GMT -6. The time now is 12:56 PM.


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