SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #121  
Old 06-14-2013, 10:38 AM
JerryB JerryB is offline
Sage Aficionado
 
Join Date: Aug 2008
Posts: 273
Slugger, I wanted to let you know that I received an email from Robert Kulagowski stating that he has now added the requested program language field to the Schedules Direct JSON service. For example:

{"stationID":"24248","programs":"programID":"SH011798490000","md5":"jXS7r3DV1p5dluw8Wk15gg","airDateTime":"2013-06-14T00:00:00Z","duration":3600,"cc":true,"stereo":true,"programLanguage":"Mandarin"}

I hope it won't be too difficult to update your plugin to process this information.
Reply With Quote
  #122  
Old 07-11-2013, 04:54 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
HI there,

just configuring this now and having issues running the "JSON".

Any is idea what I'm doing wrong? I changed the ID and password from my just for this post.

I'm running java7 update 7 if that matters.

Thanks


C:\Program Files (x86)\Sagetv\SageTV\plugins\sdepg\tools>c:\"program files (x86)
"\java\jre7\bin\java.exe -jar sdjson.jar -u userID -p password -c info

Exception in thread "main" org.schedulesdirect.api.exception.InvalidCredentialsE
xception: Wrong API version. Minimum API:20130512 Received:20130311.
at org.schedulesdirect.api.NetworkEpgClient.authorize(NetworkEpgClient.j
ava:186)
at org.schedulesdirect.api.NetworkEpgClient.<init>(NetworkEpgClient.java
:155)
at org.schedulesdirect.grabber.Grabber.run(Grabber.java:616)
at org.schedulesdirect.grabber.Grabber.main(Grabber.java:666)

C:\Program Files (x86)\Sagetv\SageTV\plugins\sdepg\tools>
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200

Last edited by rdefino; 07-11-2013 at 04:59 PM.
Reply With Quote
  #123  
Old 07-11-2013, 05:22 PM
rkulagow's Avatar
rkulagow rkulagow is offline
Sage Advanced User
 
Join Date: Feb 2013
Posts: 157
"Wrong API version. Minimum API:20130512 Received:20130311"

The server side has been upgraded and Slugger is about to release an update once he's completed his testing.
Reply With Quote
  #124  
Old 07-11-2013, 05:24 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
I that happening today?

I'm dead in the water for my tv line. No Recording.

thanks
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200
Reply With Quote
  #125  
Old 07-11-2013, 05:26 PM
rkulagow's Avatar
rkulagow rkulagow is offline
Sage Advanced User
 
Join Date: Feb 2013
Posts: 157
If you had been running with the old client, then you've still got 12 days of data.

If you're setting up for the first time ever, then yes, you'll be stuck (temporarily) until Slugger pushes the big "go" button and releases his updated grabber.
Reply With Quote
  #126  
Old 07-11-2013, 05:35 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
Nope, first time setting this up. So I followed the directions and I already removed my tuners.

So I have no guide data at all.

Why upgraded the server side and not have the client side out. Doesn't seem right.

Now I'm screwed!

Any way to downgrade the server side to get this working?

thanks
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200
Reply With Quote
  #127  
Old 07-11-2013, 06:26 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by rdefino View Post
Nope, first time setting this up. So I followed the directions and I already removed my tuners.

So I have no guide data at all.

Why upgraded the server side and not have the client side out. Doesn't seem right.

Now I'm screwed!

Any way to downgrade the server side to get this working?

thanks
The new client has been written and running in my test environment for 10 days or so. The Schedules Direct server was just upgraded yesterday. I like to run my client against the updated production servers instead of the Schedules Direct test servers for a day or two just to make sure there are no problems before I release... better for me to hit issues instead of everyone else.

With that said...

1) I'm only human... a human with a job and some social activities after said job.

2) I literally just walked in the door with designs on releasing the update, instead I'm writing this.

3) SD can't downgrade their production servers on a whim, we're not the only ones using it.

4) You're right, sort of, that the server shouldn't upgrade until clients are available. But... SD doesn't write the clients, they only provide the server side. It's up to the users of the service to provide clients -- and keep them updated. Believe it or not, I work very closely with the SD team to try and ensure I can release a client as close to a server upgrade as humanly possible. But, again, I'm only human, see #1.

Just got finished playing baseball so give me an hour to shower, eat and simmer down a little, then I'll release the update this evening before I go to bed.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #128  
Old 07-11-2013, 06:35 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
No problem. Don't kill yourself. I'mjust aaggravated over comcast changing their basic channels to encrypted. So now I have to go back to my ota antenna. Also my sage has been acting up today.

Thank you for all the hard work. What you did is awesome. That's why I like donating or paying for apps developers like you create.
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200
Reply With Quote
  #129  
