Results 1 to 4 of 4

Thread: X-NEWA 2.5.4 & knew4v5 2.6.6 both "Die" when pressing Previous Chapter in LE

  1. #1
    Join Date
    Jun 2007
    Location
    St. Paul, MN, USA
    Posts
    1,318

    X-NEWA 2.5.4 & knew4v5 2.6.6 both "Die" when pressing Previous Chapter in LE

    I'm currently running LE 9.0.2, but also saw this problem in 9.0.1. With both X-NEWA 2.5.4 and knew4v5 2.6.6, when I press the Previous Chapter button, X-NEWA/knew4v5 basically hangs/dies. It doesn't handle the keypress (in the TV Guide to go back to the previous day) plus after it happens, then I can't get any key to work and end up having to reboot the rPi.

    Looking in the logs, I see this when it happens:
    Code:
    2019-05-19 10:47:50.524 T:1860170608   DEBUG: LIRC: - NEW 19c 0 KEY_PREVIOUS devinput (KEY_PREVIOUS)
    2019-05-19 10:47:50.554 T:1937055760   DEBUG: HandleKey: pause (0xdd) pressed, action is SkipPrevious
    2019-05-19 10:47:50.555 T:1807721328   DEBUG: False
    2019-05-19 10:47:50.556 T:1807721328   ERROR: EXCEPTION: XBMC is not playing any file
    2019-05-19 10:47:50.566 T:1807721328   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                 - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                Error Type: <type 'exceptions.RuntimeError'>
                                                Error Contents: XBMC is not playing any file
                                                Traceback (most recent call last):
                                                  File "/storage/.kodi/addons/script.kodi.knew4v5/resources/src/nextpvr/emulate.py", line 199, in onAction
                                                    if '/live?channel=' not in xbmc.Player().getPlayingFile():
                                                RuntimeError: XBMC is not playing any file
                                                -->End of Python script error report<--
    I'm thinking that it may be an LE "bug/feature" that the KEY_PREVIOUS is being mapped to "pause" by default now. (They changed some of the default remote keymappings with LE 9, so to get it to work as expected, the user keymap needs to explicitly remap those buttons.) I can check on that. However, X-NEWA/knew4v5 probably needs to handle the exception error that gets thrown and not just hang/die.

    Here's a little more of the log which shows the Next Chapter button working followed by the Previous Chapter button not working:
    Code:
    2019-05-19 10:47:47.298 T:1860170608   DEBUG: LIRC: - NEW 197 0 KEY_NEXT devinput (KEY_NEXT)
    2019-05-19 10:47:47.301 T:1937055760   DEBUG: HandleKey: sleep (0xdf) pressed, action is SkipNext
    2019-05-19 10:47:47.304 T:1807721328   DEBUG: False
    2019-05-19 10:47:47.306 T:1807721328   DEBUG: http://192.168.143.31:8866/control?time=1558280867&key=131111&client=sdl-KNEW50xb827ebd2d752&sid=f1584bd68ae84b06bbaff27b5c0438ee
    2019-05-19 10:47:47.587 T:1807721328   DEBUG: http://192.168.143.31:8866/activity?format=json&client=sdl-KNEW50xb827ebd2d752&sid=f1584bd68ae84b06bbaff27b5c0438ee
    2019-05-19 10:47:47.608 T:1937055760   DEBUG: ffmpeg[73752010]: [swscaler] No accelerated colorspace conversion found from yuv420p to bgra.
    2019-05-19 10:47:47.611 T:1807721328   DEBUG: {u'url': u'', u'screen': u'TV Guide'}
    2019-05-19 10:47:48.131 T:1383068528   DEBUG: http://192.168.143.31:8866/activity?format=json&updates=1&client=sdl-KNEW50xb827ebd2d752&sid=f1584bd68ae84b06bbaff27b5c0438ee
    2019-05-19 10:47:48.151 T:1383068528   DEBUG: {u'url': u'', u'screen': u'TV Guide'}
    2019-05-19 10:47:49.152 T:1383068528   DEBUG: http://192.168.143.31:8866/activity?format=json&updates=1&client=sdl-KNEW50xb827ebd2d752&sid=f1584bd68ae84b06bbaff27b5c0438ee
    2019-05-19 10:47:49.202 T:1383068528   DEBUG: {u'url': u'', u'screen': u'TV Guide'}
    2019-05-19 10:47:50.204 T:1383068528   DEBUG: http://192.168.143.31:8866/activity?format=json&updates=1&client=sdl-KNEW50xb827ebd2d752&sid=f1584bd68ae84b06bbaff27b5c0438ee
    2019-05-19 10:47:50.242 T:1383068528   DEBUG: {u'url': u'', u'screen': u'TV Guide'}
    2019-05-19 10:47:50.524 T:1860170608   DEBUG: LIRC: - NEW 19c 0 KEY_PREVIOUS devinput (KEY_PREVIOUS)
    2019-05-19 10:47:50.554 T:1937055760   DEBUG: HandleKey: pause (0xdd) pressed, action is SkipPrevious
    2019-05-19 10:47:50.555 T:1807721328   DEBUG: False
    2019-05-19 10:47:50.556 T:1807721328   ERROR: EXCEPTION: XBMC is not playing any file
    2019-05-19 10:47:50.566 T:1807721328   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                 - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                Error Type: <type 'exceptions.RuntimeError'>
                                                Error Contents: XBMC is not playing any file
                                                Traceback (most recent call last):
                                                  File "/storage/.kodi/addons/script.kodi.knew4v5/resources/src/nextpvr/emulate.py", line 199, in onAction
                                                    if '/live?channel=' not in xbmc.Player().getPlayingFile():
                                                RuntimeError: XBMC is not playing any file
                                                -->End of Python script error report<--
    2019-05-19 10:47:55.405 T:1860170608   DEBUG: LIRC: - NEW ae 0 KEY_EXIT devinput (KEY_EXIT)
    2019-05-19 10:47:55.422 T:1937055760   DEBUG: HandleKey: menu (0xd8) pressed, action is Back
    Interestingly, the Next Chapter button also seems to be mapped to something "strange"--"sleep":
    Code:
    2019-05-19 10:47:47.301 T:1937055760   DEBUG: HandleKey: sleep (0xdf) pressed, action is SkipNext
    But that one seems to work just fine.
    Attached Files Attached Files

  2. #2
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,060
    Thanks I broke something along the way when testing with the OSD guide. Next/Prev and Up/Down have multiple meanings and I am treating them differently in video playback but I am not sure why I special case them, they seem reversed to me right now.

    Martin

  3. #3
    Join Date
    Jul 2005
    Location
    HK - Pal I
    Posts
    3,439
    Is this fixed now please?
    ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | Various HD's | AC86U | USB-UIRT | PCH-A110 | RPi2 | Sony Bravia LCD X9000F Android TV |. Frustrated that NextPVR is not working? Take a moment and consider this and this and this and this and this and this. Credit where credit's due; for one guy (with a wife and two kids), most problems are solved outrageously quickly. Patience.

  4. #4
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,060
    Sorry k, I missed your post, it is fixed in the next version but you will have to install another client from the repo.

    Martin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •