34 lines
680 B
Bash
34 lines
680 B
Bash
#!/bin/bash
|
|
|
|
#download odm's to chosen directory
|
|
|
|
# configure variables
|
|
python3.10 config.py
|
|
|
|
# unpack odm's
|
|
bash overdrivedelete.sh
|
|
|
|
# extract chapters, specify folder holding the unpackaged overdrive mp3's
|
|
source config.env
|
|
python3.10 extract_overdrive_chapters.py $annex
|
|
|
|
# clean metadata
|
|
python3.10 metadatatoxml.py
|
|
|
|
python3.10 xmlparse.py
|
|
|
|
# turn chapters into ms
|
|
python3.10 chapter_ms.py
|
|
|
|
# format durations
|
|
python3.10 durations.py
|
|
|
|
# export labeled audio and archive original folder
|
|
# FIX: MAKE SURE IT CAN ADD TO EXISTING AUTHOR FOLDER
|
|
python3.10 00_exportchapters.py
|
|
|
|
# tag the exported audio with proper metadata
|
|
python3.10 final_metadata_add.py
|
|
|
|
#manually add to Plex
|