Archive:Drive Mapping: Difference between revisions
>Malloc No edit summary |
>NedBot m (Robot: Cosmetic changes) |
||
Line 1: | Line 1: | ||
Proposed drive mappings<br/> | Proposed drive mappings<br /> | ||
<br/> | <br /> | ||
Currently:<br/> | Currently:<br /> | ||
U = Used in place of Q for skins/scripts/plugins/vis (and anything else in the root of Q) - currently we check U and then Q for these things manually.<br/> | U = Used in place of Q for skins/scripts/plugins/vis (and anything else in the root of Q) - currently we check U and then Q for these things manually.<br /> | ||
Q = System (should not be writable)<br/> | Q = System (should not be writable)<br /> | ||
P = Profile<br/> | P = Profile<br /> | ||
Z = Temporary<br/> | Z = Temporary<br /> | ||
T = UserData - the "masterusers" profile, normally Q:\userdata, but can be mapped elsewhere (on xbox at least) via Q:\system\profiles.xml<br/> | T = UserData - the "masterusers" profile, normally Q:\userdata, but can be mapped elsewhere (on xbox at least) via Q:\system\profiles.xml<br /> | ||
<br/> | <br /> | ||
Proposal:<br/> | Proposal:<br /> | ||
Q = system<br/> | Q = system<br /> | ||
This is where we install stuff, it never changes (except on update), it's not writable<br/><br/> | This is where we install stuff, it never changes (except on update), it's not writable<br /><br /> | ||
Z = Temporary<br/> | Z = Temporary<br /> | ||
This is where we store file temporarily. | This is where we store file temporarily. It's not shared between users/instances/runs. Very volatile.<br /><br /> | ||
U = No idea what to call this<br/> | U = No idea what to call this<br /> | ||
Store mutable data here which doesn't belong to any user. | Store mutable data here which doesn't belong to any user. Is there anything we need besides profiles.xml? Should this be writable by scripts or only xbmc itself?<br /><br /> | ||
P = profiles<br/> | P = profiles<br /> | ||
Give some default profile to begin with, can create more profiles. | Give some default profile to begin with, can create more profiles. If some file doesn't exist in here, read from Q. On write, copy from Q and make changes.<br /><br /> | ||
New names<br/> | New names<br /> | ||
Currently we support Windows like drive mappings. | Currently we support Windows like drive mappings. This is only because of the xbox, and moving forward we would like to change this to a protocol string (system://) or an environment variable (ENV[system]). Proposed names:<br /> | ||
Q -> system://<br/> | Q -> system://<br /> | ||
Z -> temp://<br/> | Z -> temp://<br /> | ||
P -> profile:// or user://<br/> | P -> profile:// or user://<br /> | ||
U -> global://? Do we really need this? | U -> global://? Do we really need this? It should only be writable by the app itself.<br /> | ||
Another possible naming: xbmc://system@path | Another possible naming: xbmc://system@path | ||
More suggestions:<br/> | More suggestions:<br /> | ||
We should perhaps have "drives" for plugins, scripts, skins, themes, sounds (since those are subjects to install) and also we need a user (for userdata/scriptdata) and one userdata/scriptdata (globally for all users)<br/> | We should perhaps have "drives" for plugins, scripts, skins, themes, sounds (since those are subjects to install) and also we need a user (for userdata/scriptdata) and one userdata/scriptdata (globally for all users)<br /> | ||
<br/> | <br /> | ||
Have no real idea what to name these. | Have no real idea what to name these. |
Revision as of 16:09, 7 September 2011
Proposed drive mappings
Currently:
U = Used in place of Q for skins/scripts/plugins/vis (and anything else in the root of Q) - currently we check U and then Q for these things manually.
Q = System (should not be writable)
P = Profile
Z = Temporary
T = UserData - the "masterusers" profile, normally Q:\userdata, but can be mapped elsewhere (on xbox at least) via Q:\system\profiles.xml
Proposal:
Q = system
This is where we install stuff, it never changes (except on update), it's not writable
Z = Temporary
This is where we store file temporarily. It's not shared between users/instances/runs. Very volatile.
U = No idea what to call this
Store mutable data here which doesn't belong to any user. Is there anything we need besides profiles.xml? Should this be writable by scripts or only xbmc itself?
P = profiles
Give some default profile to begin with, can create more profiles. If some file doesn't exist in here, read from Q. On write, copy from Q and make changes.
New names
Currently we support Windows like drive mappings. This is only because of the xbox, and moving forward we would like to change this to a protocol string (system://) or an environment variable (ENV[system]). Proposed names:
Q -> system://
Z -> temp://
P -> profile:// or user://
U -> global://? Do we really need this? It should only be writable by the app itself.
Another possible naming: xbmc://system@path
More suggestions:
We should perhaps have "drives" for plugins, scripts, skins, themes, sounds (since those are subjects to install) and also we need a user (for userdata/scriptdata) and one userdata/scriptdata (globally for all users)
Have no real idea what to name these.