SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations

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
  #461  
Old 08-27-2011, 02:50 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
NCAA football broken

NCAA football monitoring is broken. The underlying problem is a limitation of the Google App Engine, which is what livepvrdata runs on.

Unfortunately, the livepvrdata project is all but dead. The former owners of the project have shut it down. Fortunately, I was able to inherit most of the source code (some was not released to me) and the domain name. However, this particular break requires changes to the code that I can't make because I don't have the code.

So... I'm rewriting the service, open source, and unfortunately this NCAA football break is forcing my hand a little.

The good news is I have something working, but I'm not quite convinced it's ready for prime time. I think the Sage community is about to become the official alpha testers of my work because without something this NCAA issue is likely to creep into the rest of the ESPN monitors.

The next SRE update will be a subset of current features. Namely, the global override editor will not work. Instead, if you find the need for global override edits post them here and I'll make the changes manually myself until I can attack that area of the app (no ETA). Overrides you create will still work, but they won't be written to the online datastore and would need to be recreated as needed.

I'll post more details after I upload the next release to the repository.

NOTE: All other monitors (MLB, CFL, NFL, etc.) continue to work.
__________________
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
  #462  
Old 08-27-2011, 07:53 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
v3.0.0.1581 available!

Build 1581 has been added to the repository. It is an initial version of SRE compatible with my first release of the new livepvrdata web service.

There are some minor issues, but all monitoring is working, including NCAA football.

Known Issues
  • The global override editor ignores all attempts to edit the online overrides datastore; SRE will report success, but the edits are ignored on the server and no emails will be sent out; your overrides are saved locally and will be honoured by SRE on a per recording basis
  • The events.jsp link in SRE is no good, it points to the old version; for now, use this URL instead: http://4.livepvrdata.appspot.com/events.jsp

Highlights
  • Fixes NCAA football monitoring
  • Removes need for Google Account authentication
  • Code cleanup/prep for future enhancements (i.e. SRE 3.1, no ETA)

This is a bit of a rush release, but I tried my best to test the monitoring capabilities and all my tests were successful. Please report ANY/ALL issues you find immediately.
__________________
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
  #463  
Old 08-28-2011, 01:53 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
1584 now available

1584 is in the repository. It adds the fixes required to reenable the global override editor.

Notes:

After upgrading, you need to enter an email address in your SRE settings (either from web or from plugin settings in STV). This email address is used when submitting global overrides. The livepvrdata service now sends confirmation links to an email address before committing edits to the datastore. If you don't enter a valid email then you won't receive the confirmation link and your global overrides will never become visible in the online datastore.

EDIT: You can't set the email address via the plugin settings in the STV, due to a bug that will be fixed in the next build. For now, you have to set the email address from the web UI.
__________________
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
  #464  
Old 08-29-2011, 10:27 PM
voorhees voorhees is offline
Sage Aficionado
 
Join Date: Sep 2007
Location: Colorado
Posts: 339
ORGINAL POST

Slugger,

I have updated to 1584, but I now notice that my scheduled recording of the Utah St. at Auburn game for NCAA football is marked as "Monitor status is invalid." I have never seen this status before. At http://4.livepvrdata.appspot.com/events.jsp I see the game listed under "College Football: 20110830" as "Utah St vs. Auburn" even though the game is on 20110903. Is their something I need to update or change (or reinstall) to get NCAA football working?

Thanks.

----------------

EDIT

Well, I may have answered my own question. After hitting submit on the previous post and looking at SageTV again I noticed that at http://4.livepvrdata.appspot.com/events.jsp the subtitle of the event is "Utah St vs. Auburn" which was actually different than the subtitle of the event in SageTV which was "Utah State at Auburn." I created an override changing State to St and I now get as my status "Recording will be monitored." It had been a very long time since I had to create an override for a game, so that did not jump to mind at first. So, it looks like I am good to go.

Thanks.
__________________
Server: OS: MS WHS v1; MB: GIGABYTE GA-EP45-UD3R; CPU: Intel Q9400 2.66GHz; RAM: G.SKILL 4GB (4x1GB); HDs: 1x80GB, 7x1.5TB; Graphics: EVGA GeForce 9500 GT 512MB
Capture/Content: HD-PVR, 2xHDHRP (CC), Comcast
STBs (Controllers): RNG110 (Firewire ChCh)
Clients: 2xHD300, 2xHD200, 2xPS, Client
SageTV/Plugins: v7.1.9, SageDCT, SRE, Comm Det, Jetty, Web Server, Mob Web, PlayOn, E/D Fav, Fav Ex, MF Stop, Enc Names

