mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 23:20:30 -04:00
The biggest change is that the database is now MySQL instead of SQLite. Slimserver starts it's own MySQL instance so you don't need to deal with MySQL configuration, but both the client and server are now dependencies. For more info see the change log at: http://www.slimdevices.com/Changelog6.html Most of the binary perl modules are now port dependencies. YAML-Syck is not yet because it didn't work. I suspect a version issues (the ports version is newer).
34 lines
686 B
Perl
34 lines
686 B
Perl
|
|
$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 = "/var/db/slimserver/playlists";
|
|
+
|
|
} else {
|
|
|
|
$path = '';
|
|
@@ -424,7 +428,7 @@
|
|
|
|
} elsif ($os eq 'unix') {
|
|
|
|
- $CacheDir = catdir($ENV{'HOME'},'Cache');
|
|
+ $CacheDir = "/var/db/slimserver/cache";
|
|
}
|
|
|
|
my @CacheDirs = splitdir($CacheDir);
|
|
@@ -1014,7 +1018,7 @@
|
|
} elsif (Slim::Utils::OSDetect::OS() eq 'win') {
|
|
$prefsPath = $Bin;
|
|
} else {
|
|
- $prefsPath = $ENV{'HOME'};
|
|
+ $prefsPath = "/var/db/slimserver";
|
|
}
|
|
|
|
$::d_prefs && msg("The default prefs directory is $prefsPath\n");
|