Lack of sound after some time

Heh. Can I suggest leaving debugging on? I know it prints some information on the screen, but this can be disabled in advancedsettings.xml (which can be put in /home/osmc/.kodi/userdata/advancedsettings.xml)

The fact debugging is on is probably unrelated, but it should happen again.

I have an idea what may be causing this issue. It will probably see itself resolved in Kodi 15.x which is not far off

Sam