fix(gui): 🐛 integrate ansi2html for improved log message formatting

* Added `Ansi2HTMLConverter` to convert ANSI color codes in log messages to HTML.
* Updated the `MainWindow` class to utilize the new converter for displaying logs.
* Removed dependency on `coloredlogs.converter` for log message display.
This commit is contained in:
Robert Honz
2025-10-21 07:58:00 +02:00
parent 5c09b6594c
commit d3ec0398b4
3 changed files with 47 additions and 24 deletions
+3 -3
View File
@@ -11,7 +11,6 @@ classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.12,<3.14"
dynamic = ["dependencies"]
@@ -40,10 +39,11 @@ pyside6 = { version = "6.10.0", optional = true }
pyqtdarktheme-fork = { version = "^2.3.4", optional = true }
rich = "^14.2.0"
toml = "^0.10.2"
typer = "^0.19.2"
typer = "^0.20.0"
tidalapi = "^0.8.8"
python-ffmpeg = "^2.0.12"
pycryptodome = "^3.23.0"
ansi2html = "^1.9.2"
[project.optional-dependencies]
gui = ["pyside6", "pyqtdarktheme-fork"]
@@ -67,7 +67,7 @@ pylint = "^4.0.1"
pillow = "^12.0.0"
pytest-cov = "^7.0.0"
black = "^25.9.0"
nuitka = "^2.8.3"
nuitka = { git = "https://github.com/Nuitka/Nuitka.git", tag = "2.8.4" }
[tool.poetry.group.docs]
optional = true