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
  #441  
Old 04-05-2017, 05:24 PM
cat6man's Avatar
cat6man cat6man is offline
Sage Fanatic
 
Join Date: Jan 2006
Location: West of NYC, East of SF
Posts: 910
opening day has passed, so this is a little late, but its time for my yearly 'thank god for SRE' post.

the best evah plugin!

lost innings due to rain delays and extra innings are a thing of the past

__________________
Q: dad, when will you stop changing all the electronics?
A: never, so you might as well get used to it.
Reply With Quote
  #442  
Old 04-26-2017, 08:12 PM
MacDaddy MacDaddy is offline
Sage Aficionado
 
Join Date: Nov 2004
Location: Houston
Posts: 255
Is the SRE monitor (the yellow triangle) supposed to be on non-monitored upcoming recordings? I'm just getting in to this and used it for tonight's Astros game. This is going to be very useful going forward.

I thought it would just hit the sports events that were in the PVR server. For some reason it's set to monitor the evening news in my upcoming recordings view.
__________________
Frankentivo: iStar D-380HB, SuperMicro X107-F-O, Xeon 1270v3 CPU, Kingston 8 GB 1600MHz DDRR3L x 4
Tuners: 4 x HDHR OTA, 4 x HDHR3 OTA, 3 x HDHR Prime
UnRAID Pro: 1 x Samsung 500GB Cache, 5 x WD Red 4TB (1 Parity, 4 Data)
Extenders: 2 x HD-200, 1 x HD-300 on Atlona PRO3HD66m
Sage: V9.0.14.567 with OpenDCT on unRaid docker, Gemstone, BMT, Web UI, PlayOn, TiSage
Reply With Quote
  #443  
Old 04-28-2017, 08:03 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
Quote:
Originally Posted by MacDaddy View Post
Is the SRE monitor (the yellow triangle) supposed to be on non-monitored upcoming recordings? I'm just getting in to this and used it for tonight's Astros game. This is going to be very useful going forward.

I thought it would just hit the sports events that were in the PVR server. For some reason it's set to monitor the evening news in my upcoming recordings view.
No, I don't think that's normal. It doesn't happen that way for me. If you look a the details for the non-sports airings that have the triangle, what does the Show ID start with?

I thought i remembered that if it started with SH (which is the generic one, rather that SP for sports or EP for TV Episode) it might get the triangle.
Reply With Quote
  #444  
Old 05-23-2017, 08:04 PM
MacDaddy MacDaddy is offline
Sage Aficionado
 
Join Date: Nov 2004
Location: Houston
Posts: 255
After a little unexpected redirection, I'm back trying to troubleshoot my SRE installation.

I'm running Sage9 using the unRaid docker approach. I've loaded the SRE (V4.0.2) plugin along with the SRE UI (V4.00.20160118010) plugin.

In the configuration options of the SRE plugin I have: Email address set, Logging=info, monitoring=true, monitor live only=false,default pad=0,max extension=8, post pad=0, end early=true, remove manual flag=true, generate sys msgs=true,server URL=http://tower:8080/livepvrdata/events

I can browse http://tower:8080/livepvrdata/events and see the various games for the night and their progress status.

I can't browse the sre context. If i browse //tower:8080 I get
Code:
Error 404 - Not Found.

No context on this server matched or handled this request.
Contexts known to this server are:
/ ---> org.mortbay.jetty.handler.ContextHandler@5be091bf{/,file:/opt/sagetv/server/jetty/static}
/stream ---> org.mortbay.jetty.webapp.WebAppContext@1814336b{/stream,/opt/sagetv/server/jetty/webapps/MediaStreaming.war}
/livepvrdata ---> org.mortbay.jetty.webapp.WebAppContext@78ee6c38{/livepvrdata,/opt/sagetv/server/jetty/webapps/livepvrdata.war}
/sage ---> org.mortbay.jetty.webapp.WebAppContext@4c93ae59{/sage,/opt/sagetv/server/jetty/webapps/nielm_sagewebserver.war}
/apps ---> org.mortbay.jetty.webapp.WebAppContext@57034e65{/apps,/opt/sagetv/server/jetty/webapps/apps.war}
/bmt ---> org.mortbay.jetty.webapp.WebAppContext@5565d656{/bmt,/opt/sagetv/server/jetty/webapps/bmt.war}
/sagex ---> org.mortbay.jetty.servlet.Context@67358bbc{/sagex,null}
/sagem ---> org.mortbay.jetty.webapp.WebAppContext@56b2cf1b{/sagem,/opt/sagetv/server/jetty/webapps/SageWebApp.war}
No SRE seen, but I may not understand what I'm looking for here.

