Hi!
Just wanted to share that I created a fork of this tool to address two specific issues I encountered:
Firmware 1.6+ / 1.9.2 Support: Fixed the header size check (ValueError on newer projects).
Orphan Note-Off Crash: Fixed an IndexError in midiutil when patterns start with note-offs.
I also had it wrapped it in Docker with a Streamlit Web Interface, so it's easier to run for people who aren't comfortable with CLI.
You can find the fork here: https://github.com/SaturnsGithubSaga/polyendtracker-midi-export
Feel free to merge any logic if you want, or just leave this issue open for people looking for a web-based fix. Thanks for the original work!