Open bflorat opened 9 years ago
Commented by bflorat on 12 May 2008 14:22 UTC Seems that .cue files are provided with wav or CD ? What's the use case ? if we find a .cue file at refreshing, we use its data to build jajuk collection ?
Commented by fsck222 on 12 May 2008 18:49 UTC Cue files are text file indicating track position inside a corresponding single music FILE APE, mp3, etc...
if a .cue file is find, jajuk should add all the tracks contains in the corresponding FILE (hence starting (INDEX) and ending position of each TRACK will have to be calculated).
Commented by bflorat on 13 May 2008 18:43 UTC Well... I now understand the request but it seems very costly to implement as it would break the current data model :
current : 1 track -> n files after : n track <-> n files (as we now consider that 1 file -> n tracks)
Commented by Quigley on 18 Apr 2010 16:41 UTC Still, I think this would be a nice feature to have (Foobar and aTunes have it too). It shouldn't be that difficult. Maybe the easiest is to have a flag for tracks to indicate it is not linked to one file. Then in all track access routines pertaining to the audio, use the cue information to play the file.
The tags and the timings in the cue sheet can be loaded from the cue file into the library while refreshing. Agreed, this might be tricky, as it needs to be specially handled. Also make sure to discard the original file in the cue sheet from the library, otherwise the whole CD becomes a separate track besides the extracted individual tracks.
In the file list, a cue file should be handled similar to a playlist, but the individual tracks still being used as such, so they are added with options like add whole folders, shuffle, etc.
Commented by bflorat on 19 Apr 2010 21:51 UTC Thanks for these suggestions.
This is maybe an interesting feature but jajuk current data model dealing with files cannot handle it without a deep refactoring and added complexity and I'm far from being sure that the feature worths it.
Anyone, though, is welcomed to come with a patch or an implementation in a dedicated branch.
Reported by fsck222 on 25 Apr 2008 19:09 UTC support for .cue files. See http://en.wikipedia.org/wiki/Cue_sheet_%28computing%29