Here are a few lines from the last of the log:
Code:
2017-05-23 20:58:00,006 WARN : 16558580/Deadliest Catch: Error from web service; safety measures already applied.
2017-05-23 20:58:00,006 INFO : 16512549/MLB Baseball: Fetching status with data: [MLB Baseball, Detroit Tigers at Houston Astros, 1495584000000]
2017-05-23 20:58:00,007 ERROR: 16512549/MLB Baseball: IOError
org.apache.http.client.HttpResponseException: Not Found
	at org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:69)
	at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:65)
	at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:51)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:222)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:164)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:139)
	at com.google.code.livepvrdata4j.Client.getStatus(Client.java:98)
	at com.google.code.livepvrdata4j.Client$getStatus.call(Unknown Source)
	at com.google.code.sagetvaddons.sre.engine.MonitorTask.run(MonitorTask.groovy:110)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
2017-05-23 20:58:00,007 WARN : 16512549/MLB Baseball: Error from web service; safety measures already applied.
2017-05-23 21:00:00,001 INFO : 16512549/MLB Baseball: Fetching status with data: [MLB Baseball, Detroit Tigers at Houston Astros, 1495584000000]
2017-05-23 21:00:00,004 ERROR: 16512549/MLB Baseball: IOError
org.apache.http.client.HttpResponseException: Not Found
	at org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:69)
	at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:65)
	at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:51)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:222)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:164)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:139)
	at com.google.code.livepvrdata4j.Client.getStatus(Client.java:98)
	at com.google.code.livepvrdata4j.Client$getStatus.call(Unknown Source)
	at com.google.code.sagetvaddons.sre.engine.MonitorTask.run(MonitorTask.groovy:110)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
2017-05-23 21:00:00,004 WARN : 16512549/MLB Baseball: Error from web service; safety measures already applied.
2017-05-23 21:00:00,005 INFO : 16543040/Leah Remini: Scientology and the Aftermath: Fetching status with data: [Leah Remini: Scientology and the Aftermath, Merchants of Fear Sneak Peek, 1495590960000]
2017-05-23 21:00:00,007 ERROR: 16543040/Leah Remini: Scientology and the Aftermath: IOError
org.apache.http.client.HttpResponseException: Not Found
	at org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:69)
	at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:65)
	at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:51)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:222)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:164)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:139)
	at com.google.code.livepvrdata4j.Client.getStatus(Client.java:98)
	at com.google.code.livepvrdata4j.Client$getStatus.call(Unknown Source)
	at com.google.code.sagetvaddons.sre.engine.MonitorTask.run(MonitorTask.groovy:110)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
2017-05-23 21:00:00,007 WARN : 16543040/Leah Remini: Scientology and the Aftermath: Error from web service; safety measures already applied.
2017-05-23 21:00:00,008 INFO : 16558580/Deadliest Catch: Fetching status with data: [Deadliest Catch, Poisoned at Sea, 1495587600000]
2017-05-23 21:00:00,016 ERROR: 16558580/Deadliest Catch: IOError
org.apache.http.client.HttpResponseException: Not Found
	at org.apache.http.impl.client.AbstractResponseHandler.handleResponse(AbstractResponseHandler.java:69)
	at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:65)
	at org.apache.http.impl.client.BasicResponseHandler.handleResponse(BasicResponseHandler.java:51)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:222)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:164)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:139)
	at com.google.code.livepvrdata4j.Client.getStatus(Client.java:98)
	at com.google.code.livepvrdata4j.Client$getStatus.call(Unknown Source)
	at com.google.code.sagetvaddons.sre.engine.MonitorTask.run(MonitorTask.groovy:110)
	at java.util.TimerThread.mainLoop(Timer.java:555)
	at java.util.TimerThread.run(Timer.java:505)
2017-05-23 21:00:00,016 WARN : 16558580/Deadliest Catch: Error from web service; safety measures already applied.
2017-05-23 21:00:01,857 INFO : 16562952/The Americans: Monitor disabled because ignore back to back is enabled and the next airing is scheduled to record.
2017-05-23 21:00:04,590 INFO : 16512283/Frontline: Monitor disabled because ignore back to back is enabled and the next airing is scheduled to record.
i'm hoping to monitor the Astros. I can post the entire log if needed.

I'm thinking that the issue resides with the sre context missing in the web server? I much appreciate any clues as to what to try next.
__________________
Frankentivo: iStar D-380HB, SuperMicro X107-F-O, Xeon 1270v3 CPU, Kingston 8 GB 1600MHz DDRR3L x 4
Tuners: 4 x HDHR OTA, 4 x HDHR3 OTA, 3 x HDHR Prime
UnRAID Pro: 1 x Samsung 500GB Cache, 5 x WD Red 4TB (1 Parity, 4 Data)
Extenders: 2 x HD-200, 1 x HD-300 on Atlona PRO3HD66m
Sage: V9.0.14.567 with OpenDCT on unRaid docker, Gemstone, BMT, Web UI, PlayOn, TiSage
Reply With Quote
  #445  
