Diskwriter with cuesheet generation for single file output.
I have added a new checkbox to the "Output directory" group: "Create cuesheet for single file". If selected an accompanying cuesheet will be created when you choose "Convert" > "Run conversion, single file output".
If your image has the path "C:\My Music\myfile.flac" the cuesheet will have the path ""C:\My Music\myfile.flac.cue".
At the moment only TITLE and PERFORMER values are populated. I would like to eventually extract other global meta data, like DATE and GENRE.
If all files have the same "album artist" that will be used as the global PEFORMER. If not, and they all have the same "Artist", that will be used. If they all have differing artist values "Various Artists" will be used.
If all files have the same "album" that will be used as the global TITLE. If not, the command will not be used. I'd like to revert to the playlist name but I need to work out how (anyone want to give me a neat little function for returning the current playlist name as a string8?).
The cuesheet is in ANSII format, but the code can easily be updated to allow for UTF-8. I have ripped some rather nice looking io routines from musicmusic's Text Writer plugin, and this allows for easily switching the encoding type. I have added a credit to musicmusic in the files ripped from him - I hope that is adequate. NB: I haven't used any code from foo_cuesheetcreator - working on that component just gave me the knowledge to feel brave enough to attempt this update.
Unless the foobar development team take my request on board for Converter in 0.9 I will obviously attempt to make the same updates to Converter when the 0.9 SDK is available.
Edit: 2005-07-08 : Updated link to 2.1.2 (see post #6
)Edit: 2005-12-06 : Updated link to 2.1.4 - previous versions were using LF, not CRLF
