Bug 427105 - Please add support for cue sheets
Summary: Please add support for cue sheets
Status: RESOLVED DUPLICATE of bug 398694
Alias: None
Product: Elisa
Classification: Applications
Component: general (show other bugs)
Version: 20.08.1
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-29 08:20 UTC by Bernhard Nornes Lotsberg
Modified: 2020-09-29 10:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***