Kodi Community Forum

Full Version: Kodi 18 videoplayer hang with Amazon plugin when playing content w/o license
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am running kodi 18 final from the team-xbmc ppa on ubuntu/cosmic and also have the amazon plugin from https://github.com/Sandmann79/xbmc installed.

I have been able to play many videos through the amazon plugin using my Prime account.

However, some videos do not play due to a permissions error from not having the appropriate subscription. (Example: https://www.amazon.com/Poldark-Season-4/dp/B07HFMBT27 ) When I try to play these videos, kodi appears to hang. The debug log shows it is receiving inputs from my CEC remote, but the screen is frozen, and I can only get kodi back via "sudo systemctl restart kodi".  I can use the remote to turn off the tv, and turn it back on, but kodi stays frozen.

Ideally Kodi shouldn't hang when this happens. I guess this plugin is blocking, but is there any way to get kodi to force the plugin to quit aside from having to restart the entire kodi process?

Here's the debug log:

http://paste.ubuntu.com/p/bxGYJcKv65/

Also mentioning this here: https://github.com/Sandmann79/xbmc/issues/260
(2019-02-13, 17:59)satadru Wrote: [ -> ]Here's the debug log:
That's only a partial debug log (wiki).
Sorry about that.

Here's what I think is a full debug log:

http://paste.ubuntu.com/p/5RkbDBHD6Y/

The previous debug log was making the folks who wrote the plugin think that it wasn't a plugin issue as mentioned here: https://github.com/Sandmann79/xbmc/issue...-463261506
(2019-02-14, 05:17)satadru Wrote: [ -> ]Here's what I think is a full debug log:

It's not. That's a partial log as well.

If you are using Ubuntu please do the following (assuming you have enabled debug logging and you have been able to reproduce your issue): pastebinit ~/.kodi/temp/kodi.log

If that command gives you an error, then either install pastebinit (sudo apt install pastebinit) or run the following command: cat ~/.kodi/temp/kodi.log | nc termbin.com 9999 which will work wiithout any additional packages installed.
(2019-02-14, 07:21)DaVu Wrote: [ -> ]
(2019-02-14, 05:17)satadru Wrote: [ -> ]Here's what I think is a full debug log:

It's not. That's a partial log as well.

If you are using Ubuntu please do the following (assuming you have enabled debug logging and you have been able to reproduce your issue): pastebinit ~/.kodi/temp/kodi.log

If that command gives you an error, then either install pastebinit (sudo apt install pastebinit) or run the following command: cat ~/.kodi/temp/kodi.log | nc termbin.com 9999 which will work wiithout any additional packages installed.      
 FYI for what it's worth, this is happening right after a zero second dummy.avi file plays when the video can't be loaded from amazon.

That dummy.avi file is here:

https://github.com/Sandmann79/xbmc/blob/.../dummy.avi
Moving the dummy.avi file out the way fixes this issue entirely, in that kodi no longe freezes up.

Here's a debug log with it not crashing, to contrast with the previous freeze log:

http://paste.ubuntu.com/p/68SBKF8TWw/

So maybe there IS an issue with how Kodi plays that file? Playing a file shouldn't cause a lockup, I think?