clementine-player / Clementine

:tangerine: Clementine Music Player
https://www.clementine-player.org/
GNU General Public License v3.0
3.73k stars 674 forks source link

Player doesn't load all tracks from .cue file - again #7220

Open matlacki opened 1 year ago

matlacki commented 1 year ago

Hi, the player does not support loading tracks from *cue file if the sound file is over 999 minutes long.

Several years ago there was an identical issue "Player doesn't load all tracks from .cue file #1658" where the length limit of an audio file was increased up to 999 minutes. I have a single-file audiobook which has 57 hours (Lord of the rings). The player just loads first 86 tracks of the cue file. The track 87 starts at 998 min and leaps into the region of >1000:00:00

TRACK 87 AUDIO
    PERFORMER "Władca Pierścieni Tom I-III - John Ronald R. Tolkien"
    REM "0087 wladca_pierscieni.2fbSQ4.mp3" 59891492
    TITLE "Ks.2 Rozdz.4 Wedrowka w ciemnosciach - g"
    INDEX 01 998:11:11

Some regular expressions have been fixed in the old issue that allowed the "number of minutes" consist of 2 or 3 minutes. Can we increase that limit again? It seems to me that 4 digits have their uses. The CUE file is loaded properly by VLC and "mpv Media player" installed by default in ubuntu.