aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistFile.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-03-05 08:36:06 +0100
committerMax Kellermann <max@duempel.org>2015-03-05 08:36:17 +0100
commit8f9fe1b11a67444a3697e4ddeb365ac074ce0d07 (patch)
tree0a61011d6c6e4095f3f91fc006d277ad1f3a6a2a /src/PlaylistFile.cxx
parent9ed0152cf27f6151309a1261370f555368fb4885 (diff)
downloadmpd-8f9fe1b11a67444a3697e4ddeb365ac074ce0d07.tar.gz
mpd-8f9fe1b11a67444a3697e4ddeb365ac074ce0d07.tar.xz
mpd-8f9fe1b11a67444a3697e4ddeb365ac074ce0d07.zip
PlaylistFile: don't insert "file://" before absolute paths
This prefix is deprecated.
Diffstat (limited to '')
-rw-r--r--src/PlaylistFile.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/PlaylistFile.cxx b/src/PlaylistFile.cxx
index 43dcca294..bc8418b9a 100644
--- a/src/PlaylistFile.cxx
+++ b/src/PlaylistFile.cxx
@@ -279,8 +279,6 @@ LoadPlaylistFile(const char *utf8path, Error &error)
uri_utf8 = PathToUTF8(s);
if (uri_utf8.empty())
continue;
-
- uri_utf8.insert(0, "file://");
} else
continue;
}