SageTV Community

SageTV Community (http://forums.sagetv.com/forums/index.php)
-   SageTV v7 Customizations (http://forums.sagetv.com/forums/forumdisplay.php?f=47)
-   -   Plugin: Sage Recording Extender 4 (SREv4) (http://forums.sagetv.com/forums/showthread.php?t=57364)

cat6man 04-05-2017 05:24 PM

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

:goodjob:

MacDaddy 04-26-2017 08:12 PM

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.

skiingwiz 04-28-2017 08:03 PM

Quote:

Originally Posted by MacDaddy (Post 604258)
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.

MacDaddy 05-23-2017 08:04 PM

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.

MacDaddy 05-26-2017 05:39 PM

Quote:

Originally Posted by MacDaddy (Post 605012)
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.

jbuszkie 06-06-2017 01:11 PM

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

wayner 06-06-2017 01:23 PM

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.

jbuszkie 06-06-2017 01:27 PM

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!! :-)

skiingwiz 06-19-2017 09:20 PM

Quote:

Originally Posted by jbuszkie (Post 605771)
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.

jbuszkie 06-20-2017 07:21 AM

1 Attachment(s)
Quote:

Originally Posted by skiingwiz (Post 606602)

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?


https://drive.google.com/uc?export=d...zFXcjNiS1dzcFE
Jim

jbuszkie 06-20-2017 07:24 AM

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

wayner 06-20-2017 07:29 AM

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.

jbuszkie 06-20-2017 07:32 AM

Quote:

Originally Posted by wayner (Post 606618)
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

skiingwiz 06-20-2017 09:02 PM

Quote:

Originally Posted by jbuszkie (Post 606616)
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.

jbuszkie 06-21-2017 08:37 AM

Quote:

Originally Posted by skiingwiz (Post 606685)
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

skiingwiz 06-21-2017 08:04 PM

The new version is available now.

cat6man 07-02-2017 04:08 PM

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?

skiingwiz 07-02-2017 07:21 PM

Quote:

Originally Posted by cat6man (Post 607353)
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.

cat6man 07-03-2017 06:10 PM

Quote:

Originally Posted by skiingwiz (Post 607365)
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

cat6man 07-04-2017 01:15 PM

1 Attachment(s)
definitely having problems communicating.

log for SRE attached.

thank you for the help!


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

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