NextPVR Forums

Full Version: knewc 2.9.0 Release Dual Mode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7
I have attached an updated version of knewc for feedback

1. It should work with both Matrix and Leia.   The goal is to have the release version automatically update Kodi from one repo,

2. Enabled PVR mode for recording playback which falls back to standard mode if the the NextPVR Kodi addon is disabled.

Advantages of PVR mode
- comkip works without a network share
- live tv timeshift works including pause if enabled in Kodi (NextPVR v5 strongly recommended)
- in-progress recordings should work 

Disadvantages
- Kodi PVR can take minutes to initialize on startup and after sleep
- cannot hide PVR notifications.

If you are happy with knewc playback now stay with Native mode and consider enabling the PVR addon only when necessary.

3. Changed UI client  to handle sockets timeouts when NextPVR leaves connections open

4. Start UI client in same NextPVR screen when you exit via the control key (simulate v4 behaviour)

5. Better timeout handling

6. Misc fixes

Martin
I am using NextPVR V4 ... I have attempted to play an in-progress recording ... The playback stopped and took me back to the pseudo-NextPVR menu when it got to the time in the playback at which the playback had started.

It's very likely that I have done the wrong thing at some point ... I find Kodi difficult to work with ... The attached should include the Kodi debug log.

It might be my imagination ... but knewc seemed much more responsive than the previous version.
(2020-09-22, 05:08 PM)Graham Wrote: [ -> ]I am using NextPVR V4 ... I have attempted to play an in-progress recording ... The playback stopped and took me back to the pseudo-NextPVR menu when it got to the time in the playback at which the playback had started.

Did you change the knewc playback setting from native mode to PVR?

Martin
(2020-09-22, 05:57 PM)mvallevand Wrote: [ -> ]
(2020-09-22, 05:08 PM)Graham Wrote: [ -> ]I am using NextPVR V4 ... I have attempted to play an in-progress recording ... The playback stopped and took me back to the pseudo-NextPVR menu when it got to the time in the playback at which the playback had started.

Did you change the knewc playback setting from native mode to PVR?

Martin

Yep.
Ok, I haven't tested with with the NEWA backend do you still have Pointless ? Is so what does

http://192.168.1.39:8866/public/DetailsS...d504537b01

give you.

Martin
(2020-09-22, 07:45 PM)mvallevand Wrote: [ -> ]Ok, I haven't tested with with the NEWA backend do you still have Pointless ? 

My day is done ... I'll fiddle about some more tomorrow. Thanks.
I fired up my v4 system to check and it does work so need for that.  v5 is definitely faster at loading channels but it is nice to see some addons again.

Code:
2020-09-22 18:26:43.205 T:40916   DEBUG: http://172.16.3.2:8866/public/DetailsSchdService/22747?sid=95fcb9e178a04c6d9915e21f7426afaa
2020-09-22 18:26:43.262 T:40916   DEBUG: True
2020-09-22 18:26:43.263 T:19036   DEBUG: #XBMCPlayer#
2020-09-22 18:26:43.263 T:19036   DEBUG: started player
2020-09-22 18:26:43.287 T:19036   DEBUG: pvr://recordings/tv/active/Schitt's Creek/S02E06%20-%20Moira%20vs.%20Town%20Council, TV, 20200819_003001, 22747.pvr
2020-09-22 18:26:43.323 T:19036   DEBUG: Playing pvr://recordings/tv/active/Schitt's Creek/S02E06%20-%20Moira%20vs.%20Town%20Council, TV, 20200819_003001, 22747.pvr

I would confirm the Stream mode is Native. 

If it is PVR  you might need to help debug when you have time.

If you add the following print statement @283 to

C:\Users\Graham\AppData\Roaming\Kodi\addons\script.kodi.knewc\resources\src\XNEWA_Connect.py

which should look like this.

Code:
            for recording in response['result']['recordings']:
                print (recording)
                m = re.search('.+ (.+?).pvr', recording['file'])

and exit and restart knewc.  Try again and send the logs, or check the log for a list of recordings.  I'm wondering if there is some limit on what the API returns.

Martin
(2020-09-22, 11:17 PM)mvallevand Wrote: [ -> ]I would confirm the Stream mode is Native. 

If it is PVR  you might need to help debug when you have time.

I have lost the plot ... I am pretty sure that I was using ... "Streaming mode" == Direct ... before yesterday.

I am sure that I changed to ... "Streaming mode" == PVR ... while I tried to play an in-progress recording.

Which mode is likley to be the most stable (even though it doesn't do a good job in-progress recordings)?

Does the in-progress recordings "fix" only work in PVR mode?

Thanks for your help and for your work on all this.
OK it can be confusing Direct is an undocumented fake mode that falls back to Native that gave me the ability to use devices directly for live tv rather then going back to NextPVR, kind of like v5 extras.

Native and PVR mode are equally stable although for me there is a annoying buffering wheel in Native that I don't get in PVR mode. I find the UI Client experience is better with the Kodi PVR addon disabled though, it starts faster and no notifications. If you set PVR mode and then use the Enable/Disable option on the PVR addon option you get Native when it is disabled.

There was no fix for in progress recordings, what I enabled was a way to play recordings using the PVR interface. The purpose of the print was to see why PVR weren't loading for you with the same versions of Kodi and NextPVR as I tested last night.

Martin
(2020-09-23, 02:21 PM)mvallevand Wrote: [ -> ]There was no fix for in progress recordings, what I enabled was a way to play recordings using the PVR interface.  The purpose of the print was to see why PVR weren't loading for you with the same versions of Kodi and NextPVR as I tested last night.

My day job has risen up and bitten me ... Hopefully, i'll be able to look at this tomorrow.  Thanks for your help.
Pages: 1 2 3 4 5 6 7