Thanks for the cue sheet support (hidden tracks)
-
It seems installing the latest development version 1.2.3-2.14 fixed the problem where sometimes the whole media file was played instead of a particular track of a cue sheet. Thank you.
So I felt like revisiting the specs for cue sheets and was surprised to learn there is a way to hide tracks with the pre-gap trick, which I hadn't paid attention to before: https://wiki.hydrogenaud.io/index.php?title=Cue_sheet#A_single-file_cue_sheet_with_a_TRACK_01_INDEX_00_hidden_track
Tried it with Strawberry and I was very pleased to see that it works nicely. The track is shown normally in the playlist, but with zero duration, so it's skipped when playing, while keeping the user aware of it. I play cue sheets a lot, so, from the bottom of my soul, big thanks to the team for your work, and particularly for the support of cue sheets.
For those interested, an example to hide the advertisement of the following section:
TRACK 18 AUDIO PERFORMER "Johnny Wisehost" TITLE "Comments" SONGWRITER " " INDEX 01 49:23:07 TRACK 19 AUDIO PERFORMER "Some Radio Station" TITLE "Intermission advertisements" SONGWRITER " " INDEX 01 49:52:66 TRACK 20 AUDIO PERFORMER "Johnny Wisehost" TITLE "Comments" SONGWRITER " " INDEX 01 50:48:07
- In track 19, change "INDEX 01" to "INDEX 00"
- Copy the "INDEX 01" line of track 20 and paste it below the "INDEX 00" of track 19.
- Subtract one unit from the last number of the new "INDEX 01".
Those are not hundredths of second but CDDA frames, with frecuency 75/second. Subtracting one from "INDEX 01 03:00:00" gives "INDEX 01 02:59:74"
Result:
TRACK 18 AUDIO PERFORMER "Johnny Wisehost" TITLE "Comments" SONGWRITER " " INDEX 01 49:23:07 TRACK 19 AUDIO PERFORMER "Some Radio Station" TITLE "Intermission advertisements" SONGWRITER " " INDEX 00 49:52:66 INDEX 01 50:48:06 TRACK 20 AUDIO PERFORMER "Johnny Wisehost" TITLE "Comments" SONGWRITER " " INDEX 01 50:48:07
Had I known about this earlier I'd have saved a lot of headaches, but better late than never.
Curious about the blank spaces as SONGWRITER values? For some reason I needed to do that time ago for the tag to work at all (can't remember exactly why or which player needed it), so the script always inserts it when there is no composer data. Too lazy to check now if it's necessary, but left them in case that helps someone.
// Edited: This should have gone to "Comments and Feedback", sorry. Maybe and admin can move it.
-
About the aforementioned playlist behavior with cue sheets: now it correctly moves to the next track, but sometimes, after having played one from a regular file, it doesn't start the next one from a cue sheet, just stops playing.
When this has happened, Strawberry was not the active window; it had been some time without user interaction. The media files of the stopped tracks were both flac and mp3. I'll report if I find more info.
By the way, thanks also for fixing the UTF-8 encoding.