Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Multiple files in one go #13

Open
Macbethis opened this issue Sep 9, 2019 · 1 comment
Open

Multiple files in one go #13

Macbethis opened this issue Sep 9, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@Macbethis
Copy link

This is a great thing.. I'm just wondering is it possible to expand the project to allow for selecting multiple .aax files and converting as a batch?

that would make life much easier... don't you think?

kind regards,

@thw0rted
Copy link

thw0rted commented Apr 2, 2020

I haven't had time to look at how to implement this in the GUI, but I did come up with a workaround. I ran the GUI once and copied the console output to get my activation_bytes. Then, I downloaded the ffmpeg binary from this repo and made a batch file that points at it:

c:\portable\ffmpeg.exe -y -activation_bytes XXXYYY -i %1 -ab 62k -map_metadata 0 -id3v2_version 3 -vn "d:\converted\%~n1.m4b"

I hard-coded the output path and bitrate; note that %~n1 is the filename of the first argument minus the extension.

Then, I made a second file to call the first one:

@echo off

REM Always run from BAT's working dir 
cd /d %~dp0

for %%f in (%*) DO (
start /low "Transcoding %%~nf" _audible_worker.bat %%f
)

Now, I can drag a bunch of files onto the second batch file in Windows Explorer, and it opens one new window per file so I can transcode them in parallel. It's a good-enough solution as long as you only have one Audible account so your activation_bytes value doesn't change.

@castdrian castdrian added the enhancement New feature or request label Aug 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants