From ef5090c3976ca14784c7b98f3d110e1213c158ba Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 3 Mar 2015 13:20:39 +0100 Subject: db/update/Container: convert vtrack name to FS charset --- src/db/update/Container.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/db') diff --git a/src/db/update/Container.cxx b/src/db/update/Container.cxx index e2f814eee..93ba5ff20 100644 --- a/src/db/update/Container.cxx +++ b/src/db/update/Container.cxx @@ -106,8 +106,11 @@ UpdateWalk::UpdateContainerFile(Directory &directory, // shouldn't be necessary but it's there.. song->mtime = info.mtime; + const auto vtrack_fs = AllocatedPath::FromUTF8(vtrack); + // TODO: check vtrack_fs.IsNull() + const auto child_path_fs = AllocatedPath::Build(pathname, - vtrack); + vtrack_fs); plugin.ScanFile(child_path_fs, add_tag_handler, &tag_builder); -- cgit v1.2.3