Old 05-26-2017, 05:39 PM
MacDaddy MacDaddy is offline
Sage Aficionado
 
Join Date: Nov 2004
Location: Houston
Posts: 255
Quote:
Originally Posted by MacDaddy View Post
I'm thinking that the issue resides with the sre context missing in the web server? I much appreciate any clues as to what to try next.
A mind is a terrible thing and it helps to slog though all the posts before asking for help:-)

It turns out I entered "http://localhost:8080/livepvrdata/events" rather than "http://localhost:8080/livepvrdata" server URL. Amazing how much better things work when you enter the correct values. Happy to see the green dot now.
__________________
Frankentivo: iStar D-380HB, SuperMicro X107-F-O, Xeon 1270v3 CPU, Kingston 8 GB 1600MHz DDRR3L x 4
Tuners: 4 x HDHR OTA, 4 x HDHR3 OTA, 3 x HDHR Prime
UnRAID Pro: 1 x Samsung 500GB Cache, 5 x WD Red 4TB (1 Parity, 4 Data)
Extenders: 2 x HD-200, 1 x HD-300 on Atlona PRO3HD66m
Sage: V9.0.14.567 with OpenDCT on unRaid docker, Gemstone, BMT, Web UI, PlayOn, TiSage
Reply With Quote
  #446  
Old 06-06-2017, 01:11 PM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
NCAA Softball?

My daughter is now into watching college girls softball... Is there an easy way
to setup SRE to monitor those games? The live PVR server only seems to have college football/basketball

Jim
Reply With Quote
  #447  
Old 06-06-2017, 01:23 PM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
I don't think so - Slugger was they guy who created SRE and some of the back end infrastructure. He left Sage a while ago so there isn't anyone really supporting this.

If the games tend to run over then just try to set lots of end time padding in the Favorite setup.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #448  
Old 06-06-2017, 01:27 PM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
Yeah.. slugger was an awesome guy! It was tough to see him leave the sage community! I imagine the livedata server would have to be updated.. Probably beyond my simple coding abilities!! :-)
Reply With Quote
  #449  
Old 06-19-2017, 09:20 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
Quote:
Originally Posted by jbuszkie View Post
My daughter is now into watching college girls softball... Is there an easy way
to setup SRE to monitor those games? The live PVR server only seems to have college football/basketball
As is the case with most of these sports, adding support isn't too difficult if there is a source that supports live monitoring. Since an existing source looks to support this, I can add preliminary support for college softball, but with the season over, I have no way to test it.

If you can tell me how the airings are titled in the EPG, I can put the initial support in and then tweak it if needed when there are actually games to monitor again.

Edited: Actually I just added support for it and was able to test using a previous date, since the season didn't end that long ago. So all I need to support this is to know the title of the airings in the EPG.

Last edited by skiingwiz; 06-19-2017 at 09:33 PM.
Reply With Quote
  #450  
Old 06-20-2017, 07:21 AM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
Quote:
Originally Posted by skiingwiz View Post

Edited: Actually I just added support for it and was able to test using a previous date, since the season didn't end that long ago. So all I need to support this is to know the title of the airings in the EPG.
Very cool! Thanks! Here is a screen shot.. Is this what you needed?



Jim
Attached Images
File Type: png sage_softball.PNG (137.4 KB, 152 views)

Last edited by jbuszkie; 06-20-2017 at 07:36 AM.
Reply With Quote
  #451  
Old 06-20-2017, 07:24 AM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
hmm.. how do I get the picture to show on the forum? I figured I'd just get a link from my google drive but it doesn't show unless you click on it.
I also added the pic as an attachment.. but it would have been nice to imbed it...

Jim
Reply With Quote
  #452  
Old 06-20-2017, 07:29 AM
wayner wayner is offline
SageTVaholic
 
Join Date: Jan 2008
Location: Toronto, ON
Posts: 7,491
Are these softball games shown live or on tape delay? SRE would only work on recordings of live events - the one that you linked to must have been on tape delay given the time - but perhaps that is just because it is a replay.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA
Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA
Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server
Reply With Quote
  #453  
Old 06-20-2017, 07:32 AM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
Quote:
Originally Posted by wayner View Post
Are these softball games shown live or on tape delay? SRE would only work on recordings of live events - the one that you linked to must have been on tape delay given the time - but perhaps that is just because it is a replay.
That one might have been a replay.. But they were live during the championship..

