Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: XLD Batch Conversion? (Read 10963 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

XLD Batch Conversion?

I've searched, but can't find anything conclusive on just how to do batch conversions.

To start with, I mainly have cue/flac images. All are are rips from EAC, and properly read by XLD. When I open a single cue with XLD, the tagging window opens with all the correct information. I then click "Decode" and it goes on with its business and I'm left with a folder full of AAC's. All is good. For a batch conversion, I'll search with spotlight on "cue" in the parent folder and that finds everything to be converted. When I select all and right click for an open with XLD nothing happens.

Am I missing something super simple, or is XLD unable to do batch conversions?

XLD Batch Conversion?

Reply #1
I've searched, but can't find anything conclusive on just how to do batch conversions.

To start with, I mainly have cue/flac images. All are are rips from EAC, and properly read by XLD. When I open a single cue with XLD, the tagging window opens with all the correct information. I then click "Decode" and it goes on with its business and I'm left with a folder full of AAC's. All is good. For a batch conversion, I'll search with spotlight on "cue" in the parent folder and that finds everything to be converted. When I select all and right click for an open with XLD nothing happens.

Am I missing something super simple, or is XLD unable to do batch conversions?


While I haven't tried this before, I just tried searching for all flac files on my internal HD and then dragged some of them to the XLD icon. It starts converting them. So maybe try also searching for all flac files, wait for a few seconds for all the flac files you want to be found, cmd-a to select them all, drag onto xld.

XLD Batch Conversion?

Reply #2
Thanks for the reply. I just tested it and it does work fine for separate flac files drug either to the icon, or right-click > open with > XLD. Doing the same thing with multiple .cue files does nothing; no prompting or anything else.

Does anyone know if XLD will properly batch convert with embedded cue sheets?

XLD Batch Conversion?

Reply #3
Thanks for the reply. I just tested it and it does work fine for separate flac files drug either to the icon, or right-click > open with > XLD. Doing the same thing with multiple .cue files does nothing; no prompting or anything else.

Does anyone know if XLD will properly batch convert with embedded cue sheets?


Oh I see, I had not noticed that. Well, it seems you're right. I tried scripting it, but XLD is unscriptable, and once you open it you must click "Decode" otherwise it doesn't do anything.

So I wrote this quick and dirty applescript using GUI scripting: it opens XLD for each file, "presses" the button, goes on to the next. Search for your cue files, select them, and run this:
Code: [Select]
tell application "Finder"
    set sel to selection
    repeat with curSel in sel
        tell application "XLD" to open item 1 of sel
        tell application "System Events"
            set wnd to front window of application process "XLD"
            click button "Decode" of wnd
        end tell
    end repeat
end tell


(this is applescript, I assume you know what to do with it, if not, ask). Let me know if there's a problem (I just test-ran it once with 3 cue files). It won't work if XLD asks you to select the flac/wav file.

edit: I forgot to say that you must set XLD to not require interaction, so eg set the output location etc appropriately.
edit2: if you have trouble, add a line containing
Code: [Select]
delay 1

after
Code: [Select]
click button "Decode" of wnd

to delay things a bit

XLD Batch Conversion?

Reply #4
Thank you! I'll give this a try and let you know.

I did find something about XLD that may turn out to be a show stopper and make me stick with Windows/foobar 2000, and that is replaygain on conversion. It seems XLD can't read the already written, either in cue sheets or file tags, replaygain information and carry that over upon conversion from FLAC to m4a. The tags carry over, but it doesn't seem to be applied. Sigh. And I was really looking forward to the automatic resizing and embedding of album art.