Bug 6790 - File locations on Windows
: File locations on Windows
Status: RESOLVED INVALID
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 7.0
: PC Windows XP
: P2 enhancement (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-25 23:38 UTC by sbjaerum
Modified: 2008-01-26 03:24 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sbjaerum 2008-01-25 23:38:30 UTC
In sub winWritablePath in OSDetect.pm, the path to prefs, cache, etc is set to:
$root = catdir($swKey->{'Common AppData'}, 'SqueezeCenter');
This typically resolves to:
C:\Documents and Settings\All Users\Application Data\SqueezeCenter

When running several branches (for instance 7.0 and trunk), this means that the different versions modify data in the same directory.
It would be nice if version specific sub-directories were used inside the SqueezeCenter directory so that the directory structure looked something like:
C:\Documents and Settings\All Users\Application Data\SqueezeCenter\7.0
C:\Documents and Settings\All Users\Application Data\SqueezeCenter\trunk
Comment 1 Michael Herger 2008-01-26 03:24:50 UTC
These values can be set using command line parameters. Having multiple folders would be support nightmare on updates.