diff options
Diffstat (limited to 'src/update.c')
-rw-r--r-- | src/update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update.c b/src/update.c index 33253065f..e41a23b91 100644 --- a/src/update.c +++ b/src/update.c @@ -201,7 +201,7 @@ addToDirectory(struct directory *directory, const char *name) struct song *song; const char *shortname = mpd_basename(name); - if (!(song = newSong(shortname, directory))) + if (!(song = song_file_load(shortname, directory))) return -1; songvec_add(&directory->songs, song); LOG("added %s\n", name); |