db/update/Container: convert vtrack name to FS charset
This commit is contained in:
parent
cf073de36c
commit
ef5090c397
@ -106,8 +106,11 @@ UpdateWalk::UpdateContainerFile(Directory &directory,
|
|||||||
// shouldn't be necessary but it's there..
|
// shouldn't be necessary but it's there..
|
||||||
song->mtime = info.mtime;
|
song->mtime = info.mtime;
|
||||||
|
|
||||||
|
const auto vtrack_fs = AllocatedPath::FromUTF8(vtrack);
|
||||||
|
// TODO: check vtrack_fs.IsNull()
|
||||||
|
|
||||||
const auto child_path_fs = AllocatedPath::Build(pathname,
|
const auto child_path_fs = AllocatedPath::Build(pathname,
|
||||||
vtrack);
|
vtrack_fs);
|
||||||
plugin.ScanFile(child_path_fs,
|
plugin.ScanFile(child_path_fs,
|
||||||
add_tag_handler, &tag_builder);
|
add_tag_handler, &tag_builder);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user