aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/playlist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/playlist.c b/src/playlist.c
index 4cc4a7182..3b7c9d664 100644
--- a/src/playlist.c
+++ b/src/playlist.c
@@ -917,10 +917,10 @@ static void syncCurrentPlayerDecodeMetadata(void)
if (song->type == SONG_TYPE_URL &&
0 == strcmp(get_song_url(path_max_tmp, song), songPlayer->url) &&
- !mpdTagsAreEqual(song->tag, songPlayer->tag)) {
+ !tag_equal(song->tag, songPlayer->tag)) {
if (song->tag)
- freeMpdTag(song->tag);
- song->tag = mpdTagDup(songPlayer->tag);
+ tag_free(song->tag);
+ song->tag = tag_dup(songPlayer->tag);
playlist.songMod[songNum] = playlist.version;
incrPlaylistVersion();
}