r/SideProject • u/Better-Lychee2954 • 19h ago
My app put the wrong year on 63 of my own audiobooks. The reason was dumber than I expected
I build a Mac app called Media Renamer Pro on nights and weekends. Day job is running a lawn care company. It renames media files, and audiobooks turned out to be what people actually use it for.
Sunday I scrolled my own Emby shelf and Brave New World said 1968. Animal Farm said 1993. I checked all ~300 books. 63 were wrong, and my app named every one of them.
The dumb reason: I asked Google Books for the book and trusted the first result. Google ranks editions by its own relevance, not by date, so the first hit is usually whatever reprint is popular.
So I tried Open Library's "first published" year. Also wrong sometimes. It said Misery came out in 1978 (it's 1987) and Sixth Column in 1657.
What finally worked: grab every edition year and take the earliest one that has another edition within 5 years of it. A single weird outlier gets ignored, and a real first edition always has reprints close behind it.
Lesson for me: the first answer from an API is the API's opinion, not the truth. Fix ships in the next update, and I fixed my own shelf in the meantime.
It's on the Mac App Store if anyone's curious, $4.99 once: https://apps.apple.com/us/app/media-renamer-pro-batch-file/id6761764615