A video player application built with PySide6.
- Fullscreen mode
- Subtitle support
- Audio muting
- Custom keyboard shortcuts
# Clone and setup
git clone <repository-url>
cd untitled-video-player
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
# Install everything
pip install -e ".[dev]"
# Run
python src/main.py-
Set interpreter: Settings → Project → Python Interpreter → Select
venv/bin/python -
Enable MyPy (type checking):
- Settings → Plugins → Install "Mypy"
- Settings → Tools → Mypy → Check "Use Mypy"
-
Enable Ruff (linting/formatting):
- Settings → Tools → Ruff → Check "Use ruff" and "Use ruff format"
mypy src/ # Type check
ruff check src/ # Lint
ruff format src/ # Format
pytest # TestAll functions require type annotations:
def process_video(path: str, volume: float) -> bool:
return TrueBefore committing: mypy src/ && ruff check src/ && pytest
GNU General Public License v3.0