Created
June 11, 2018 13:32
-
-
Save michaelbaudino/e8e69876d6b6aa388575ea2b182db5bc to your computer and use it in GitHub Desktop.
Kodi full disk caching configuration for potentially slow, remotely mounted filesystems
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
This configuration will tell Kodi to cache: | |
* without size limit | |
* 40 times more data than the minimum required | |
* on disk (rather than in RAM) | |
* even for local filesystems (so NFS, any FUSE-based filesystems are covered) | |
Copy this file in ~/.kodi/userdata/advancedsettings.xml (or merge it with the existing one) | |
--> | |
<advancedsettings> | |
<cache> | |
<memorysize>0</memorysize> <!-- Number of bytes used for buffering streams in memory. Default: 20971520 (which is 20M) | |
When set to 0 the cache will be written to disk instead of RAM --> | |
<buffermode>1</buffermode> <!-- Choose what to buffer: | |
0) Buffer all internet filesystems (like "2" but additionally also ftp, webdav, etc.) (default) | |
1) Buffer all filesystems (including local) | |
2) Only buffer true internet filesystems (streams) (http, etc.) | |
3) No buffer --> | |
<readfactor>40.0</readfactor> <!-- This factor determines the max readrate in terms of readbufferfactor * avg bitrate of a video file. | |
This can help on bad connections to keep the cache filled. | |
It will also greatly speed up buffering. | |
Default value 4.0. --> | |
</cache> | |
</advancedsettings> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment