This file contains hidden or 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
| function numberFormat(number, decimals, decPoint, thousandsSep) { // Shamelessly copied from http://locutus.io/php/number_format/ | |
| number = (number + '').replace(/[^0-9+\-Ee.]/g, ''); | |
| var n = !isFinite(+number) ? 0 : +number; | |
| var prec = !isFinite(+decimals) ? 0 : Math.abs(decimals); | |
| var sep = (typeof thousandsSep === 'undefined') ? ',' : thousandsSep; | |
| var dec = (typeof decPoint === 'undefined') ? '.' : decPoint; | |
| var s = ''; | |
| function toFixedFix(n, prec) { | |
| var k = Math.pow(10, prec); |
This file contains hidden or 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) | |
| --> |
OlderNewer