Fix Skipping Videos Running OSMC on Raspberry Pi 3

Issue: no matter the network connection speed videos which are larger than ~12GB per 1.5 hours are constantly skipping, buffering and are completely unwatchable.

The proposed fix will work only if your network bandwidth really could accommodate the speed needed for seamless video streaming. This is easy to check – say you want to see if your 20GB video should in theory play smoothly on the network player. In order to check this you could start copy process from your network storage to your workstation via Samba or FTP (or anything else you can think of) and see the estimated time of file transfer. Let’s imagine it says that your 20GB file will be copied in 50 minutes, in case the video playtime is 120 minutes you can be sure that it should be possible to stream this file seamlessly to a network player and you should not experience any stutter. In reality I am facing the issue described at the very beginning of this post.

Fix: apply fix described here in Example #4.

SSH to RPi

And check KODI version, for fix to be simple copy-paste the version should be >= 17. Currently NOOBS installation of OSMC is supplied with 17.6 by default. In case your version is older, please refer to the linked fix and read how settings names should be changed for older versions. Obviously you have to know the IP address of your RPi device with OSMC installed, it is easy to do either from System Info inside OSMC GUI or by checking connected devices on your router web interface.

Login: osmc
Password: osmc

Credentials are default, ssh is also on by default after OSMC installation.

Screen Shot 2018-04-15 at 18.38.05

Apply the Fix

Go to /home/osmc/.kodi/userdata/ and create file ‘advancedsettings.xml’ there. I have installed Midnight Commander for convenience and also used its embedded text editor for pasting the correct text inside the file.

Screen Shot 2018-04-15 at 18.39.33Screen Shot 2018-04-15 at 19.12.24
Now save the file and reboot by ‘sudo shutdown -r now’ from your ssh session. On the next boot you should have no more issues playing large video files.

Never cut power to your RPi without doing a proper shutdown from OSMC or other available OS GUI because it is easy as 1-2-3 to corrupt OS on your SD card and be forced to re-install the OS.