Commit Graph

31 Commits

Author SHA1 Message Date
JSC
6bbf3dce66 feat: Update SoundPlayed model to accept nullable user_id and enhance sound tracking in MusicPlayerService 2025-07-12 15:56:13 +02:00
JSC
842e1dff13 feat: Implement playlist management routes and integrate with music player service 2025-07-12 15:17:45 +02:00
JSC
93897921fb feat: Update playlist loading method to use current playlist on startup 2025-07-11 23:26:28 +02:00
JSC
2e464dc977 feat: Enhance track ending detection and handling in MusicPlayerService 2025-07-08 13:36:51 +02:00
JSC
193bd5ebf4 feat: Add sounds routes for serving audio and thumbnail files 2025-07-08 12:57:17 +02:00
JSC
96ab2bdf77 feat: Remove load_main_playlist endpoint and implement automatic loading on startup 2025-07-07 21:34:29 +02:00
JSC
9ac55f8904 feat: Enhance stream processing and SocketIO services with app context management 2025-07-07 21:17:51 +02:00
JSC
e7d958eb39 feat: Implement Music Player Service with VLC integration
- 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.
2025-07-07 20:51:53 +02:00
JSC
c44b055f83 feat(stream): integrate sound normalization into stream processing service 2025-07-07 15:29:50 +02:00
JSC
fe628b99d4 feat(stream): update stream route to /api/stream and add sound to main playlist upon creation 2025-07-07 15:22:45 +02:00
JSC
4f18f3e64e feat(stream): implement stream processing service with routes for managing streaming URLs; add support for concurrent processing and metadata extraction 2025-07-06 16:57:33 +02:00
JSC
e2fe451e5a Refactor OAuth provider linking and unlinking logic into a dedicated service; enhance error handling and logging throughout the application; improve sound management and scanning services with better file handling and unique naming; implement centralized error and logging services for consistent API responses and application-wide logging configuration. 2025-07-05 13:07:06 +02:00
JSC
2f7ffbbfe4 refactor(vlc_service): remove unused parameters ip_address and user_agent from play_sound method 2025-07-05 08:36:59 +02:00
JSC
ccc5ee38e2 feat(socketio): integrate SocketIO service for real-time communication and emit credits change events 2025-07-04 20:18:46 +02:00
JSC
1cd43a670d refactor: update timestamp handling to use timezone-aware datetime 2025-07-04 19:20:56 +02:00
JSC
4375718c2f refactor(decorators): simplify require_admin decorator by reusing require_role 2025-07-04 19:13:33 +02:00
JSC
c3b8205f83 feat(sound_played): add sound play tracking and user statistics endpoints; enhance VLC service to record play events 2025-07-03 21:50:17 +02:00
JSC
97b998fd9e feat(vlc_service): refactor VLC service to use subprocess for sound playback and management; update process tracking 2025-07-03 21:36:42 +02:00
JSC
7455811860 feat: Add VLC service for sound playback and management
- Implemented VLCService to handle sound playback using VLC.
- Added routes for soundboard management including play, stop, and status.
- Introduced admin routes for sound normalization and scanning.
- Updated user model and services to accommodate new functionalities.
- Enhanced error handling and logging throughout the application.
- Updated dependencies to include python-vlc for sound playback capabilities.
2025-07-03 21:25:50 +02:00
JSC
c241a72c60 feat(sound_normalizer): implement two-pass normalization and enhance error handling 2025-07-02 17:29:28 +02:00
JSC
7128ca727b Add new sound files and update dependencies
- Added various sound files to the soundboard, including insults, quotes, and sound effects.
- Introduced new dependencies: ffmpeg-python (version 0.2.0) and pydub (version 0.25.1) for audio processing.
- Updated the lock file to reflect the new packages and their respective versions.
- Added .gitignore files in the sounds/stream and sounds/temp directories to exclude unnecessary files.
2025-07-02 17:09:43 +02:00
JSC
1b597f4047 feat(scheduler): implement scheduler service for background tasks and credit refills; add endpoints for admin control 2025-07-02 13:39:17 +02:00
JSC
703212656f refactor: clean up code by adding missing commas and improving import order 2025-07-02 10:46:53 +02:00
JSC
171dbb9b63 Refactor code for improved readability and consistency
- Cleaned up whitespace and formatting across multiple files for better readability.
2025-07-02 10:37:48 +02:00
JSC
e63c7a0767 feat(auth): enhance user authentication by querying user data from the database and simplifying access token generation 2025-07-01 02:41:25 +02:00
JSC
a7210a8d50 feat(auth): add profile update and password change endpoints; enhance provider list handling 2025-06-29 22:00:59 +02:00
JSC
91648a858e feat(auth): implement user plans and credits system with related endpoints 2025-06-29 16:40:54 +02:00
JSC
52c60db811 refactor(auth): improve code structure and add user registration endpoint
refactor(main): update index route response and remove greeting service

refactor(decorators): streamline authentication decorators and remove unused ones

test(routes): update tests to reflect changes in main routes and error messages
2025-06-28 20:47:45 +02:00
JSC
85f420d2f7 fix auth 2025-06-28 19:19:54 +02:00
JSC
ceafed9108 auth email/password 2025-06-28 18:30:30 +02:00
JSC
8e2dbd8723 auth google + jwt 2025-06-27 13:14:29 +02:00