Two simple, lightweight media players created with Pyside6 and PyQt6. Run standalone or incorporate into another program.
First, make sure you're running Python 3.10+ and have VLC Player installed.
Download the latest release, unzip it, and place the two .py files anywhere on your computer. Create a command prompt in the folder you put the files and create a virtual environment:
python -m venv .
Activate the virtual environment:
.\Scripts\activate
Upgrade pip
python -m pip install --upgrade pip
Install Player of Choice
pip install PySide6==6.5.2
pip install PyQt6==6.5.2
Install VLC Python Library
pip install python-vlc==3.0.18122
Pyside6-based player
python media_player_pyside6.py
PyQt6-based player
python media_player_pyqt6.py