aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-30 01:02:24 +0200
committerMax Kellermann <max@duempel.org>2014-08-30 01:02:24 +0200
commit8d822ebdb47c77d23287f3c8fd7a4871527577b0 (patch)
tree492fc406a408135a078f94390a9397cb6fbe9e71
parentbc5b5afcbfdf0772c2cee78e09a37758b81db5da (diff)
downloadmpd-8d822ebdb47c77d23287f3c8fd7a4871527577b0.tar.gz
mpd-8d822ebdb47c77d23287f3c8fd7a4871527577b0.tar.xz
mpd-8d822ebdb47c77d23287f3c8fd7a4871527577b0.zip
PlaylistMapper: pass the Storage::MapUTF() result to playlist_open_remote()
Finally allows loading playlist files on a storage plugin. Commit 297e2747 attempted to implement this, but failed due to this bug.
-rw-r--r--src/playlist/PlaylistMapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist/PlaylistMapper.cxx b/src/playlist/PlaylistMapper.cxx
index c50254309..ad92ea6f1 100644
--- a/src/playlist/PlaylistMapper.cxx
+++ b/src/playlist/PlaylistMapper.cxx
@@ -65,7 +65,7 @@ playlist_open_in_storage(const char *uri, const Storage *storage,
}
const auto uri2 = storage->MapUTF8(uri);
- return playlist_open_remote(uri, mutex, cond);
+ return playlist_open_remote(uri2.c_str(), mutex, cond);
}
#endif