Jim
Reply With Quote
  #454  
Old 06-20-2017, 09:02 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
Quote:
Originally Posted by jbuszkie View Post
Very cool! Thanks! Here is a screen shot.. Is this what you needed?
Yes, that's what I needed, thank you. This is going to be included in the next day or two. I'm moving the Live PVR Data Server plugin over to the Sagev9 plugin repository, because I've had problems with the v7 repository lately. That means this update will be Sage v9 only.

I'm calling College Softball support experimental for now, only because there are no live games to test against. I don't expect any problems once games start again.
Reply With Quote
  #455  
Old 06-21-2017, 08:37 AM
jbuszkie's Avatar
jbuszkie jbuszkie is offline
Sage Fanatic
 
Join Date: Aug 2003
Location: Westminster, MA
Posts: 938
Quote:
Originally Posted by skiingwiz View Post
Yes, that's what I needed, thank you. This is going to be included in the next day or two. I'm moving the Live PVR Data Server plugin over to the Sagev9 plugin repository, because I've had problems with the v7 repository lately. That means this update will be Sage v9 only.

I'm calling College Softball support experimental for now, only because there are no live games to test against. I don't expect any problems once games start again.
Thanks again!! by the time the season rolls around again I'll be on V9..

Jim
Reply With Quote
  #456  
Old 06-21-2017, 08:04 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
The new version is available now.
Reply With Quote
  #457  
Old 07-02-2017, 04:08 PM
cat6man's Avatar
cat6man cat6man is offline
Sage Fanatic
 
Join Date: Jan 2006
Location: West of NYC, East of SF
Posts: 910
anyone else having problems with SRE?
it has worked perfectly for years, but recently baseball games have ended with the default 60 minute extension that I set in parameters for the case where the SRE lookup procedure is not available.

anything i should check?
__________________
Q: dad, when will you stop changing all the electronics?
A: never, so you might as well get used to it.
Reply With Quote
  #458  
Old 07-02-2017, 07:21 PM
skiingwiz skiingwiz is offline
Sage Aficionado
 
Join Date: Jan 2005
Posts: 366
Quote:
Originally Posted by cat6man View Post
anyone else having problems with SRE?
it has worked perfectly for years, but recently baseball games have ended with the default 60 minute extension that I set in parameters for the case where the SRE lookup procedure is not available.

anything i should check?
It's worked for MLB for me, up to and including today. The first thing to check is going to a browser and loading http://localhost:8080/livepvrdata/events (adjust based on your server settings. Basically append /livepvrdata/events to the end of however you access your server via the web.) That should show you a list of today's events.

If that looks normal, check your sre.log file for errors (usually in plugins/sre4/ within your sagetv installation directory). PM me the log if you want me to have a look.
Reply With Quote
  #459  
Old 07-03-2017, 06:10 PM
cat6man's Avatar
cat6man cat6man is offline
Sage Fanatic
 
Join Date: Jan 2006
Location: West of NYC, East of SF
Posts: 910
Quote:
Originally Posted by skiingwiz View Post
It's worked for MLB for me, up to and including today. The first thing to check is going to a browser and loading http://localhost:8080/livepvrdata/events (adjust based on your server settings. Basically append /livepvrdata/events to the end of however you access your server via the web.) That should show you a list of today's events.

If that looks normal, check your sre.log file for errors (usually in plugins/sre4/ within your sagetv installation directory). PM me the log if you want me to have a look.
1. list of today's events looks fine
2. tonights game is recording and SRE indicator is OK
3. all future games (e.g. tomorrow's) show red ! [whereas previously future games showed green]

i'll look at sre log file next to see what happened yesterday, but the red ! thing is definitely new behavior
__________________
Q: dad, when will you stop changing all the electronics?
A: never, so you might as well get used to it.
Reply With Quote
  #460  
Old 07-04-2017, 01:15 PM
cat6man's Avatar
cat6man cat6man is offline
Sage Fanatic
 
Join Date: Jan 2006
Location: West of NYC, East of SF
Posts: 910
definitely having problems communicating.

log for SRE attached.

thank you for the help!
Attached Files
File Type: txt sre-failure-07-03.log.txt (31.7 KB, 167 views)
__________________
Q: dad, when will you stop changing all the electronics?
A: never, so you might as well get used to it.
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: Sage Recording Extender (SREv3) Slugger SageTV v7 Customizations 504 12-18-2011 08:01 PM
Sage Recording Extender (SRE) UI tmiranda Customization Announcements 0 09-09-2010 04:26 PM
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
IMDB Plugin for Extender tonysathre SageTV Customizations 6 08-20-2008 09:15 PM


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


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