Bugzilla – Bug 11797
Support for playlists of tracks from Flac files with embedded cuesheets
Last modified: 2012-02-27 17:33:18 UTC
Hello, I have my CD collection ripped as a bunch of Flac files with embedded cuesheets (so 1 Flac file per CD). I'm trying to generate playlists composed of individual tracks (as opposed to playlists of albums), but I couldn't find any support for such playlists in any of the playlist file formats supported by SqueezeCenter when what one has is Flac files with embedded cuesheets. (The playlist needs to refer to the flac file and to the track number within that file.) Having such support would be very nice, otherwise my music collection feels like a second-class citizen in the SqueezeCenter world, compared to the 1 file per track ripping method. I'd be ready to help implementing such a feature, if someone would only point me in the right direction. My main question is, which existing playlist format should I modify/augment to support this? If the feature already exists, thanks in advance for pointing out to me which playlist file format already supports this, and sorry for the extraneous bug report.
Steven, your thoughts on this
Andy thinks this works; is he wrong?
Are we talking about playlists that are created outside of SqueezeCenter and later imported? I'm sure one can create playlists inside SqueezeCenter using individual tracks from embedded and non embedded cue sheets.
Yes, that's more what I had in mind. My use case is writing a script that creates playlists (from my iTunes database, and from other source) and drops them into the SqueezeCenter playlist directory. I've looked at all the playlist file formats supported by SqueezeCenter a little while ago, and while all are really easy to create from scripts, none support inserting a track that's from a whole-cd flac file with cuesheet. I guess what I'm asking for is a playlist format (either new or an extension of an existing one) that's a text representation of all that can be done with the playlists from SqueezeCenter (which are stored in an SQL database, and so not very easily transportable, etc.). Is there a text playlist format that would be a better choice than the others to extend to support that sort of things?
Ah, if you want to make manual playlist using tracks inside cue sheets, you need to use the special SC fragment URL format. Try creating a playlist using the SC web UI, saving it, and then looking at the URLs in the playlist for an example.
I saw the special SC fragment format URL... I assume what's after the '#' is the start and end time in seconds since the beginning of the flac file, right? Working with track indices instead of seconds would make generating these files much more easy for me. Do you think doing something like that is possible in a not too complex way? Would you accept a patch that implements that? I'd be ready to give it a try...
This is a won't-fix, if you want to refer to tracks within another track, you have to use the #<start>-<end> URL fragment method.
Closing resolved bugs - if you feel this bug still exists please first re-test with the latest SW/FW version. If you are able to reproduce then feel free to reopen and attach new logs / steps to reproduce.