aboutsummaryrefslogtreecommitdiffstats
path: root/src/base/UPathUtils.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/UPathUtils.pas')
-rw-r--r--src/base/UPathUtils.pas5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/base/UPathUtils.pas b/src/base/UPathUtils.pas
index c2bcdd4b..eb98302e 100644
--- a/src/base/UPathUtils.pas
+++ b/src/base/UPathUtils.pas
@@ -154,6 +154,7 @@ end;
procedure InitializePaths;
var
SharedPath, UserPath: IPath;
+ MacOSXSongPath: IPath;
begin
// Log directory (must be writable)
if (not FindPath(LogPath, Platform.GetLogPath, true)) then
@@ -185,8 +186,12 @@ begin
// Add song paths
AddSongPath(Params.SongPath);
+{$IF Defined(DARWIN)}
+ AddSongPath(Platform.GetMusicPath);
+{$ELSE}
AddSongPath(SharedPath.Append('songs'));
AddSongPath(UserPath.Append('songs'));
+{$IFEND}
// Add category cover paths
AddCoverPath(SharedPath.Append('covers'));