aboutsummaryrefslogtreecommitdiffstats
path: root/src/song_update.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-02-12 18:32:26 +0100
committerMax Kellermann <max@duempel.org>2012-02-12 18:40:55 +0100
commita7f13d841f5373133e2f38882a2f65208aaf8879 (patch)
treed240c9926e16f8a4e209bc83ef7f07b72c609384 /src/song_update.c
parent686d8bbe6956b53000228c3754a278e7805467fc (diff)
downloadmpd-a7f13d841f5373133e2f38882a2f65208aaf8879.tar.gz
mpd-a7f13d841f5373133e2f38882a2f65208aaf8879.tar.xz
mpd-a7f13d841f5373133e2f38882a2f65208aaf8879.zip
song_update: update the "has_playlist" flag
Diffstat (limited to '')
-rw-r--r--src/song_update.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/song_update.c b/src/song_update.c
index e58896ed2..1d8f22d4d 100644
--- a/src/song_update.c
+++ b/src/song_update.c
@@ -118,7 +118,7 @@ song_file_update(struct song *song)
/* load file tag */
song->tag = tag_new();
if (decoder_plugin_scan_file(plugin, path_fs,
- &add_tag_handler, song->tag))
+ &full_tag_handler, song->tag))
break;
tag_free(song->tag);
@@ -139,7 +139,7 @@ song_file_update(struct song *song)
if (is != NULL) {
song->tag = tag_new();
if (decoder_plugin_scan_stream(plugin, is,
- &add_tag_handler,
+ &full_tag_handler,
song->tag))
break;
@@ -162,7 +162,7 @@ song_file_update(struct song *song)
}
if (song->tag != NULL && tag_is_empty(song->tag))
- tag_scan_fallback(path_fs, &add_tag_handler, song->tag);
+ tag_scan_fallback(path_fs, &full_tag_handler, song->tag);
g_free(path_fs);
return song->tag != NULL;