Skip to content

Refactor last helper functions into utils module#230

Open
mutlusun wants to merge 10 commits intokaixxx:mainfrom
mutlusun:refactor/helper-functions
Open

Refactor last helper functions into utils module#230
mutlusun wants to merge 10 commits intokaixxx:mainfrom
mutlusun:refactor/helper-functions

Conversation

@mutlusun
Copy link
Contributor

@mutlusun mutlusun commented Oct 16, 2025

This is the last PR in this direction.

  • Adding tests for the functions.
  • Remove dependency on AdvancedHTMLParser as the library is unmaintained. However, the library is still used elsewhere. The code gets longer because of this but the complexity can be reduced in the future if python data types are used to convert to different file types instead of always generating a html file and parsing it.
  • Unfortunately, I couldn't get the tests running with python3.9, thus I documented 3.10 as the minimal supported python version. Python 3.10 is now 4 yours old, so I hope that's fine.

I tested the changes manually with the following commands:

python3 noScribe.py --no-gui --start 00:00:00 --stop 00:01:00 Audiofile_03.mp3 output.html
python3 noScribe.py --no-gui --start 00:00:00 --stop 00:01:00 Audiofile_03.mp3 output.txt
python3 noScribe.py --no-gui --start 00:00:00 --stop 00:01:00 Audiofile_03.mp3 output.vtt

@mutlusun mutlusun force-pushed the refactor/helper-functions branch 2 times, most recently from 41b00b2 to c166eb9 Compare October 17, 2025 07:51
@mutlusun mutlusun force-pushed the refactor/helper-functions branch from c166eb9 to 9c18b94 Compare February 20, 2026 13:30
@mutlusun mutlusun force-pushed the refactor/helper-functions branch from 9c18b94 to 77ff3af Compare February 20, 2026 13:32
@mutlusun
Copy link
Contributor Author

@kaixxx I rebased the MR to the latest changes. I think it's safe to merge it now. I also tested the MR again with the commands from the message above.

@kaixxx
Copy link
Owner

kaixxx commented Feb 20, 2026

That's great, thank you very much. I will take a look in the next couple of days. Have a nice weekend!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants