System freezes while playing video on Kodi