Old 07-11-2013, 06:47 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
We're all a little aggravated then. I am because we made an error in the last inning that cost us the game tonight. You because of Comcast. But now I'm showered up and over the game so let's get the new plugin out the door. I just have to check my server's logs and make sure my EPG update today went fine, if so, it'll take me 10 mins to get the new plugin in the Sage repository.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #130  
Old 07-11-2013, 06:56 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
The update is now in the repository.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #131  
Old 07-11-2013, 07:20 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
thank you!!!!

I;m trying it now. But have a question.

I;m using a hd homerun with ota and an HdPVR with my cable box.

I ran the command to add the line up, but I only see the OTA line, not the "ma20419" line up I add for the cable box when setting up my video sources.

Did I miss sonething?





C:\Program Files (x86)\Sagetv\SageTV\plugins\sdepg\tools>c:\"program files (x86)
"\java\jre7\bin\java.exe -jar sdjson.jar -u userid -p password -c add -he ma2041
9

C:\Program Files (x86)\Sagetv\SageTV\plugins\sdepg\tools>c:\"program files (x86)
"\java\jre7\bin\java.exe -jar sdjson.jar -u userid -p password -c info
UserStatus [userId=userid, expires=Mon Sep 09 11:15:12 EDT 2013, lastServerRefr
esh=Thu Jul 11 10:26:30 EDT 2013, lastMetadataRefresh=Tue Jun 11 13:33:12 EDT 20
13, nextSuggestedConnectTime=Fri Jul 12 10:05:11 EDT 2013, userMessages=[], syst
emMessages=[], headendInfo=[MA20419=Sun May 12 16:02:53 EDT 2013, PC:01830=Wed J
un 19 11:14:08 EDT 2013], jsonEncoding={
"account": {
"expires": "2013-09-09T15:15:12Z",
"maxHeadends": 4,
"messages": [],
"nextSuggestedConnectTime": "2013-07-12T14:05:11Z"
},
"code": 200,
"headend": [
{
"ID": "MA20419",
"modified": "2013-05-12T20:02:53Z"
},
{
"ID": "PC:01830",
"modified": "2013-06-19T15:14:08Z"
}
],
"lastDataUpdate": "2013-07-11T14:26:30Z",
"lastMetaDataUpdate": "2013-06-11T17:33:12Z",
"notifications": [],
"response": "OK",
"serverID": "AWS-web.1",
"systemStatus": [{
"date": "2012-12-17T16:24:47Z",
"details": "All servers running normally.",
"status": "Online"
}],
"userId": "userid"
}, maxLineups=4]
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200
Reply With Quote
  #132  
Old 07-11-2013, 07:22 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
I did restart sage also
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200
Reply With Quote
  #133  
Old 07-11-2013, 07:24 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Are you running the licensed version of the plugin? The unlicensed version will only present one (random) lineup to SageTV, regardless of how many are configured in your SD account. If you've purchased a license, did you install it in the sagetv-addons server plugin? The sdepg.log file should tell you if it thinks it's licensed or not. If it thinks it's not, the salicense.log file should tell you why it's not licensed.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #134  
Old 07-11-2013, 07:26 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
I did purchase a license for m2cxml, is that not the same license?

If not, let me know where to get the license.

thanks!
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200
Reply With Quote
  #135  
Old 07-11-2013, 07:29 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
Here is the output of the sdepg log:

