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)

CsquaredIN 09-11-2016 01:23 PM

SRE Error
 
sre.log is showing this warning when monitoring the Bengals/Jets game right now:
Code:

2016-09-11 15:18:00,009 INFO : 3660225/NFL Football: Fetching status with data: [NFL Football, Cincinnati Bengals at New York Jets, 1473613200000]
2016-09-11 15:18:00,039 WARN : 3660225/NFL Football: Error from web service; safety measures already applied.

http://localhost:8080/livepvrdata/events displays today's events properly. Is there an issue with the web service or is it an issue on my end? Thanks for your time.

emveepee 09-15-2016 08:23 AM

Quote:

Originally Posted by skiingwiz (Post 588534)
I just released a version of the Live PVR Data Server that runs insides the Sage Jetty instance. To try it out, install the Live PVR Data Server plugin within the SageTV Plugin manager and then configure SRE to use the server URL "http://localhost:8080/livepvrdata".

Are there any instructions on how to install and run this server without SageTV? Now that fall football is here people are asking for my utility for NextPVR to get updated.

Martin

Slugger 09-15-2016 02:26 PM

My original port of the service to open source produced a docker image that you could then run via docker. That's what I delivered. The git repo has since been modified to work as a sagetv plugin, but if you rewind the repo back to my last commit then you would have a vanilla state where you could build the docker container. Alternatively, you can build the war and deploy it to any container -- and this method should work fine even with the Sagetv mods since the service itself really shouldn't have any sagetv specific code in it (though I haven't been monitoring the changes too closely). I think you have my email, you can ping me via email if you need some assistance.

emveepee 09-15-2016 08:09 PM

Quote:

Originally Posted by Slugger (Post 592696)
My original port of the service to open source produced a docker image that you could then run via docker. That's what I delivered. The git repo has since been modified to work as a sagetv plugin, but if you rewind the repo back to my last commit then you would have a vanilla state where you could build the docker container. Alternatively, you can build the war and deploy it to any container -- and this method should work fine even with the Sagetv mods since the service itself really shouldn't have any sagetv specific code in it (though I haven't been monitoring the changes too closely). I think you have my email, you can ping me via email if you need some assistance.

Thanks I actually spent most of the day trying to configure Docker for Windows after reading you github notes but I had to give up because I only get it to work with telnet. I will poke away at it.

In the meantime I have created a livpvrdata.war file using the gradle batch file and it seems to be working.

Martin

Fuzzy 09-16-2016 05:15 AM

Docker for windows is a pain... if you want to play with docker, it would be easier to host it on a linux based system.

emveepee 09-16-2016 06:32 AM

Quote:

Originally Posted by Fuzzy (Post 592719)
Docker for windows is a pain... if you want to play with docker, it would be easier to host it on a linux based system.

Thanks yes it was, but I am not trying to host it, I am trying to make a standalone OSS livepvrata server available to the NextPVR windows users. So far the war file seems ok.

Martin

skiingwiz 09-16-2016 07:48 PM

Quote:

Originally Posted by CsquaredIN (Post 592527)
sre.log is showing this warning when monitoring the Bengals/Jets game right now:
Code:

2016-09-11 15:18:00,009 INFO : 3660225/NFL Football: Fetching status with data: [NFL Football, Cincinnati Bengals at New York Jets, 1473613200000]
2016-09-11 15:18:00,039 WARN : 3660225/NFL Football: Error from web service; safety measures already applied.

http://localhost:8080/livepvrdata/events displays today's events properly. Is there an issue with the web service or is it an issue on my end? Thanks for your time.

Sorry, I'm just getting to this now. I don't have similar messages in my log. Was your game monitored and extended successfully?

skiingwiz 09-16-2016 07:51 PM

Quote:

Originally Posted by Slugger (Post 592696)
My original port of the service to open source produced a docker image that you could then run via docker. That's what I delivered. The git repo has since been modified to work as a sagetv plugin, but if you rewind the repo back to my last commit then you would have a vanilla state where you could build the docker container. Alternatively, you can build the war and deploy it to any container -- and this method should work fine even with the Sagetv mods since the service itself really shouldn't have any sagetv specific code in it (though I haven't been monitoring the changes too closely). I think you have my email, you can ping me via email if you need some assistance.

I haven't intentionally done anything to break the docker build or make the war file sage specific. The only thing sage specific stuff is the packaging of the plugin.

skiingwiz 09-16-2016 07:52 PM

Quote:

Originally Posted by emveepee (Post 592721)
Thanks yes it was, but I am not trying to host it, I am trying to make a standalone OSS livepvrata server available to the NextPVR windows users. So far the war file seems ok.

Martin

If there is anything in particular that would make this easier for you, let me know.

emveepee 09-17-2016 09:02 AM

Quote:

Originally Posted by skiingwiz (Post 592779)
If there is anything in particular that would make this easier for you, let me know.

I am still trying to find out why jetty return 404 on a status query but other then that it looks good.

For improvements maybe we can find a way for racing to work better based on time not the subtitle. Can you tell me what parameters are being requested for the Singapore F1 race this weekend?

Martin

skiingwiz 09-17-2016 11:41 AM

Quote:

Originally Posted by emveepee (Post 592804)
I am still trying to find out why jetty return 404 on a status query but other then that it looks good.

For improvements maybe we can find a way for racing to work better based on time not the subtitle. Can you tell me what parameters are being requested for the Singapore F1 race this weekend?

Martin

It appears that while the monitor code is present, F1 monitoring isn't enabled in the open source version of the server. A quick test suggests the monitor works, so it would just have to be enabled. I don't have F1 in my guide data, so I'd have to know what the Title looks like to enable the monitor.

emveepee 09-17-2016 12:41 PM

Quote:

Originally Posted by skiingwiz (Post 592817)
It appears that while the monitor code is present, F1 monitoring isn't enabled in the open source version of the server. A quick test suggests the monitor works, so it would just have to be enabled. I don't have F1 in my guide data, so I'd have to know what the Title looks like to enable the monitor.

I use NextPVR with Schedules Direct data and it is

Formula One Racing
Singapore Grand Prix

tomorrow at 8am, i use Zap2it to find the shows when I can't get it I see is is on NBCSN in the States

The ESPN API uses different names.

Martin

emveepee 09-17-2016 01:50 PM

Also I am not sure if the sprint or xfinity NASCAR monitors are enabled. There is one on right now

NASCAR Racing
XFINITY Series: Drive for Safety 300

Last year I just remapped this SD name to the ESPN api name

NASCAR XFINITY SERIES AT CHICAGO

Martin

emveepee 09-17-2016 04:31 PM

One of my users noticed a problem with this game

{"title":"College Football","description":"Florida State at Louisville","status":"Sep 17 12:00 ET","isValid":true,"isActive":true,"isComplete":false,"isError":false}

Looking at espn it is ended

Code:


                          + "status": "post",
                          + "summary": "Final",
                          + "fullStatus": {
                              # "clock": "0:00",
                              # "period": 4,
                              # "type": {
                                  * "id": 3,
                                  * "description": "FINAL",
                                  * "detail": "Final",
                                  * "shortDetail": "Final",
                                  * "state": "post"
                                }
                            },

Martin

sic0048 09-17-2016 07:06 PM

None of the college games on my feeds are being updated. They show the start times, but no live data. Because of this, the three or four college games I recorded today never stopped recording. I had to manually stop all of them, sometimes hours after the games ended.

emveepee 09-17-2016 10:47 PM

There is something wrong when &groups are called in the latest change, removing that seems to fix it.

Since I learned enough to do that I enabled the F1 monitor and it is working. PM me with your email if you want to chat more offline.

Martin

skiingwiz 09-18-2016 11:40 AM

Quote:

Originally Posted by sic0048 (Post 592834)
None of the college games on my feeds are being updated. They show the start times, but no live data. Because of this, the three or four college games I recorded today never stopped recording. I had to manually stop all of them, sometimes hours after the games ended.

I noticed that on my recording as well. I am investigating.

Quote:

Originally Posted by emveepee (Post 592838)
There is something wrong when &groups are called in the latest change, removing that seems to fix it.

Since I learned enough to do that I enabled the F1 monitor and it is working. PM me with your email if you want to chat more offline.

Glad to hear F1 is working. Create a pull request and I'll merge your change into the code base.

skiingwiz 09-18-2016 12:30 PM

Ok, I've worked through the College Football problem. I was including group id's for individual conferences (e.g. ACC) as well as divisions (e.g. FBS) and for some reason, when I did that, the feed set all of the statuses as pre-game. I've updated the code to filter out everything but the parent divisions and that has fixed the issue. I'll package up this change as an updated sage plugin later today or perhaps tomorrow. If I get emveepee changes to include F1, I'll incorporate those too. If I don't, I may just put that in myself since he's confirmed it works.

emveepee 09-18-2016 12:35 PM

Quote:

Originally Posted by skiingwiz (Post 592852)
Glad to hear F1 is working. Create a pull request and I'll merge your change into the code base.

Once you get the fix groups commited, I will. I also have NASCAR and future dates working.

Martin

skiingwiz 09-18-2016 12:59 PM

Quote:

Originally Posted by emveepee (Post 592855)
Once you get the fix groups commited, I will. I also have NASCAR and future dates working.

Martin

It's committed. After I merge in your changes I'll package an update for SageTV users.


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

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