2021-03-12, 14:16
Is there any way how to move the video cache location on Android? It's default location is in Kodi's temp directory when is set in advancedsettings.xml. I need to use the file based video cache, because there is not enough free RAM available for the cache on my Andtoid TV to handle the 4K HDR content. In the demanding scenes the bitrate exeeds 100 Mbit/s what is outside of the capabilities of my internet connection. In such situation, the small video cache in RAM is quiclky getting empty and the video becomes stuttering.
I do not want to let Kodi to make the video cache files in the Android TV internal storage to prevent it from destroing during the time by the huge amount of data being written into the cache.
I hoped to solve that by the path substituion of the temp directory as described here: https://kodi.wiki/view/Path_substitution. But it turned out to be not supported in case of the temp directory in particular, see here: https://github.com/xbmc/xbmc/issues/19393.
One possible solution working on Android is to move the Kodi's data directory elsewhere using the xbmc_env.properties file. But this is not my desired solution as I do not want to move the whole data directory, but only the temp. Or even better just the filecache files made by the video cache there.
I appreciate any help here.
Code:
<memorysize>0</memorysize>
I do not want to let Kodi to make the video cache files in the Android TV internal storage to prevent it from destroing during the time by the huge amount of data being written into the cache.
I hoped to solve that by the path substituion of the temp directory as described here: https://kodi.wiki/view/Path_substitution. But it turned out to be not supported in case of the temp directory in particular, see here: https://github.com/xbmc/xbmc/issues/19393.
One possible solution working on Android is to move the Kodi's data directory elsewhere using the xbmc_env.properties file. But this is not my desired solution as I do not want to move the whole data directory, but only the temp. Or even better just the filecache files made by the video cache there.
I appreciate any help here.