- Added MusicPlayerService for managing VLC music playback with playlist support. - Implemented methods for loading playlists, controlling playback (play, pause, stop, next, previous), and managing volume and play modes. - Integrated real-time synchronization with VLC state using a background thread. - Added SocketIO event emissions for player state updates. - Enhanced logging for better debugging and tracking of player state changes. fix: Improve SocketIO service logging and event handling - Added detailed logging for SocketIO events and user authentication. - Implemented a test event handler to verify SocketIO functionality. - Enhanced error handling and logging for better traceability. chore: Update dependencies and logging configuration - Added python-vlc dependency for VLC integration. - Configured logging to show INFO and DEBUG messages for better visibility during development. - Updated main application entry point to allow unsafe Werkzeug for debugging purposes.
36 lines
801 B
TOML
36 lines
801 B
TOML
[project]
|
|
name = "sdb-backend"
|
|
version = "2.0.0"
|
|
description = "Soundboard V2 - Backend"
|
|
authors = [{ name = "quaik8", email = "quaik8@gmail.com" }]
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"apscheduler==3.11.0",
|
|
"authlib==1.6.0",
|
|
"ffmpeg-python>=0.2.0",
|
|
"flask==3.1.1",
|
|
"flask-cors==6.0.1",
|
|
"flask-jwt-extended==4.7.1",
|
|
"flask-migrate==4.1.0",
|
|
"flask-socketio==5.5.1",
|
|
"flask-sqlalchemy==3.1.1",
|
|
"pydub==0.25.1",
|
|
"python-dotenv==1.1.1",
|
|
"python-vlc>=3.0.21203",
|
|
"requests==2.32.4",
|
|
"werkzeug==3.1.3",
|
|
"yt-dlp>=2025.6.30",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = ["black==25.1.0", "pytest==8.4.1", "ruff==0.12.2"]
|
|
|
|
[tool.black]
|
|
line-length = 80
|
|
|
|
[tool.ruff]
|
|
line-length = 80
|
|
lint.select = ["ALL"]
|
|
lint.ignore = ["D100", "D104"]
|