Python tools to automate processing a batch of OverDrive audiobooks.
The intention of this script is solely to automate downloading and converting of loaned OverDrive audiobooks, in order for use with your preferred audiobook player during the loan period.
Open a PowerShell window then follow the steps below.
- Set execution policy to allow the Scoop installer to run.
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
- Run the Scoop installer, this is a package manager used to install some prerequisites.
iwr -useb get.scoop.sh | iex
- Install prerequisites.
scoop install ffmpeg git
Open a terminal window then follow the steps below. Works with both M1 and Intel Macs.
- Run python3 in your terminal and follow prompts to install the xcode command line tools.
- Install Homebrew. Be sure to follow instructions at the end for adding it to path.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install prerequisites. On trying to use these tools you might see an unidentified developer pop up, this is normal just open the folder and ctrl+click or right-click on the file and click open.
brew install ffmpeg
Open a terminal window then follow the steps below.
2. Update package list.
sudo apt-get update
2. Install prerequisites.
sudo apt-get install -y ffmpeg git
To install from the latest source run the following command.
pip3 install git+https://git@github.com/ivybowman/autobooks.git --upgrade --force-reinstall
To install from a specific version run the following command.
pip3 install git+https://git@github.com/ivybowman/autobooks.git@<VERSION> --upgrade
To uninstall AutoBooks run the following command.
pip3 uninstall autobooks
- Open a terminal and run
autobooks
this will run setup commands to create the data folder. - Edit the
autobooks.ini
file using one of the commands below or by browsing to the autobooks folder inside your home directory.
- Windows(GUI) PowerShell:
notepad $env:USERPROFILE\AutoBooks\autobooks.ini
- Windows(GUI) Command Prompt:
notepad %userprofile%\AutoBooks\autobooks.ini
- macOS(GUI) Terminal:
open -a TextEdit ~/AutoBooks/autobooks.ini
- Linux or macOS(CLI):
nano ~/AutoBooks/autobooks.ini