2013-07-11 21:04:59,580 INFO [AiringGenerator]: Processed airing generators in 4ms
2013-07-11 21:08:48,716 INFO [ProgramGenerator]: Processed show generators in 1ms
2013-07-11 21:08:48,726 INFO [EpgDownloader]: [C:\Program Files (x86)\Java\jre7\bin\java, -Xmx512m, -jar, C:\Program Files (x86)\SageTV\SageTV\plugins\sdepg\tools\sdjson.jar, -c, grab, -u, rdefino, -p, *****, -o, C:\Program Files (x86)\SageTV\SageTV\plugins\sdepg\sdjson.epg, -a, sagetv-sdepg/0.0.4.0 (Windows 7 x86 6.1), -t, 200, -b, https://data2.schedulesdirect.org, -pc, 50000, -sc, 1000, -l, INFO, -g, C:\Program Files (x86)\SageTV\SageTV\plugins\sdepg\ignore.txt, -x]
2013-07-11 21:08:50,599 ERROR [EpgDownloader]: sdjson download failed! [rc=1]
2013-07-11 21:08:50,600 ERROR [EpgDownloader]: stdout:
INFO - Current zip file contains latest data from Schedules Direct server; use -f to force a new download from server.
WARN - Metadata download failed!
org.apache.http.client.HttpResponseException: Not Found
at org.apache.http.client.fluent.ContentResponseHandler.handleResponse(ContentResponseHandler.java:47)
at org.apache.http.client.fluent.ContentResponseHandler.handleResponse(ContentResponseHandler.java:40)
at org.apache.http.client.fluent.Response.handleResponse(Response.java:79)
at org.apache.http.client.fluent.Response.returnContent(Response.java:86)
at org.schedulesdirect.api.NetworkEpgClient.fetchMetadata(NetworkEpgClient.java:719)
at org.schedulesdirect.grabber.Grabber.downloadMetadata(Grabber.java:504)
at org.schedulesdirect.grabber.Grabber.run(Grabber.java:632)
at org.schedulesdirect.grabber.Grabber.main(Grabber.java:674)
WARN - Performing a cache cleanup, this will take a few minutes!

2013-07-11 21:08:50,600 ERROR [EpgDownloader]: stderr:
Exception in thread "main" java.lang.NullPointerException
at org.schedulesdirect.grabber.Grabber.removeExpiredSchedules(Grabber.java:538)
at org.schedulesdirect.grabber.Grabber.run(Grabber.java:641)
at org.schedulesdirect.grabber.Grabber.main(Grabber.java:674)

2013-07-11 21:08:50,600 ERROR [EPGImportPluginSchedulesDirect]: Download of EPG data failed!
java.io.IOException: download failed! [rc=1]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:77)
at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:71)
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:81)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
at sagex.epg.schedulesdirect.io.EpgDownloader.download(EpgDownloader.groovy:83)
at sagex.epg.schedulesdirect.io.EpgDownloader$download.call(Unknown Source)
at sagex.epg.schedulesdirect.EPGImportPluginSchedulesDirect.doUpdate(EPGImportPluginSchedulesDirect.groovy:278)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:272)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:52)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:137)
at sagex.epg.schedulesdirect.EPGImportPluginSchedulesDirect.updateGuide(EPGImportPluginSchedulesDirect.groovy:164)
at sage.ae.y(Unknown Source)
at sage.a2.e(Unknown Source)
at sage.a9.dK(Unknown Source)
at sage.ae.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
2013-07-11 21:08:50,601 INFO [AiringGenerator]: Processed airing generators in 1ms
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200
Reply With Quote
  #136  
Old 07-11-2013, 07:48 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
Also, for the line up I added for my hdhome run, I checked the guide and it says no data for all the channels.

Does it take a while to update?

thanks
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200
Reply With Quote
  #137  
Old 07-11-2013, 07:55 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
It looks like the plugin is licensed. An mc2xml license will work if it was bought as a "lifetime" license, which seems to be the case here.

Gotta tackle this one problem at a time. You need to make sure Sage is seeing all of your lineups first. When that's solved, then tackle the no data issues. The null pointer exception is a bit of a concern, I'll have to check that out later. Does the sdjson.epg file exist and is it rather large (like many MBs)? If so, then it has data in it.

A possible cause of No Data is described here along with the fix. If you configured one tuner and disabled a bunch of channels in the first tuner and then those channels are actually available in your second tuner then you've hit a known issue; the fix is described in the FAQ. But like I said, tackle things one at a time.

EDIT: The copies of lineups causing No Data can also happen with multiple lineups that share common channels where you disabled channels on the first tuner then configured the second tuner and enabled channels that were disabled on the first. The fix is the same as described in the FAQ answer.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...

Last edited by Slugger; 07-11-2013 at 08:00 PM.
Reply With Quote
  #138  
Old 07-11-2013, 07:59 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
the sdjson.epg is 9mb.
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200
Reply With Quote
  #139  
Old 07-11-2013, 08:02 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
That's reasonable, but to be safe, delete it and force an EPG update in Sage. Were you able to configure both tuners and assign each their appropriate lineup. That's got to be top priority before worrying about the EPG data details.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #140  
Old 07-11-2013, 08:08 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
I may see one line up to choose . The ota.
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200
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
Plugin: Schedules Direct EPG Source for SageTV OSS Slugger SageTV v9 Customizations 89 10-11-2016 07:31 AM
Schedules Direct Plugin Issue rickgillyon SageTV v9 Customizations 20 09-25-2016 12:03 PM
Schedules Direct plugin not compatible Damstas SageTV Github Development 20 09-21-2015 05:10 AM
Schedules Direct EPG Plugin: Call for private beta testers Slugger SageTV v7 Customizations 11 01-19-2013 11:59 AM
Schedules Direct EPG Plugin PoC Completed Slugger SageTV EPG Service 71 12-04-2011 12:12 PM


All times are GMT -6. The time now is 06:59 PM.


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