Bugzilla – Bug 5638
SqueezeCenter should write prefs to ~/Library/Application Support/SqueezeCenter
Last modified: 2009-09-08 09:26:18 UTC
SqueezeCenter for Macintosh is currently writing prefs to ~/Library/PreferencePanes/SqueezeCenter.prefPane/Contents/server/prefs/ it should write prefs to ~/Library/Application Support/SqueezeCenter/ or similar. One of the problems this causes is the loss of prefs during an update.
is this valid for 10.3 as well as 10.4? I'm new to 10.4, and I'm not familiar with the "application support" folder tree.
I believe that 10.3 and 10.4 both have ~/Library/Application Support/ See: http://developer.apple.com/documentation/MacOSX/Conceptual/BPFileSystem/Articles/WhereToPutFiles.html
Dean - where would I find code for this? Is it a shell script? C code?
You should be able to create the paths in perl in OSDetect.pm
Created attachment 2267 [details] create and use proper osx prefs dir something like this should do it. note that logs and cache dirs still point to SlimServer naming.
Ah, that's good. But let's take the opportunity to fix all the OSX paths at once and move away from ~/Library/SlimDevices to ~/Library/Application Support/SqueezeCenter for plugins, etc... as well as rename to SqueezeCenter for logs, caches etc. when writing out. Untested patch of what I'm thinking attached.
Created attachment 2269 [details] untested, more complete, patch
Looking good on 10.4.10 - checked in as change 13803
This bug is being closed since it was resolved for a version which is now released! Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html If you are still seeing this bug, please re-open it and we will consider it for a future release.