2020-11-20, 13:00
(2020-11-20, 02:57)kidhazy Wrote:(2020-11-16, 20:44)dajoe Wrote:dajoe - so does your post mean that instead of making the changes of commenting out the onPlayBackStopped(self) section you applied your 'patch' and you were able to both play and stop the music via Kodi successfully?(2020-10-05, 16:31)kriznik Wrote:I commented that section out but it resulted in not being able to stop playback at all.
It seems that xbmc.player calls the OnPlayBackStopped function if play is called while already playing.
I made below changes and it seems to work fine so far. I also had an issue with the playlist not always being updated. Maybe you can test it. I'd refine it a bit and then maybe write a pull request.
To test, put below content into a file, e.g. patch.txt and then apply patch -p1 < patch.txt from the .kodi/addons/ folder
<< snip >>
I've made the comment-out changes to onPlayBackStopped(self) and can play successfully, but can't stop via Kodi.
Thanks.
Yes, this is the case for me. It is still a bit rough but all in all it ist working for me.