NextPVR Forums

Full Version: knew4v5 2.6.3 Testing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I started doing testing against my production server running NPVR 4.2.4.190307. And it's not automatically skipping the commercials. Looking at the kodi.log, the substitution to get the media via file share rather than http is now failing (presumably because of the new encoding):
Code:
2019-04-07 09:37:07.421 T:1414513520   DEBUG: http://192.168.143.10:8866/activity?format=json&updates=1&client=sdl-KNEW50xb827ebd2d752&sid=1edeacbb917b444594f42c58d06f5e1c
2019-04-07 09:37:07.430 T:1414513520   DEBUG: {u'needsRendering': False}
2019-04-07 09:37:07.583 T:1860170608   DEBUG: LIRC: - NEW cf 0 KEY_PLAY devinput (KEY_PLAY)
2019-04-07 09:37:07.589 T:1937149968   DEBUG: HandleKey: homepage (0xea) pressed, action is PlayPause
2019-04-07 09:37:07.590 T:1422906224   DEBUG: False
2019-04-07 09:37:07.593 T:1422906224   DEBUG: http://192.168.143.10:8866/control?time=1554647827&key=131152&client=sdl-KNEW50xb827ebd2d752&sid=1edeacbb917b444594f42c58d06f5e1c
2019-04-07 09:37:07.997 T:1422906224   DEBUG: http://192.168.143.10:8866/activity?format=json&client=sdl-KNEW50xb827ebd2d752&sid=1edeacbb917b444594f42c58d06f5e1c
2019-04-07 09:37:08.016 T:1422906224   DEBUG: {u'recording_title': u'Fresh Off the Boat', u'recording_description': u"Jessica starts her college classes, leaving Evan in charge at home; Eddie and Louis run into conflict when Eddie just wants his dad to treat him as an employee, and not a son, at Cattleman's Ranch.", u'url': u'/stream?client=sdl-KNEW50xb827ebd2d752&f=E%3A%5CNPVR%20Recordings2%5CFresh%20Off%20the%20Boat%5CFresh%20Off%20the%20Boat.S05E19.Vice%20Mommy.ts', u'screen': u'Recordings', u'recording_name': u'Fresh Off the Boat', u'file': u'E:\\NPVR Recordings2\\Fresh Off the Boat\\Fresh Off the Boat.S05E19.Vice Mommy.ts', u'recording_id': u'285222', u'recording_subtitle': u'Vice Mommy', u'recording_duration': u'2152'}
2019-04-07 09:37:08.060 T:1422906224   DEBUG: True
2019-04-07 09:37:08.063 T:1112601456   DEBUG: #XBMCPlayer#
2019-04-07 09:37:08.063 T:1112601456   DEBUG: started player
2019-04-07 09:37:08.091 T:1112601456   DEBUG: E%3A%5CNPVR%20Recordings2%5CFresh%20Off%20the%20Boat%5CFresh%20Off%20the%20Boat.S05E19.Vice%20Mommy.ts
2019-04-07 09:37:08.091 T:1112601456   DEBUG: not found
2019-04-07 09:37:08.094 T:1112601456   DEBUG: /live?recording=285222&client=sdl-KNEW50xb827ebd2d752&sid=1edeacbb917b444594f42c58d06f5e1c
2019-04-07 09:37:08.099 T:1112601456   DEBUG: Playing http://192.168.143.10:8866/live?recording=285222&client=sdl-KNEW50xb827ebd2d752&sid=1edeacbb917b444594f42c58d06f5e1c
2019-04-07 09:37:08.100 T:1112601456   DEBUG: player started
2019-04-07 09:37:08.100 T:1112601456   DEBUG: entering loop
2019-04-07 09:37:08.113 T:1937149968    INFO: easy_acquire - Created session to http://192.168.143.10
2019-04-07 09:37:08.120 T:1937149968   DEBUG: CCurlFile::GetMimeType - http://192.168.143.10:8866/live?recording=285222&client=sdl-KNEW50xb827ebd2d752&sid=1edeacbb917b444594f42c58d06f5e1c -> video/MP2T
2019-04-07 09:37:08.136 T:1937149968   DEBUG: CPlayerCoreFactory::GetPlayers(http://192.168.143.10:8866/live?recording=285222&client=sdl-KNEW50xb827ebd2d752&sid=1edeacbb917b444594f42c58d06f5e1c)
2019-04-07 09:37:08.136 T:1937149968   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
2019-04-07 09:37:08.136 T:1937149968   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules

I'm going to try playing around with various substitutions to see if I can get it match and use the share.
BrettB Wrote:I'm going to try playing around with various substitutions to see if I can get it match and use the share.

I tried a few variations of entries in path substitution, but no luck getting any to work. I'm attaching a full kodi.log file.
The URL encoded name looks like it might be trouble.

E%3A%5CNPVR%20Recordings2%5CThe%20Cool%20Kids%5CThe%20Cool%20Kids.S01E17.Margaret%20Ups%20Her%20Game.ts

I probably have to figure out how to get from UTF-8 to Unicode for python3


Martin
I think In have this fixed but in testing I cannot get the resume to work. I went back to x-newa and I see the same thing. Scratch that it is my EDL a 0 second commercial is overriding the resume point, way to waste an hour. I will do a bit more testing and get the fix out.

Martin
mvallevand Wrote:Scratch that it is my EDL a 0 second commercial is overriding the resume point, way to waste an hour.

D'oh! I hate it when that happens!!!
Yes I use zero padding so normally this isn't a problem but of course my server slipped enough seconds for this to happen. Comskip is amazing though.

2.6.4 is online now hopefully that caught it.

Martin
mvallevand Wrote:Yes I use zero padding so normally this isn't a problem but of course my server slipped enough seconds for this to happen. Comskip is amazing though.

2.6.4 is online now hopefully that caught it.

So is 2.6.4 supposed to match the old path substitution rules? I'm still seeing:
Code:
2019-04-07 15:44:05.143 T:1860170608   DEBUG: LIRC: - NEW cf 0 KEY_PLAY devinput (KEY_PLAY)
2019-04-07 15:44:05.174 T:1937408016   DEBUG: HandleKey: homepage (0xea) pressed, action is PlayPause
2019-04-07 15:44:05.175 T:1287250800   DEBUG: False
2019-04-07 15:44:05.177 T:1287250800   DEBUG: http://192.168.143.10:8866/control?time=1554669845&key=131152&client=sdl-KNEW50xb827ebd2d752&sid=c66cc66c51354ac88d450ebb0cf4063b
2019-04-07 15:44:05.562 T:1287250800   DEBUG: 404
2019-04-07 15:44:05.562 T:1287250800   DEBUG: HTTP Error 404: Not Found
2019-04-07 15:44:05.562 T:1287250800   DEBUG: http://192.168.143.10:8866/activity?format=json&client=sdl-KNEW50xb827ebd2d752&sid=c66cc66c51354ac88d450ebb0cf4063b
2019-04-07 15:44:05.580 T:1287250800   DEBUG: {u'recording_title': u'The Goldbergs', u'recording_description': u"Adam is thrilled when he has to design his own video game for school; Beverly is worried about Pops' gambling and ropes Bill Lewis into her latest scheme.", u'url': u'/stream?client=sdl-KNEW50xb827ebd2d752&f=E%3A%5CNPVR%20Recordings2%5CThe%20Goldbergs%5CThe%20Goldbergs%20%282013%29.S06E19.Eight-bit%20Goldbergs.ts', u'screen': u'Recordings', u'recording_name': u'The Goldbergs', u'file': u'E:\\NPVR Recordings2\\The Goldbergs\\The Goldbergs (2013).S06E19.Eight-bit Goldbergs.ts', u'recording_id': u'284974', u'recording_subtitle': u'Eight-bit Goldbergs', u'recording_duration': u'2152'}
2019-04-07 15:44:05.677 T:1287250800   DEBUG: True
2019-04-07 15:44:05.678 T:1557369712   DEBUG: #XBMCPlayer#
2019-04-07 15:44:05.679 T:1557369712   DEBUG: started player
2019-04-07 15:44:05.712 T:1557369712   DEBUG: E%3A%5CNPVR%20Recordings2%5CThe%20Goldbergs%5CThe%20Goldbergs%20%282013%29.S06E19.Eight-bit%20Goldbergs.ts
2019-04-07 15:44:05.713 T:1557369712   DEBUG: not found
2019-04-07 15:44:05.714 T:1557369712   DEBUG: /live?recording=284974&client=sdl-KNEW50xb827ebd2d752&sid=c66cc66c51354ac88d450ebb0cf4063b
2019-04-07 15:44:05.754 T:1557369712   DEBUG: Playing http://192.168.143.10:8866/live?recording=284974&client=sdl-KNEW50xb827ebd2d752&sid=c66cc66c51354ac88d450ebb0cf4063b
2019-04-07 15:44:05.755 T:1557369712   DEBUG: player started

And it's not auto skipping.
Could you remove the comment from line 740 of emulate.py

self.nextUrl = unquote(self.nextUrl)

to see if that fixes it (exit and restart knew4v5)

Martin
mvallevand Wrote:Could you remove the comment from line 740 of emulate.py

self.nextUrl = unquote(self.nextUrl)

to see if that fixes it

That did it! Yea!

Also, it seems to take a bit longer for knew4v5 to load. (Like 5 seconds before the "working" "spinning circle things" are displayed and then another 2 or seconds.) I don't know if you can do something to get the "working" indicator to come on sooner, but if you can that would be helpful to know that it did get the launch command and is working.
Thanks for testing that, I probably won't be putting a release just for that until I hear back from sub on setting the resume position in v5.

Your last of logs don't show any kind of real delay 1.5 seconds to get the first http call when I drop the spinner followed by the long standing NextPVR loading issue (probably a pipe error in web.log) for a few seconds of black screen. In v18 the made a change and a plugin can't keep the spinner on during other

In the current implementation for v5 there is another network timeout so that delay will be much longer. I kept it that way to make it easier to go between v4 and v5. I will be tweaking that in the days ahead when the python3 code is stable with v4.

Martin
Pages: 1 2