Videos playback stops at random on Nvidia Shield TV

Hi, i’ve recently come across a weird issue in kodi.
I bought a nvidia shield a few months back and have been using kodi 16.1 basically every day without any issue.
But since last week kodi started doing something very strange.
At random times the video playback stops and returns me to the library view or file list without any error.
I can then resume the playback and it doesn’t happen again.
It has happened when watching local files and online streams (using Twitch addon).
I’ve disabled addons, cleared app cache on android and fiddled with various settings, but it keeps occurring.

This is a debug log since opening the file until after it closes by itself:
http://pastebin.com/Jp7Nevn6

I haven’t installed or updated (at least manually) anything so i don’t have a clue as to why it started happening now, after months of no issues.

Thanks.