diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-04-24 20:00:21 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-04-24 20:00:21 +0200 |
commit | b1e379ec5b930f2f26c963f4c42d095be205c372 (patch) | |
tree | 9659ae91036d2ebe4089af400ef601f82a0ef674 /playlist.c | |
parent | b5892fa4b10fc3a42178f59a5203faf210355201 (diff) |
set cuesheet tag flag while adding tracks
Diffstat (limited to 'playlist.c')
-rw-r--r-- | playlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -656,7 +656,7 @@ pl_process_cue_track (playItem_t *after, const char *fname, playItem_t **prev, c trace ("fail :-(\n"); } } - //trace ("calc endsample=%d, prevtime=%f, samplerate=%d, prev track duration=%f\n", (*prev)->endsample, prevtime, samplerate, (*prev)->duration); + trace ("startsample=%d, endsample=%d, prevtime=%f, samplerate=%d, prev track duration=%f\n", (*prev)->startsample, (*prev)->endsample, prevtime, samplerate, (*prev)->_duration); } // non-compliant hack to handle tracks which only store pregap info if (!index01[0]) { @@ -688,7 +688,7 @@ pl_process_cue_track (playItem_t *after, const char *fname, playItem_t **prev, c if (date[0]) { pl_add_meta (it, "year", date); } - it->_flags |= DDB_IS_SUBTRACK; + it->_flags |= DDB_IS_SUBTRACK | DDB_TAG_CUESHEET; after = pl_insert_item (after, it); pl_item_unref (it); *prev = it; |