update_walk: log new container files
This commit is contained in:
parent
2f1bd39be8
commit
1a4cfc3d90
@ -478,7 +478,6 @@ update_container_file( struct directory* directory,
|
|||||||
song->mtime = st->st_mtime;
|
song->mtime = st->st_mtime;
|
||||||
|
|
||||||
child_path_fs = map_directory_child_fs(contdir, vtrack);
|
child_path_fs = map_directory_child_fs(contdir, vtrack);
|
||||||
g_free(vtrack);
|
|
||||||
|
|
||||||
song->tag = plugin->tag_dup(child_path_fs);
|
song->tag = plugin->tag_dup(child_path_fs);
|
||||||
g_free(child_path_fs);
|
g_free(child_path_fs);
|
||||||
@ -486,6 +485,10 @@ update_container_file( struct directory* directory,
|
|||||||
songvec_add(&contdir->songs, song);
|
songvec_add(&contdir->songs, song);
|
||||||
|
|
||||||
modified = true;
|
modified = true;
|
||||||
|
|
||||||
|
g_message("added %s/%s",
|
||||||
|
directory_get_path(directory), vtrack);
|
||||||
|
g_free(vtrack);
|
||||||
}
|
}
|
||||||
|
|
||||||
g_free(pathname);
|
g_free(pathname);
|
||||||
|
Loading…
Reference in New Issue
Block a user