cboxdoerfer / ddb_waveform_seekbar

Waveform Seekbar plugin for DeaDBeeF audio player
74 stars 10 forks source link

When playing multi-track flac files, the same waveform is displayed for all tracks. #4

Closed randyes closed 10 years ago

randyes commented 10 years ago

When deadbeef is playing a multi-track flac file (ie. a flac file with an embedded cue sheet) the same waveform is displayed regardless of which track is playing.

Steps to recreate:

  1. Configure deadbeef to display a playlist and waveform_seekbar
  2. Add a multi-track flac (flac with embedded cue sheet) to the playlist
  3. Play one track in the flac. Note the appearance of the waveform.
  4. Play a different track in the flac. Note that the appearance of the waveform does not change from that of step 3.
  5. Repeat step 4 as necessary

Expected behavior: The waveform displayed in the waveform seekbar should always be that of the currently playing track, even when playing a multi-track files with embedded cue sheets.

More information: The selection of which track's waveform is actually displayed is different for each flac file. In other words, it will always display track 1's waveform for file A, always track 6's waveform for file B, track 3 for file C and so on.

Hope this helps!

-Randy

cboxdoerfer commented 10 years ago

Thx for reporting.

Actually I totally forgot about multi-track files, I will fix this as soon as possible.

cboxdoerfer commented 10 years ago

Should be fixed. Plz let me know if everything works as expected.

Edit: You'll find the binary with the fix here: https://github.com/cboxdoerfer/ddb_waveform_seekbar#dev

randyes commented 10 years ago

Works beautifully! Thanks for the quick fix! Sorry it took me so long to get back to you.

Looking forward to the in-advance waveform scanning enhancement! That should perfect this already awesome plug-in, IMO. Thank you for writing it!