Last edited by voorhees; 08-29-2011 at 10:38 PM. Reason: Resolved issue
Reply With Quote
  #465  
Old 08-30-2011, 10:40 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Yeah, you've got it. You're going to find that a lot of NCAA events will need overrides and will also need additions to the global override list. Hopefully users start to contribute to that list as the NCAA seasons progress. Once a global override is added, all SRE users immediately gain access to it so it's a one time only thing then it doesn't have to be added again (unless the EPG or feed names change).
__________________
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
  #466  
Old 08-30-2011, 02:47 PM
ptzink ptzink is offline
Sage Aficionado
 
Join Date: Mar 2008
Posts: 299
Slugger, thanks for the ongoing support of this plugin! I am the envy of my friends this time of year. I just wanted to let you know that I am running build 1584 and my "Today's Events" button takes me to http://www.livepvrdata.com/events.jsp where I get the error message:
Quote:
Error: Server Error
The server encountered an error and could not complete your request.

If the problem persists, please report your problem and mention this error message and the query that caused it.
Any idea what's going on here? Also, how far into the future is data available? Does it only have this week's games? I noticed some of next week's games have a "monitor status unknown". Thanks again.
__________________
Server: SageTV Media Center 7.1.19, Windows 7 Home Premium x64, Pentium Core2Duo, 4GB RAM, (1) Hauppauge HVR-2250, (1) Hauppauge HVR-1600, 1.5 TB of recording space
Android MiniClient: Nvidia Shield TV (16GB) HDMI out to Samsung LN46C630 46" LCD
Extender: STP-HD300, beta firmware "20110506-0", HDMI out to LG 37LD450 37" LCD
Reply With Quote
  #467  
Old 08-30-2011, 02:54 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by ptzink View Post
Slugger, thanks for the ongoing support of this plugin! I am the envy of my friends this time of year. I just wanted to let you know that I am running build 1584 and my "Today's Events" button takes me to http://www.livepvrdata.com/events.jsp where I get the error message:

Any idea what's going on here? Also, how far into the future is data available? Does it only have this week's games? I noticed some of next week's games have a "monitor status unknown". Thanks again.
The link to today's events in the web UI points to the old version, which is broken due to the NCAA football monitor being broken in that version of the web service. For the time being, go to http://4.livepvrdata.appspot.com/events.jsp

I'll be making v4 of the web service the default version of the app within the next week or two. When I do that, www.livepvrdata.com/events.jsp will again work.

How far into the future you can go depends on the source being used for game content. For the pro sports, you should be able to go to the end of the regular season, once the schedule becomes available. So for MLB, NFL, CFL (i.e. anything in season or very close to starting), you should be able to look ahead as far as you like. For the others, you probably need to wait until the season is close to starting. NCAA football should be complete now, but you'll have to experiment with the date=yyyymmdd at the end of the above URL to find out just how far you can go.

New events in your recording schedule will show up as "unknown" status for up to 30 mins after they are added to the recording schedule. SRE only updates monitor status info twice an hour so new recordings may take up to 30 mins before their status is validated.
__________________
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
  #468  
Old 08-30-2011, 03:12 PM
ptzink ptzink is offline
Sage Aficionado
 
Join Date: Mar 2008
Posts: 299
Slugger thanks! Awesome!
I had just scheduled a manual recording of the NFL opener for next Thursday, but didn't wait long enough for SRE to update the status. The event is monitored now and all is well. Thanks. Go Colts!
__________________
Server: SageTV Media Center 7.1.19, Windows 7 Home Premium x64, Pentium Core2Duo, 4GB RAM, (1) Hauppauge HVR-2250, (1) Hauppauge HVR-1600, 1.5 TB of recording space
Android MiniClient: Nvidia Shield TV (16GB) HDMI out to Samsung LN46C630 46" LCD
Extender: STP-HD300, beta firmware "20110506-0", HDMI out to LG 37LD450 37" LCD
Reply With Quote
  #469  
Old 09-03-2011, 08:09 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
If you're on 1588, move to 1590 ASAP...

There is a nasty NPE bug in 1588 that, when hit, will cause the database to lock and become inaccessible.

You hit the bug by creating an invalid override for a scheduled recording.

