2016-05-30, 04:13
Hi all,
I want to make a simple addon to manually set <cachemembuffersize> in the advancedsettings.xml file. I'm wondering if there's a way to detect the total physical memory in a system using python? Does Kodi store a variable for the total memory listed under System info that I can read out? I don't need to know the free memory just the total available memory in bytes. The only platform I'm concerned about getting this working on right now is Android since that's all I use Kodi on anyway.
Thanks for the help!
I want to make a simple addon to manually set <cachemembuffersize> in the advancedsettings.xml file. I'm wondering if there's a way to detect the total physical memory in a system using python? Does Kodi store a variable for the total memory listed under System info that I can read out? I don't need to know the free memory just the total available memory in bytes. The only platform I'm concerned about getting this working on right now is Android since that's all I use Kodi on anyway.
Thanks for the help!