NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC X-NEWA v
« Previous 1 2 3 4 5 6 … 13 Next »
X-NEWA 2.5.4 & knew4v5 2.6.6 both "Die" when pressing Previous Chapter in LE

 
  • 0 Vote(s) - 0 Average
X-NEWA 2.5.4 & knew4v5 2.6.6 both "Die" when pressing Previous Chapter in LE
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,810
Threads: 173
Joined: Jun 2007
#1
2019-05-19, 04:04 PM
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.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 56,738
Threads: 996
Joined: May 2006
#2
2019-05-19, 08:43 PM
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
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#3
2019-06-13, 04:07 AM
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 | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 56,738
Threads: 996
Joined: May 2006
#4
2019-06-15, 01:33 AM
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
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  X-NEWA client problem jcjefferies 2 2,790 2023-04-11, 05:01 PM
Last Post: jcjefferies
  x-newa new install wheemer 14 7,316 2020-09-15, 02:21 AM
Last Post: mvallevand
  New repository for KNEWC and X-NEWA mvallevand 8 12,514 2020-05-09, 02:19 AM
Last Post: jksmurf
  X-NEWA keeping host PC awake lost@c 6 4,448 2020-04-03, 04:26 AM
Last Post: lost@c
  X-NEWA End of Life mvallevand 39 21,877 2019-11-16, 02:30 AM
Last Post: jksmurf
  knew4v5 2.6.6 Testing BrettB 4 3,829 2019-04-14, 07:53 PM
Last Post: mvallevand
  knew4v5 2.6.3 Testing BrettB 18 8,634 2019-04-09, 02:35 AM
Last Post: BrettB
  knew4v5 2.6.1 Fatal Error on Windows and OSX When Loading pkscout 4 3,378 2019-04-07, 03:45 PM
Last Post: pkscout
  knew4v5 2.6.0 Testing BrettB 12 7,053 2019-04-07, 04:23 AM
Last Post: BrettB
  knew4v5 Fatal Python Error on OSX pkscout 3 3,142 2019-04-07, 03:28 AM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode