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.
This commit is contained in:
Max Kellermann 2014-08-30 01:02:24 +02:00
parent bc5b5afcbf
commit 8d822ebdb4
1 changed files with 1 additions and 1 deletions

View File

@ -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