strawberry icon indicating copy to clipboard operation
strawberry copied to clipboard

Strawberry can't properly save playlists with songs from CUE sheets

Open OlegAckbar opened this issue 1 year ago • 1 comments

  • [x] I have checked the FAQ for answers.
  • [x] I have checked the Changelog that the issue is not already fixed.
  • [x] I believe this issue is a bug, and not a general technical issue, question or feature requests that can be discussed on the forum.

Describe the bug Strawberry don't save positions offsets for source file when songs added from CUE sheets when saving playlist. It only saves path to source image without specifying offsets in that file, so entire playlist consists of just one file.

To Reproduce

  1. Create playlist
  2. Import CUE sheet
  3. Save playlist
  4. Try to load that playlist
  5. Get a playlist consisting of one file duplicated multiple times

Expected behavior Time offset for each entry from CUE sheet.

System Information:

  • Operating system: Kubuntu 22.10
  • Strawberry Version: 1.0.17-kinetic APT-Sources: https://ppa.launchpadcontent.net/jonaski/strawberry/ubuntu kinetic/main

Additional context Here's example of such playlist. As you can see it even when it saved with metadata it only contains path to original CD image with no information about position inside that image. persona5cd1.xspf.txt

OlegAckbar avatar Apr 16 '23 09:04 OlegAckbar

Yet it possible to save playlists with positions inside CUE sheet. Here's how AIMP doing this: Default.m3u8.txt

OlegAckbar avatar Apr 16 '23 09:04 OlegAckbar

As far as I can tell there is no field in the XSPF specifications (https://www.xspf.org/spec) for saving index/position, there is trackNum, so in that case we have to map by url and trackNum to the collection, or read the CUE file to find the position.

jonaski avatar Mar 30 '24 22:03 jonaski