OSMC crashes if stop button pressed at end of playback