It didn't look like the tool was pulling in the correct titles of the chapters. I was adding chapter ID3 tags using https://github.com/oczkoisse/overdrive-chapterizer, and this using this tool to split the files so that I could use AudioBookBinder (for macOS) to make it into an M4B file.
I also made sure the track numbers were sequential, though it's based on the filename arguments being passed in the correct/sequential order.
Also cleaned up some formatting to be PEP compliant (only because my IDE was complaining...I know there are personal opinions on this, so feel free to ignore that specific commit).
It didn't look like the tool was pulling in the correct titles of the chapters. I was adding chapter ID3 tags using https://github.com/oczkoisse/overdrive-chapterizer, and this using this tool to split the files so that I could use AudioBookBinder (for macOS) to make it into an M4B file.
I also made sure the track numbers were sequential, though it's based on the filename arguments being passed in the correct/sequential order.
Also cleaned up some formatting to be PEP compliant (only because my IDE was complaining...I know there are personal opinions on this, so feel free to ignore that specific commit).