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:
@@ -65,7 +65,7 @@ playlist_open_in_storage(const char *uri, const Storage *storage,
|
|||||||
}
|
}
|
||||||
|
|
||||||
const auto uri2 = storage->MapUTF8(uri);
|
const auto uri2 = storage->MapUTF8(uri);
|
||||||
return playlist_open_remote(uri, mutex, cond);
|
return playlist_open_remote(uri2.c_str(), mutex, cond);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user