feat: add pysubs2 subtitle conversion with extended format support

- Add pysubs2 as default conversion method for 'auto' mode
- Add support for MicroDVD (.sub), MPL2 (.mpl2), and TMP (.tmp) formats
- Implement convert_with_pysubs2() method with fallback to standard conversion
- Update from_mime() to handle new subtitle format types
- Map all supported formats to pysubs2 format identifiers
- Update docstrings to reflect new capabilities
This commit is contained in:
Sp5rky
2025-09-30 14:12:51 -06:00
parent 06c4c02312
commit 26a94b7135
3 changed files with 80 additions and 8 deletions

View File

@@ -58,6 +58,7 @@ dependencies = [
"httpx>=0.28.1,<0.29",
"cryptography>=45.0.0",
"subby",
"pysubs2>=1.7.0,<2",
]
[project.urls]