Posts: 5,952
Joined: Sep 2008
Reputation:
201
Koying
Retired Team-Kodi Member
Posts: 5,952
2014-01-14, 14:36
(This post was last modified: 2015-06-04, 13:01 by Ned Scott.)
I see requests popping up to allow relocating the XBMC_HOME on Android, from the default and uneditable "external storage" as returned by android.
Seems a legit request to me, especially for devices having only a lump nand pseudo-sdcard which might fill up very fast with xbmc.
What's your thoughts on an advancedsetting (or plain setting, but that will probably be problematic) for this?
[EDIT]
I was speaking about HOME, really, i.e. userdata, but it's valid for XBMC_HOME, too, i.e. system data, which takes a solid amount of nand off /data from other apps.
Posts: 31,445
Joined: Jan 2011
I like it. It's very easy to fill up 4 or even 8 GB of internal space with thumbnails of a large library.
Posts: 5,184
Joined: Jan 2009
Reputation:
131
2014-01-14, 15:02
(This post was last modified: 2014-01-14, 15:02 by Montellese.)
My initial version of the android main implementation checked if there was an external storage available and automatically set XBMC_HOME to that. My reasons where the space being used and that files on an external SD are mostly easier accessible than those in the builtin flash (due to access restrictions etc).
Someome (maybe TheUni, I don't remember) removed that logic completely. I also don't remember the reason for sure but I think it was something about performance.
I'm not sure if this will work with either an advancedsetting or a plain setting as you first need to be able to find the advancedsettings.xml or guisettings.xml in the path pointed to by XBMC_HOME before being able to read its content. After that it's too late to change XBMC_HOME (AFAICT) unless you add some hack to kill the current application class and create a new one with a new XBMC_HOME.
EDIT: Hehe koying you realized it yourself in the meantime.
Always read the
online manual (wiki),
FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the
forum rules (wiki).
Please read the pages on
troubleshooting (wiki) and
bug reporting (wiki) before reporting issues.
Posts: 5,952
Joined: Sep 2008
Reputation:
201
Koying
Retired Team-Kodi Member
Posts: 5,952
The idea would be to keep the default as it is, as I'm sure it fits the majority, but to give a "backdoor" for cases where using the nand is an hindrance.
As Ned points out, our home can easily become quite large.