diff options
Diffstat (limited to 'plugins/m3u')
-rw-r--r-- | plugins/m3u/m3u.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/m3u/m3u.c b/plugins/m3u/m3u.c index e874776d..bedaff6f 100644 --- a/plugins/m3u/m3u.c +++ b/plugins/m3u/m3u.c @@ -199,6 +199,9 @@ load_m3u (ddb_playlist_t *plt, DB_playItem_t *after, const char *fname, int *pab deadbeef->pl_add_meta (it, "artist", artist); } } + // reset title/artist, to avoid them from being reused in the next track + memset (title, 0, sizeof (title)); + memset (artist, 0, sizeof (artist)); } else { int l = strlen (nm); |