summaryrefslogtreecommitdiff
path: root/audio/squeezecenter/files/patch-Slim_Utils_Prefs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'audio/squeezecenter/files/patch-Slim_Utils_Prefs.pm')
-rw-r--r--audio/squeezecenter/files/patch-Slim_Utils_Prefs.pm38
1 files changed, 9 insertions, 29 deletions
diff --git a/audio/squeezecenter/files/patch-Slim_Utils_Prefs.pm b/audio/squeezecenter/files/patch-Slim_Utils_Prefs.pm
index c7e5178a5b5b..f53ea9f04ff1 100644
--- a/audio/squeezecenter/files/patch-Slim_Utils_Prefs.pm
+++ b/audio/squeezecenter/files/patch-Slim_Utils_Prefs.pm
@@ -3,32 +3,12 @@ $FreeBSD$
--- Slim/Utils/Prefs.pm.orig
+++ Slim/Utils/Prefs.pm
-@@ -392,6 +392,10 @@
-
- $path = $Bin . '/Playlists';
-
-+ } elsif (Slim::Utils::OSDetect::OS() eq 'unix') {
-+
-+ $path = "%%SLIMDBDIR%%/playlists";
-+
- } else {
-
- $path = '';
-@@ -424,7 +428,7 @@
-
- } elsif ($os eq 'unix') {
-
-- $CacheDir = catdir($ENV{'HOME'},'Cache');
-+ $CacheDir = "%%SLIMDBDIR%%/cache";
-
- } elsif ($os eq 'win' && Slim::Utils::OSDetect::details->{'osName'} =~ /Vista/) {
-
-@@ -1022,7 +1026,7 @@
- $prefsPath = $Bin;
- }
- } else {
-- $prefsPath = $ENV{'HOME'};
-+ $prefsPath = "%%SLIMDBDIR%%";
- }
-
- $::d_prefs && msg("The default prefs directory is $prefsPath\n");
+@@ -235,7 +235,7 @@
+ ],
+ 'titleFormatWeb' => 1,
+ # Server Settings - UserInterface
+- 'skin' => 'Default',
++ 'skin' => '%%DEFAULT_SKIN%%',
+ 'itemsPerPage' => 50,
+ 'refreshRate' => 30,
+ 'coverArt' => '',