NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Other Clients v
« Previous 1 2 3 4 Next »
Knewc UI Client sometimes doesn't resume menus after stopping playback

 
  • 0 Vote(s) - 0 Average
Knewc UI Client sometimes doesn't resume menus after stopping playback
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,666
Threads: 170
Joined: Jun 2007
#1
2020-01-18, 05:08 PM
Martin,

I started using Librelec on an RPi4 as my main living room playback device last weekend. Since then I've noticed a few times that when I press the stop button after playing a recording, sometimes Knewc just "hangs" and leaves the last frame of the video displayed--it never begins showing the menus again.

It just happened again, so I got logs (kodirpi4.log & nextpvr logs)--see attached. Or not--something seems to be wrong with the forum, I can't add an attachment. I choose the file, click Add Attachment, it uploads, then I just get my draft message back. No errors and no opportunity to click to add it to the post. Weird!

So, here's a link to the logs.

-Brett
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,919
Threads: 956
Joined: May 2006
#2
2020-01-18, 05:56 PM
The 1.5 MB forum limit comes into play a lot, your RPI logs is huge and you have a postprocessing log which probably should go to another location to ease the burden on the forum.

From the look of the kodi logs a media stop is issued and the key as well, I don't know why the server didn't send anything back or why keystrokes where no longer being transmitted. The only thing I can speculate on is the server got confused

2020-01-18 10:44:56.439 [DEBUG][44] DoCompositeRendering() took 93.6066ms
2020-01-18 10:44:56.517 [DEBUG][51] DoCompositeRendering() took 171.6121ms

rendering two screens at once.

I did note you should do a review of your server logs to eliminate some weird sleep messages.

Martin
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,666
Threads: 170
Joined: Jun 2007
#3
2020-01-18, 06:09 PM
(2020-01-18, 05:56 PM)mvallevand Wrote: The 1.5 MB forum limit comes into play a lot, your RPI logs is huge and you have a postprocessing log which probably should go to another location to ease the burden on the forum.
It just seems like the forum software should display an error indicating why it failed rather than just silently returning to the draft post. And I do normally try to create a fresh, clean kodi log for posting when I can recreate the problem. But for these intermittent ones, I have to go with what's there at the time. Smile

(2020-01-18, 05:56 PM)mvallevand Wrote: I did note you should do a review of your server logs to eliminate some weird sleep messages.
Yeah, I had already discovered that. It was a leftover section of the postprocessing.bat file from when I used to call IGL to rename the files. And it's not normally used any more. I have logic in there to limit to 1 comskip running at a time and some time earlier this week a comskip process got stuck, so all of the postprocessing runs after that point were still running (and writing out to postprocessing.log). I discovered that last night and killed the stuck one. Then the others started taking off. But the old "sleep" section got caught because one of the recordings had been deleted.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,666
Threads: 170
Joined: Jun 2007
#4
2020-01-19, 09:46 PM
Here's another example. This time the recording played all the way through to the end (rather than me hitting stop).

Download link
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,919
Threads: 956
Joined: May 2006
#5
2020-01-20, 12:35 AM
All I can see in the logs on this one is

the client request

2020-01-19 15:29:55.268 T:2201080688 DEBUG: http://192.168.143.10:8866/control?key=1...2f988e8f6f

followed by server

2020-01-19 15:29:55.729 [DEBUG][47] Got request [::ffff:192.168.143.26]: /control
2020-01-19 15:29:55.729 [DEBUG][47] PreventMonitorStandby() needs implementation
2020-01-19 15:29:55.729 [DEBUG][47] PlaybackPositionHelper.GetLastPlaybackDate(F:\NPVR Recordings3\The Late Show With Stephen Colbert\Season 05\The.Late.Show.With.Stephen.Colbert.S05E107.Michael.Bloomberg.ts)
2020-01-19 15:29:55.822 [DEBUG][47] DoCompositeRendering() took 93.6024ms

But I don't know if i got a response that starts the activity thread working again.

