diff options
author | waker <wakeroid@gmail.com> | 2012-10-29 08:55:51 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-10-29 08:55:51 +0100 |
commit | e9f26a0e051f81312a1d356079b915eb29d00a5e (patch) | |
tree | 65851886d43b56a23a2827b2c0608446f68329c7 /plugins/flac | |
parent | 94a2c240870c60626f4f90ac75fc73a96407ea0a (diff) |
flac: fixed cue track index bug
Diffstat (limited to 'plugins/flac')
-rw-r--r-- | plugins/flac/flac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/flac/flac.c b/plugins/flac/flac.c index 7f58a03e..b451dcfb 100644 --- a/plugins/flac/flac.c +++ b/plugins/flac/flac.c @@ -624,7 +624,7 @@ cflac_insert_with_embedded_cue (ddb_playlist_t *plt, DB_playItem_t *after, DB_pl DB_playItem_t *it = deadbeef->pl_item_alloc_init (uri, dec); deadbeef->pl_set_meta_int (it, ":TRACKNUM", i+1); - deadbeef->pl_set_meta_int (it, "TRACK", i); + deadbeef->pl_set_meta_int (it, "TRACK", i+1); char id[100]; snprintf (id, sizeof (id), "TITLE[%d]", i+1); deadbeef->pl_add_meta (it, "title", deadbeef->pl_find_meta (origin, id)); |