aboutsummaryrefslogtreecommitdiffstats
path: root/test/read_tags.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-26 15:14:54 +0200
committerMax Kellermann <max@duempel.org>2013-10-26 15:38:29 +0200
commita40246d3123d4bd0d1be638cd7f7b91274d8f23d (patch)
treed1384fdce2b186c00b4697d5475c97bf4dbc4b41 /test/read_tags.cxx
parent4a5aad0948eb782ec6b74a1f038c0e5635c1bb9b (diff)
downloadmpd-a40246d3123d4bd0d1be638cd7f7b91274d8f23d.tar.gz
mpd-a40246d3123d4bd0d1be638cd7f7b91274d8f23d.tar.xz
mpd-a40246d3123d4bd0d1be638cd7f7b91274d8f23d.zip
TagFile: use Path instead of const char *
Diffstat (limited to '')
-rw-r--r--test/read_tags.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/read_tags.cxx b/test/read_tags.cxx
index 2d25041f5..90f1424d9 100644
--- a/test/read_tags.cxx
+++ b/test/read_tags.cxx
@@ -28,6 +28,7 @@
#include "tag/TagId3.hxx"
#include "tag/ApeTag.hxx"
#include "util/Error.hxx"
+#include "fs/Path.hxx"
#include "thread/Cond.hxx"
#include "Log.hxx"
@@ -221,9 +222,9 @@ int main(int argc, char **argv)
}
if (empty) {
- tag_ape_scan2(path, &print_handler, NULL);
+ tag_ape_scan2(Path::FromFS(path), &print_handler, NULL);
if (empty)
- tag_id3_scan(path, &print_handler, NULL);
+ tag_id3_scan(Path::FromFS(path), &print_handler, NULL);
}
return 0;