diff options
author | Max Kellermann <max@duempel.org> | 2015-03-03 13:20:39 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-03-03 13:20:43 +0100 |
commit | ef5090c3976ca14784c7b98f3d110e1213c158ba (patch) | |
tree | 6234dee06a275aa8737d1668fad37066bff18a61 /src/db | |
parent | cf073de36c77adc6dd28862a0cab3a81a461b9f2 (diff) |
db/update/Container: convert vtrack name to FS charset
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/update/Container.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
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); |