Build 1590 fixes the bug and is the recommended version for all users. Builds older than 1588 do not have this bug, but you should still move to 1590 because builds older than 1588 will stop working when I upgrade the default version of the livepvrdata app later this week.
__________________
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
  #470  
Old 09-04-2011, 03:17 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
livepvrdata service upgraded; SRE 3.0.0.1590 required

I've upgraded the web service to the latest available - my first build of the service since inheriting the project - and this update means that SRE 3.0.0.1590 is now required to properly monitor events. I was going to wait for a week or so, but another bug was discovered on the web service side, which was already fixed in my build and I'd also like to get a few extra days of wider testing in before the NFL starts next weekend so it seemed like the best time to make the switch is now. For those running a build older than 1590, simply upgrade from the SageTV plugin 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
  #471  
Old 09-04-2011, 05:00 PM
cat6man's Avatar
cat6man cat6man is offline
Sage Fanatic
 
Join Date: Jan 2006
Location: West of NYC, East of SF
Posts: 860
hi slugger,
just curious.....does sre work for the us open tennis finals?
__________________
Q: dad, when will you stop changing all the electronics?
A: never, so you might as well get used to it.
Reply With Quote
  #472  
Old 09-04-2011, 05:03 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by cat6man View Post
hi slugger,
just curious.....does sre work for the us open tennis finals?
Nope. Usually I say find me a source and I'll write the monitor, but honestly there's no way I'd have time to write and test such a monitor before the tournament ends.
__________________
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
  #473  
Old 09-04-2011, 10:45 PM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
What's tennis?

Edit: Now both my grandfathers just told me to go and cut my own switch.

Edit 2: Ouch, turns out they weren't talking about 1000BT Ethernet...

Edit 3: Um, hello? Tennis? What's going on besides football right now?

Edit 4: Ouch, please rename this plugin FHBRE--football, hockey, basketball recording extender...forget all that other cra...uh, stuff!
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #474  
Old 09-04-2011, 10:50 PM
darcilicious's Avatar
darcilicious darcilicious is offline
Sage Icon
 
Join Date: Jul 2009
Location: Venus
Posts: 1,306
Quote:
Originally Posted by Slugger View Post
I've upgraded the web service to the latest available - my first build of the service since inheriting the project - and this update means that SRE 3.0.0.1590 is now required to properly monitor events.
Well that explains all the "interesting" system messages for my regular recordings today I suppose
__________________
SageTV Server 7.1.x w/Gemstone and Plex Home Theater v1.0.10 w/PlexPass
HD-PVR w/v1.5.6 drivers / Hauppauge IR blaster / FiOS Extreme HD / Motorola QIP6200 / SPDIF+720p Fixed Output
on HP Media Center 8400F (Phenom 9500 QuadCore 2.2GHz, nVidia GeForce 8500 GT)
via Olevia 247TFHD/Onyko TX-SR606/Harmony 550/HP MediaSmart EX490 WHS w/12TB
Plex Media Server v0.9.9.5 on HP Touchsmart Envy 23 d16qd
Sonos Play:3, Connect / SimpleTV v2 / Roku 2 XS+Plex / iPhone 5 / iPad 2
Reply With Quote
  #475  
Old 09-05-2011, 08:06 AM
cat6man's Avatar
cat6man cat6man is offline
Sage Fanatic
 
Join Date: Jan 2006
Location: West of NYC, East of SF
Posts: 860
Quote:
Originally Posted by Slugger View Post
Nope. Usually I say find me a source and I'll write the monitor, but honestly there's no way I'd have time to write and test such a monitor before the tournament ends.
no problem.........just an idle question
__________________
Q: dad, when will you stop changing all the electronics?
A: never, so you might as well get used to it.
Reply With Quote
  #476  
Old 09-05-2011, 08:08 AM
cat6man's Avatar
cat6man cat6man is offline
Sage Fanatic
 
Join Date: Jan 2006
Location: West of NYC, East of SF
Posts: 860
Quote:
Originally Posted by KarylFStein View Post
What's tennis?

Edit: Now both my grandfathers just told me to go and cut my own switch.

Edit 2: Ouch, turns out they weren't talking about 1000BT Ethernet...

Edit 3: Um, hello? Tennis? What's going on besides football right now?

Edit 4: Ouch, please rename this plugin FHBRE--football, hockey, basketball recording extender...forget all that other cra...uh, stuff!
football? isn't that the game where people run around kicking a round ball and the announcers scream 'goooooooooaaaaaaaalllllllll' once or twice a match?

