Remove unused code and style module

Deleted the ytsage_style.py file and removed related imports, as well as unused compatibility exception classes and the sanitize_filename function. The downloader now always uses the direct CLI command, removing the Python API fallback.
This commit is contained in:
oop7
2025-11-04 21:49:33 +02:00
parent 4d191427d9
commit 17a33b0c9c
4 changed files with 2 additions and 256 deletions
-10
View File
@@ -51,16 +51,6 @@ from src.utils.ytsage_config_manager import ConfigManager
from src.utils.ytsage_localization import LocalizationManager, _
from src.utils.ytsage_history_manager import HistoryManager
# Note: yt-dlp Python package removed - using binary-only approach
# DownloadError and ExtractorError definitions kept for compatibility
class DownloadError(Exception):
"""Compatibility class for yt-dlp DownloadError"""
pass
class ExtractorError(Exception):
"""Compatibility class for yt-dlp ExtractorError"""
pass
class YTSageApp(QMainWindow, FormatTableMixin, VideoInfoMixin): # Inherit from mixins
def __init__(self) -> None: