wilsonyu2006 / mutagen

Automatically exported from code.google.com/p/mutagen
GNU General Public License v2.0
0 stars 0 forks source link

Parse cuesheet #138

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
foobar2000 can use cuesheets, which is set as flac tag, to show individual 
tracks in flac file. As far as I can see mutagen currently does not support 
parsing or modifying  such cuesheets.

My personal usecase for this feature is following. I have my CDs ripped as 
multitrack flac files with cusheet in flac tags (using foobar2000). I wanted to 
use beets to work with my files, but it does not support importing such files 
as separate tracks. As beets is relying on mutagen for reading/writing tags it 
would make much sense to add this f-ty to mutagen.

Original issue reported on code.google.com by eriks.do...@gmail.com on 30 Mar 2013 at 8:47

GoogleCodeExporter commented 8 years ago
I have created a class for basic parsing and editing of cue sheets. It is not 
relying on anything else in mutagen library (except in demo script). Works with 
python 2.7. This could be used automatically when loading file in mutagen.flac 
if cuesheet tag is found.
Usage is not limited to cue sheets embedded in flac, can be used for standalone 
cue sheets, too.
I called the class TagSheet so it does not conflict with CueSheet class in 
mutagen.flac.
Demo usage is in the script __main__ part.
Please, comment whether this sounds interesting for integrating in mutagen 
library.

Original comment by eriks.do...@gmail.com on 1 Apr 2013 at 8:21

Attachments:

GoogleCodeExporter commented 8 years ago
This has nothing to do with flac, just cue sheet parsing.
Not mutagen's problem.

Original comment by reiter.christoph@gmail.com on 1 Apr 2013 at 10:42