hello..................it's baseball season dude
__________________
Q: dad, when will you stop changing all the electronics?
A: never, so you might as well get used to it.

Last edited by cat6man; 09-05-2011 at 08:10 AM.
Reply With Quote
  #477  
Old 09-07-2011, 06:45 AM
cyberlewis cyberlewis is offline
Sage User
 
Join Date: May 2010
Location: Greenwood, IN USA
Posts: 38
Hi Slugger,

Yesterday I installed the versions of SRE and SRE UI that are currently in the plugin repository on a clean system and immediately get the nag screen telling me to enter my Google account info into the web page. I believe that in a previous post you stated that this is no longer needed. When I go to the sre page in jetty and select 'Options', there is no longer a means to enter this information, nor in the 'Configure Plugin' section for SRE within SageTV itself. I have rebooted the SageTV server machine, restarted the SageTV service, as well as restarted Jetty to no avail, the nag pops right back up. The plugin seems to be working fine as I am getting successful monitoring, but something is clearly wrong. What do you think? Is this in SRE itself or the UI plugin? I appreciate your thoughts.

Thanks,
Brian
Reply With Quote
  #478  
Old 09-07-2011, 04:58 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by cyberlewis View Post
Hi Slugger,

Yesterday I installed the versions of SRE and SRE UI that are currently in the plugin repository on a clean system and immediately get the nag screen telling me to enter my Google account info into the web page. I believe that in a previous post you stated that this is no longer needed. When I go to the sre page in jetty and select 'Options', there is no longer a means to enter this information, nor in the 'Configure Plugin' section for SRE within SageTV itself. I have rebooted the SageTV server machine, restarted the SageTV service, as well as restarted Jetty to no avail, the nag pops right back up. The plugin seems to be working fine as I am getting successful monitoring, but something is clearly wrong. What do you think? Is this in SRE itself or the UI plugin? I appreciate your thoughts.

Thanks,
Brian
A UI update is required, however, I think I'll just feed dummy values into the props to trick the UI into thinking they're already set - Google Auth isn't required anymore. Just getting back into a short work week so may not be until the weekend. As you've seen, the plugin works for monitoring, but the UI won't let you do much if it thinks that Google Auth isn't configured. If I can find a free hour before the weekend I'll try to get a new build done up.

If you want to clean this up manually before the next build, do the following:
  • Stop SageTV server/service
  • Edit Sage.properties
  • Look for a line that starts with sre/oauthSecret= and make sure there's some text after the = if there's not add some (anything will do). If no such line exists, create one.
  • Same with a line starting with sre/oauthTok=
  • Restart Sage; SRE UI should be happy now.
__________________
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
  #479  
Old 09-08-2011, 06:34 AM
cyberlewis cyberlewis is offline
Sage User
 
Join Date: May 2010
Location: Greenwood, IN USA
Posts: 38
Thanks Slugger, I appreciate the response. More than likely I will just wait for the next build of SRE (understanding that the issue is actually in the UI). However, with the NFL season kicking off, I may get antsy and go ahead and modify the keys in the Sage.properties file.

Thanks so much!
Brian
Reply With Quote
  #480  
Old 09-10-2011, 08:05 AM
bond00 bond00 is offline
Sage User
 
Join Date: Nov 2007
Posts: 36
I don't know what I'm doing wrong but this is killing me. I installed the plugin and went to http://127.0.0.1:8080/sre/. I see the Options at the bottom just like the annoying popup tells me. I click it and see a few options, including Global Override Email. I enter my gmail account there, but am still getting this annoying popup which obviously means its not working.

Is there another Options menu? I noticed people talking about a server on port 8500, but nothing is running on that port for me. What's going on?!
Reply With Quote
Reply


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

Advanced Search
Display Modes

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: Sage Recording Extender (SRE) Slugger SageTV Customizations 428 06-19-2010 11:03 AM
Sage Recording Extender (SRE) new release notifications Slugger Customization Announcements 8 03-28-2010 07:56 AM
How to edit plugin settings when using a HD extender? blade SageTV Customizations 1 12-08-2008 10:21 PM
IMDB Plugin for Extender tonysathre SageTV Customizations 6 08-20-2008 09:15 PM
Online Radio plugin for Extender koelec SageTV Customizations 23 02-28-2008 12:27 PM


All times are GMT -6. The time now is 02:57 AM.


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