Jellyfin Forum
GUIDE: Fix issue with playback crashing on Raspberry pi 4 - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Guides, Walkthroughs & Tutorials (https://forum.jellyfin.org/f-guides-walkthroughs-tutorials)
+--- Thread: GUIDE: Fix issue with playback crashing on Raspberry pi 4 (/t-guide-fix-issue-with-playback-crashing-on-raspberry-pi-4)



GUIDE: Fix issue with playback crashing on Raspberry pi 4 - 34626 - 2025-08-24

We use Raspberry Pi 4 as media player with LibreELEC + JellyCon to play media files, it has worked great, untill recently.
Suddenly, playing media over 576p has made watching movies very annoying, because the playback keeps creashing.

So here i share the fix:

1. First, we must create a file on the STORAGE partition:
sudo nano .kodi/userdata/advancedsettings.xml

2. Now we must add some text, but in memorysize, it depends on the amount of RAM on yourRaspberry pi.
2 GB RAM = 134217728
4 GB RAM = 268435456
8 GB RAM = 536870912

Add the following:

<advancedsettings>
  <network>
    <curlclienttimeout>30</curlclienttimeout> <!-- standard 20 -->
    <curllowspeedtime>60</curllowspeedtime>  <!-- vent længere før timeout -->
  </network>
  <cache>
    <buffermode>1</buffermode>
    <memorysize>134217728</memorysize>
    <readfactor>20</readfactor>
  </cache>
</advancedsettings>

3. Save, exit, plug the Raspberry pi back to your TV and enjoy!