ba05a4a7ef
Two regressions from 5.5.0, both mine. Fullscreen became a state of the main window, which is what stopped it destroying the player's GL context -- but the window's geometry is saved on exit and restoreGeometry() replays the state it was saved with. Quitting while fullscreen therefore brought the app back fullscreen: no title bar, no close button, and nothing able to leave it, because the player's F and Escape are scoped to the player and the Watch tab need not even be visible. Fullscreen is no longer restored at startup, it is left before the geometry is saved, and F11/Escape are now window-level shortcuts so there is always a way out. The controller also trusts the window rather than its own flag, so a fullscreen it did not set is still escapable. "Sign in with cookies" and the account button both call show_cookie_login_dialog, which selects the Cookies tab by index before showing the dialog. CustomOptionsDialog builds its tabs on SmoothTabWidget, which stands in for a QTabWidget and says so in its docstring, but implemented only set_current_index -- so setCurrentIndex raised and the dialog never opened. That line had never run before: the method had no callers until 5.5.0 wired it up. SmoothTabWidget now provides the Qt-compatible API it claimed. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
72 lines
2.0 KiB
TOML
72 lines
2.0 KiB
TOML
[build-system]
|
|
requires = ["setuptools"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "sagetube"
|
|
version = "5.5.1"
|
|
description = "Watch-first YouTube client with embedded mpv playback and yt-dlp downloading. Fork of YTSage."
|
|
authors = [
|
|
{ name = "Houmeres", email = "admin@ecoposta.sk" },
|
|
{ name = "oop7 (YTSage upstream)", email = "oop7_support@proton.me" },
|
|
]
|
|
dependencies = [
|
|
"PySide6>=6.10.1",
|
|
"requests>=2.32.5",
|
|
"pillow>=12.0.0",
|
|
"packaging>=25.0",
|
|
"markdown>=3.10",
|
|
"loguru>=0.7.3",
|
|
"setuptools>=80.9.0",
|
|
"python-mpv>=1.0.7",
|
|
]
|
|
requires-python = ">=3.10,<3.15"
|
|
readme = "README.md"
|
|
license = "MIT"
|
|
classifiers = [
|
|
"Development Status :: 5 - Production/Stable",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
'Programming Language :: Python :: 3.14',
|
|
"Intended Audience :: End Users/Desktop",
|
|
"Operating System :: OS Independent",
|
|
"Operating System :: Microsoft :: Windows",
|
|
"Operating System :: POSIX :: Linux",
|
|
"Operating System :: MacOS",
|
|
"Topic :: Internet :: WWW/HTTP",
|
|
"Topic :: Multimedia :: Video",
|
|
"Topic :: Multimedia :: Sound/Audio",
|
|
"Topic :: Desktop Environment",
|
|
"Environment :: X11 Applications :: Qt",
|
|
"Environment :: Win32 (MS Windows)",
|
|
"Environment :: MacOS X"
|
|
]
|
|
|
|
keywords = ["youtube", "downloader", "video", "audio", "PySide6", "yt-dlp", "GUI"]
|
|
|
|
|
|
[project.scripts]
|
|
sagetube = "ytsage.main:main"
|
|
ytsage = "ytsage.main:main"
|
|
|
|
[project.urls]
|
|
Homepage = "https://git.houmeres.sk/Houmeres/SageTube"
|
|
Bug-Tracker = "https://git.houmeres.sk/Houmeres/SageTube/issues"
|
|
Upstream = "https://github.com/oop7/YTSage"
|
|
|
|
[tool.setuptools]
|
|
include-package-data = true
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["ytsage*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
ytsage = [
|
|
"assets/Icon/icon.png",
|
|
"assets/Icon/icon-256.png",
|
|
"assets/sound/notification.mp3",
|
|
"languages/*.json",
|
|
] |