Commit Graph

17 Commits

Author SHA1 Message Date
ComputerTech abf907ddfb Fix 6 bugs: remove dead listener code from DJ panel, fix StreamingWorker socket reuse, fix GUI-blocking time.sleep, fix abort import
- script.js: Remove ~500 lines of dead listener mode code (initListenerMode, enableListenerAudio, setListenerVolume, startListenerVUMeter, getMp3FallbackUrl, listener variables). Listener page now uses listener.js exclusively.
- script.js: Remove ?listen=true detection from DOMContentLoaded that could activate broken listener UI on DJ panel.
- script.js: Clean up initSocket() to remove dead listener mode detection logic.
- index.html: Remove dead #listener-mode div (now served by listener.html).
- server.py: Move 'abort' import to top-level Flask import instead of per-request import.
- techdj_qt.py: Fix StreamingWorker to create fresh socketio.Client on each streaming session, preventing stale socket state on reconnect.
- techdj_qt.py: Fix time.sleep(0.2) blocking GUI thread in stop_streaming() by removing it and using try/except for clean disconnect.
2026-03-09 19:16:42 +00:00
ComputerTech df283498eb Add config.json system; fix bugs across server.py, script.js, techdj_qt.py
- Add config.example.json with all options: host, dj_port, listener_port,
  dj_panel_password, secret_key, music_folder, stream_bitrate, max_upload_mb,
  cors_origins, debug (copy to config.json to use)
- server.py: drive host/ports/secrets/CORS/upload limit from config.json;
  fix serve_static to use allowlist only; move re import to top-level;
  fix inconsistent indentation in login/logout/before_request handlers
- script.js: fix undefined decks.crossfader in updateUIFromMixerStatus;
  declare mediaRecorder as a proper let variable
- techdj_qt.py: replace blocking time.sleep poll in YTDownloadWorker with
  non-blocking QTimer; fix fragile or-chained lambda in recording reset
2026-03-09 18:02:47 +00:00
ComputerTech b5ea9e8d01 Final bug sweep: fix event param, remove dead code, dedupe CSS; add .gitignore recordings/ 2026-03-05 14:28:17 +00:00
ComputerTech 12c01faa83 feat: add integrated deck queues and track loop functionality 2026-02-07 20:14:04 +00:00
ComputerTech c2085291c0 hm 2026-01-20 20:04:39 +00:00
ComputerTech 02f72e2372 Fix buffering issue and app bugs: improve stream delivery, fixed reset UI desync, and EQ naming 2026-01-20 18:14:50 +00:00
ComputerTech 1776f631ef Fix filter sliders - connect low-pass and high-pass to audio engine 2026-01-20 18:05:50 +00:00
ComputerTech 740fa34f93 Make deck header more compact with smaller fonts and tighter spacing 2026-01-20 18:01:45 +00:00
ComputerTech de973b2a0e Add loop/repeat and queue features for both decks 2026-01-20 17:57:19 +00:00
ComputerTech ee26294106 Fix critical bugs: broadcast thread, resource cleanup, and Socket.IO error handling 2026-01-20 17:49:00 +00:00
ComputerTech d7a11c2af2 Add window icon to PyQt5 application 2026-01-20 17:30:56 +00:00
ComputerTech c9fc389d94 Fix reset button crash by removing non-existent slider references 2026-01-20 17:10:13 +00:00
ComputerTech 410ecae3dd Implement reset button functionality for deck controls 2026-01-20 17:08:35 +00:00
ComputerTech 06beed2110 Add detailed error logging and timeout to remote track downloads 2026-01-20 17:05:24 +00:00
ComputerTech bd87eb719d Fix Socket.IO connection with enhanced error handling and remote server detection in launch script 2026-01-20 17:01:37 +00:00
ComputerTech 6fc538336a Add remote server support with configurable ports and auto-refresh settings UI 2026-01-20 16:57:01 +00:00
ComputerTech 1606a3a83c Implement native PyQt5 DJ app with ultra-low latency broadcasting and stability fixes 2026-01-19 14:27:06 +00:00