diff options
author | Max Kellermann <max@duempel.org> | 2009-11-07 16:03:25 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-07 16:03:25 +0100 |
commit | 1a4cfc3d90b1ac3cc612d3f610caadb04179820c (patch) | |
tree | 05f42fe2d9833bcf5fbd4eec3c6b2d6c605e46fb /src | |
parent | 2f1bd39be8d0373c34c38fbe4e1249732c3f745b (diff) | |
download | mpd-1a4cfc3d90b1ac3cc612d3f610caadb04179820c.tar.gz mpd-1a4cfc3d90b1ac3cc612d3f610caadb04179820c.tar.xz mpd-1a4cfc3d90b1ac3cc612d3f610caadb04179820c.zip |
update_walk: log new container files
Diffstat (limited to 'src')
-rw-r--r-- | src/update_walk.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/update_walk.c b/src/update_walk.c index aa01ca826..2c1049472 100644 --- a/src/update_walk.c +++ b/src/update_walk.c @@ -478,7 +478,6 @@ update_container_file( struct directory* directory, song->mtime = st->st_mtime; child_path_fs = map_directory_child_fs(contdir, vtrack); - g_free(vtrack); song->tag = plugin->tag_dup(child_path_fs); g_free(child_path_fs); @@ -486,6 +485,10 @@ update_container_file( struct directory* directory, songvec_add(&contdir->songs, song); modified = true; + + g_message("added %s/%s", + directory_get_path(directory), vtrack); + g_free(vtrack); } g_free(pathname); |