Martin
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,666
Threads: 170
Joined: Jun 2007
#6
2020-01-20, 12:44 AM
OK. I switched back to the Pi3B+ for my main tv this afternoon. I'll see if happens with it, too.
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,666
Threads: 170
Joined: Jun 2007
#7
2020-03-24, 12:55 PM
Martin,

I'm posting in this same thread because I think it is the same problem...

Ever since I upgrade the back end to the stable release on Sunday, every time that I stop a recording playing on the RPi, I just get a blank screen.

Here's a link to the logs download (the kodi debug log is in the .zip file): https://bowmantech-my.sharepoint.com/:u:...A?e=yqQcEJ

I haven't tried switching back to the RPi 3+ to see if the problem goes away like it was before. I can probably do that later today. (I've got to go do real job stuff--unfortunately for me, I can do most everything from my real job at home, so no vacation for me!)

Can you take a look?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,919
Threads: 956
Joined: May 2006
#8
2020-03-24, 02:01 PM (This post was last modified: 2020-03-24, 02:01 PM by mvallevand.)
This looks like a different error to me. The other error was more related to LE not responding to keystrokes if I recall those logs correctly

sub will need to review the repeating error.

Code:
2020-03-24 07:44:22.189    [DEBUG][33]    PLAYBACK_STOPPED@3.1.2 (0)
2020-03-24 07:44:22.190    [ERROR][33]    System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
   at NextPVR.TV.TVGuide.Notify(String eventName, Object eventArg)
   at NUtility.EventBus.Notify(String eventName, Object eventArg)
   at NextPVR.Players.VideoPlayer.Stop(Boolean informController)
   at NextPVR.Players.VideoPlayer.Stop()
   at NextPVR.Players.BasePlayer.HandleCommonCommands(String command)
   at NextPVR.Players.VideoPlayer.HandleCommand(String command)
   at NextPVR.Players.VideoPlayer.OnKeyDown(KeyEventArgs e)
   at NUtility.UIController.OnKeyDown(KeyEventArgs e)
   at NextPVRServer.Controllers.WebClientHelper.GetImage(Dictionary`2 args)
   at NextPVRServer.Controllers.WebClientController.Get()

After those NextPVR doesn't send any new screens to /activity so there is nothing to show. In kodi.log this would need to be True

2020-03-24 07:44:25.384 T:2472608624 DEBUG: {u'needsRendering': False}

Martin
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#9
2020-03-25, 12:07 AM
Hi Brett; I have a RPi3B running LibreElec with knewc 2.8.0 (from the 1.0.7 repository).
Just so I can follow the thread, what version of LE do you have running please - is it 9.2.1?
p.s. I also had problem with forum posting with large attachments, except for me it posted the post but left out the attachment (wouldn't seem to stick).

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,919
Threads: 956
Joined: May 2006
#10
2020-03-25, 12:13 AM
The upload size is limited but like I posted you need to change your strategy and upload the zip files that sub makes for us.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextUI Client three6zerocool 6 1,448 2024-02-24, 02:11 AM
Last Post: gEd
  nlite client fails to find server, then crashes nikkilocke 3 1,062 2024-02-18, 09:42 PM
Last Post: sub
  Next PVR client Add on not working on Android TV Heifer 2 1,583 2023-09-16, 07:41 PM
Last Post: Heifer
  NPVR Client Fails on OSMC Update vintdiesel 3 1,183 2023-07-02, 09:12 PM
Last Post: mvallevand
  Kodi client enable direct streams markosjal 1 1,901 2022-05-12, 10:30 AM
Last Post: mvallevand
  Video Corruption during playback on Android boringgit 4 1,701 2022-04-29, 03:55 PM
Last Post: boringgit
  NLite playback artmetz 6 1,893 2021-11-17, 03:48 PM
Last Post: artmetz
  NLite resume artmetz 4 1,550 2021-11-12, 12:27 AM
Last Post: artmetz
  Shield TV - Going around in circles trying to instal Client Steve Button 3 1,396 2021-05-21, 03:51 AM
Last Post: mvallevand
  Kodi 19 client constantly asking for updates from server PapaJay 2 1,440 2021-03-21, 06:54 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode