u/Empyrealist

▲ 477 r/oldfreefolk+2 crossposts

This dude literally heals our Game of Thrones traumas using Al to put himself in the scenes (GOT Spoilers)

credit advkiki

u/Empyrealist — 1 day ago

od2abs - a bash script to convert Overdrive downloads to Audiobookshelf

From the README:

>I created this script to work specifically with the output from LibbyRip/LibreGRAB TamperMonkey script. It converts the OverDrive format metadata.json into Audiobookshelf's expected JSON format and stores it side-car'd with the audio files. This makes importing books into Audiobookshelf much easier, and includes data fields that are frequently missed or inaccurate, such as the full authors list as well as the full narrators list.

>I later added functionality to rename the directory structure based on first-author and book title. If you have added book series info to Audiobookshelf and have it configured to "Store metadata with item" to save the metadata to a metadata.json file in the audiobook's directory, the script will read the first-series name and use that to further organize the directory structure. It will rename accordingly to which fields are populated

Its newish, but I have been using it personally for an extended period of time, importing many public library audiobooks that were downloaded with the LibreGRAB TamperMonkey browser script.

The script specifically targets the content and directory structure you get from using LibreGRAB. That original structure cannot be altered, because its looking for specific data locations. It will currently only create an Audiobookshelf metadata.json file from the OverDrive metadata.json file if it doesn't already exist.

The renaming feature however will work with a locally saved side-car'd Audiobookshelf metadata.json in order to use Author, Series, and Title to reorganize the directory structure, in that order, depending on what metadata is available.

https://github.com/michealespinola/od2abs

u/Empyrealist — 5 days ago