aboutsummaryrefslogtreecommitdiffstats
path: root/src/DespotifyUtils.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DespotifyUtils.cxx')
-rw-r--r--src/DespotifyUtils.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DespotifyUtils.cxx b/src/DespotifyUtils.cxx
index 5bfcfd6a4..c2e88b013 100644
--- a/src/DespotifyUtils.cxx
+++ b/src/DespotifyUtils.cxx
@@ -108,7 +108,7 @@ mpd_despotify_tag_from_track(struct ds_track *track)
tag.AddItem(TAG_COMMENT, comment);
tag.SetTime(track->length / 1000);
- return tag.Commit();
+ return tag.CommitNew();
}
struct despotify_session *mpd_despotify_get_session(void)