Hi guys. I have had this same/similar issue as both livin and Norm and have been following this thread. I was hoping it would go away with the march update but it did not.
My problem is that if I pause for more than 2 minutes and start the video again it will play for only a few seconds and then Kodi freezes but not the operation system.
I don’t have any bluetooth devise operating with my Raspberry Pi 3. But I do have A HiFi-berry Pro digi sound module connected.
So to me it look like OnLostDisplay() or OnResetDisplay() are triggering CloseFile() but I am not sure what triggers these methods or what they do maybe @popcornmix might have some idea
Hi guys. Same problem here. It is really annoying. I use official BT dongle (tried also th built-in RPi3 one. Didn’t help). I didn’t replace the files with ones from git.
19:09:00.178 T:1630655472 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'NoneType' object has no attribute 'Pause'
Traceback (most recent call last):
File "/usr/share/kodi/addons/service.osmc.btplayer/service.py", line 200, in onPlayBackPaused
self.btPlayer.pause()
File "/usr/share/kodi/addons/service.osmc.btplayer/service.py", line 169, in pause
self.player.Pause(dbus_interface=PLAYER_IFACE)
AttributeError: 'NoneType' object has no attribute 'Pause'
-->End of Python script error report<--
Hi, I have been away from my pi for a month. Now I have replaced service.py with the patched version from git and the problem still occurs. I have replaced the file a few days ago and used the pi several times (multiple shutdowns and restarts meanwhile). I uploaded logs with replaced service.py
Did this issue get fixed for you guys?
It has not for me and Im at the point where Im giving up on standing up and restarting my devise every time I pause a video.
I did start a new thread with this issue to try to pump life in to it again, but with no results
Hi @hedinn, hi @sam_nazarko
I read release notes for august release and was hoping the issue is fixed (“Fix for a possible crash when using ALSA for audio output”).
But it does not change behavior in my case - still crash on pause after 1-2 mins.
Sorry – but because we can’t reproduce the problem we’re not sure how to fix it.
If you are familiar with how to use gdb we may be able to get a backtrace.
@livin I was hoping that the august update would fix the problem, since basically only changes I made to my setup from being standard is with ALSA. I have a HiFi Berry module. But unfortunately the august update did not fix my problem either.
@sam_nazarko Im going to familiarise myself with GDB and hopefully give you better data.
Does removing the HifiBerry module improve stability?
Really it depends on how often you can reproduce the problem. If it goes away sans HifiBerry that would be interesting.
I can always reproduce the issue. Always when I press pause and start again it freezes.
I did a quick test just now and put my sd card into another RP3 that I have, and does not have HiFi Berry and the issue did not happen then, so the problem must be with the HiFi Berry
This is probably another issue than the one described above. We are not talking about the freeze. The issue is just playback crashing after the video has been paused.
Play video
Pause it
Wait for a moment
The video stops and OSMC gets back to list of videos
Hi All,
the issue is definitely in btplayer. I’ve disabled it through UI and have no kodi crashes anymore. Meanwhile streaming I need (kodi => bluetooth => jbl charge) works fine. @sam_nazarko@matejmosko@gezb
hi @sam_nazarko
the funny thing you can’t disable btplayer using “Disable” button in addon settings, but using “Configure” button you can - there is check box (slider) “Enable” inside. Now I have only “My OSMC” and “Updates” in add-ons\Running