2020-12-21, 05:41 PM
Yep, I'd need logs before I could tell you anything on this.
2020-12-21, 05:41 PM
Yep, I'd need logs before I could tell you anything on this.
2020-12-22, 12:45 AM
(2020-12-21, 04:00 PM)BrettB Wrote: One is that sometimes the video (including audio) will continue playing in the background. I think that this would happen when knewc was timing out and dying, but leaving Kodi playing the video. And, as you said, when pressing the Kodi stop, it would stop the video (and audio) playback, but since knewc had died, the playback position wasn't being saved to Nextpvr. I'm wondering if in your situation, Kodi is still playing the video, but it is obscured by other screens so you're only hearing the audio. That's an interesting observation. I witnessed this for the first time last night, but knewc crashed so Kodi was in the foreground with the video/audio ghosted behind. Previously (at least when I've seen it) knewc was still running and the screen showed the Video Library from where we had started the playback. I hadn't thought that the video playback may still be going in the background.
Server: Ryzen 5 3600 3.6GHz: 16GB RAM: ASRock Phantom D/RX570: SDD: 512GB HDDs: 5TB, 8TB, 8TB
Linux Mint v20, NPVR v5.1.3.210711 Tuners: Hauppauge PVR-2250-MC Dual Tuner, HDHR Duo ATSC Tuner Clients: Knewc on CE-ODroid N2 x2, N2+, LE-RPi4, PCs x2
2020-12-22, 12:49 AM
(2020-12-21, 05:16 PM)mvallevand Wrote: The logs would be for sub's benefit if it relates to sessions getting confused. I had included logs on the OP, but it makes sense more is better. I'll grab logs next time it happens. Or better yet I'll try to reproduce it with two clients when I get home tonight.
Server: Ryzen 5 3600 3.6GHz: 16GB RAM: ASRock Phantom D/RX570: SDD: 512GB HDDs: 5TB, 8TB, 8TB
Linux Mint v20, NPVR v5.1.3.210711 Tuners: Hauppauge PVR-2250-MC Dual Tuner, HDHR Duo ATSC Tuner Clients: Knewc on CE-ODroid N2 x2, N2+, LE-RPi4, PCs x2
2020-12-22, 01:16 AM
Looking at the logs you still had a bad tuner setup at the time which was another thread and would no doubt have cause issues.
But they do show the loop on stop issue which I've consider part of the problem that I am hoping sub can look into. Kodi might not have been told to stop, but you didn't supply debug logs so I can't tell what the interaction was and the server side log is very weak. Code: 2020-11-04 20:47:09.995 [DEBUG][108] PLAYBACK_STOPPED@1 Martin
2020-12-22, 02:03 AM
(2020-12-22, 01:16 AM)mvallevand Wrote: But they do show the loop on stop issue which I've consider part of the problem that I am hoping sub can look into. Kodi might not have been told to stop, but you didn't supply debug logs so I can't tell what the interaction was and the server side log is very weak. Hey, Martin. This comment about the logs not being in debug mode gave me a thought. I have my Kodi always generating debug logs because I never know when something "strange" is going to happen and I'll need good logs. Do you think that might have anything to do with exacerbating the timeout problems or the multiple recording reloads after stopping?
2020-12-22, 02:29 AM
I haven't seen anything in logs you have sent that show much traffic at all at a stop. There is normally a lot of spam with messages every second but I'd be more concerned at the millisecond level. Probably the logs are not needed until the server is cleaner.
Martin
2020-12-22, 04:46 PM
I think I only have debug enabled (in advancedsettings.xml) on the client running on the server. I can enable it one of the other clients when I run the two-client if that will help.
Server: Ryzen 5 3600 3.6GHz: 16GB RAM: ASRock Phantom D/RX570: SDD: 512GB HDDs: 5TB, 8TB, 8TB
Linux Mint v20, NPVR v5.1.3.210711 Tuners: Hauppauge PVR-2250-MC Dual Tuner, HDHR Duo ATSC Tuner Clients: Knewc on CE-ODroid N2 x2, N2+, LE-RPi4, PCs x2
2020-12-22, 05:19 PM
Logs are the only way I can tell what knewc is actually doing but lets wait and see what sub finds out about the main things I have found out so far.
Martin
2020-12-24, 09:16 PM
Based on Brett's thread https://forums.nextpvr.com/showthread.ph...n=lastpost and your excellent observation eariler I can now see the issue in the logs.
One machine issued a stop but that stop was sent to your linux client too Code: 2020-11-04 20:47:09.989 [DEBUG][108] Got request [::ffff:10.99.99.87]: /control While technically a bug in knewc, I could have a state for server requested stops and exits but it is much better if sub fixes the root cause. Martin
2020-12-24, 09:24 PM
(2020-12-24, 09:16 PM)mvallevand Wrote: Based on Brett's thread https://forums.nextpvr.com/showthread.ph...n=lastpost and your excellent observation eariler I can now see the issue in the logs. I agree. I'm also wondering if the server getting mixed up about which client is which may also have something to do with the multiple Recording Reloads after a stop, too. |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
knewc Timeout Starting Recording Playback | BrettB | 1 | 1,327 |
2021-10-21, 03:02 PM Last Post: mvallevand |
|
Video Plays Under New Client UI | cweseloh | 18 | 4,524 |
2020-06-16, 06:16 PM Last Post: mvallevand |
|
Playback Recordings Not Working for VLC Streaming | crackulator | 5 | 3,583 |
2017-11-16, 03:46 PM Last Post: mvallevand |
|
Playback stopping when another recording ends | srhutch | 7 | 4,593 |
2017-04-26, 02:34 PM Last Post: mvallevand |
|
Playback Stalling on Web Client | BrettB | 8 | 5,660 |
2017-02-23, 01:55 AM Last Post: BrettB |
|
Playback | bilbopvr | 11 | 5,573 |
2017-02-09, 11:22 PM Last Post: mvallevand |
|
Kodi playback OSD | mvallevand | 3 | 3,299 |
2016-06-16, 10:16 AM Last Post: stustunz |
|
Stuttering playback of Live TV on Android TV | cncb | 8 | 6,327 |
2015-11-23, 10:40 PM Last Post: mvallevand |
|
Playback not working sometimes | zaldwaik | 12 | 5,666 |
2015-01-10, 08:07 PM Last Post: mvallevand |
|
Video Streaming Mode | jcjefferies | 1 | 2,210 |
2014-11-19, 04:35 PM Last Post: mvallevand |