From 8d822ebdb47c77d23287f3c8fd7a4871527577b0 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 30 Aug 2014 01:02:24 +0200 Subject: 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. --- src/playlist/PlaylistMapper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/playlist/PlaylistMapper.cxx') 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 -- cgit v1.2.3