Bug 427105

Summary: Please add support for cue sheets
Product: [Applications] Elisa Reporter: Bernhard Nornes Lotsberg <bernhardnorneslotsberg>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: RESOLVED DUPLICATE    
Severity: wishlist CC: bernhardnorneslotsberg
Priority: NOR    
Version: 20.08.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bernhard Nornes Lotsberg 2020-09-29 08:20:05 UTC
SUMMARY
Many albums are downloaded in the form of 1 large music file + a .cue sheet that describes where in these files each song starts. I think adding support for this in Elisa would be great as it is the only thing keeping me from using it. 

STEPS TO REPRODUCE
1. Add albums that consist of 1 file + a cue sheet.

OBSERVED RESULT
Elisa does not read the .cue, and treats the file as one long song.

EXPECTED RESULT
Elisa parses the cue sheet and lists each song individually, showing no sign to the use that the album is really just one large file. 



ADDITIONAL INFORMATION

The logic here would be pretty simple to implement: 
1. When Elisa finds music files in a folder, also search for .cue files.
2.  If any of the music files in the folder are referenced by the .cue, add the music so that it corresponds to the cue sheet.
3. Do not add the entire music file as one long song.

It may be a good idea to use libcue (https://github.com/lipnitsk/libcue) to parse the files. Audacious uses that.
Comment 1 Bernhard Nornes Lotsberg 2020-09-29 10:46:22 UTC
Woops, I see that this is a duplicate. Hopefully there is still some useful info in my report.

*** This bug has been marked as a duplicate of bug 398694 ***