aboutsummaryrefslogtreecommitdiffstats
path: root/cogs/vclogs.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix stale-connection reconnect hang and TTS temp-file collisionsalmonik2026-05-201-1/+1
| | | | | | | | | | - _ensure_voice_client: call _remove_voice_client() when cleaning up stale or disconnected clients so the fresh connect doesn't hang for 30s waiting for Discord's stale state to clear - Reduce connect timeout from 30s to 10s for faster failure recovery - vclogs.py: use a unique temp filename per TTS call (include timestamp) instead of relying on PID alone, preventing concurrent TTS calls from clobbering each other's files
* Clean up consumers: replace polling with VoiceManager.play_source()salmonik2026-05-201-6/+1
| | | | | | | | | - cron.py: replace while-is_playing polling with VoiceManager.play_source() - vclogs.py: replace while-is_playing polling with VoiceManager.play_source() - stop.py: use VoiceManager.disconnect() instead of raw voice_client - join.py: use VoiceManager.connect() instead of raw channel.connect() - voice.py: add back join_by_channel_id() convenience method - Tests: update for new VoiceManager method names and signatures
* health checks for vcsalmonik2026-05-201-0/+10
| | | | Signed-off-by: salmonik <raisersoft@proton.me>
* Refactor database connections and add integration testssalmonik2026-04-291-29/+26
| | | | | | | | | | - Use context managers for sqlite3 connections in cron, vclogs, and database utils - Add URL helper utility for yt-dlp with clean_url_for_ytdlp function - Add slow integration test markers and new integration test files - Fix test imports to use conftest directly instead of tests.conftest - Improve downloader error handling and use COPYPARTY_URL_UPLOAD env var - Update pytest.ini with slow test markers and warning filters - Document slow test usage in AGENTS.md
* multitude of changes.salmonik2026-04-281-13/+57
| | | | | | but primarly, use db for all data. Signed-off-by: salmonik <raisersoft@proton.me>
* uploader.py and voice fixessalmonik2026-04-201-3/+2
| | | | Signed-off-by: salmonik <raisersoft@proton.me>
* feat: add external URL playback support, fix vclogs audio handlingsalmonik2026-04-191-3/+11
|
* refactor: simplify cogs, reduce complexitysalmonik2026-04-191-2/+13
| | | | | | - Remove unused imports and dead code - Cleaner error handling - Reduce cognitive complexity
* refactor + preparing bot for public usesalmonik2026-04-181-15/+15
| | | | Signed-off-by: salmonik <raisersoft@proton.me>
* make voice great againsalmonik2026-04-171-27/+28
| | | | Signed-off-by: salmonik <raisersoft@proton.me>
* "fix" voice managementsalmonik2026-04-081-5/+21
|
* unify settings api into one filesalmonik2026-03-231-18/+8
|
* normalised times on vclogs, and improved jarvis via reply chainingsalmonik2026-03-191-47/+36
|
* vclogs afk/active timesalmonik2026-03-191-10/+116
|
* voice doesn't work due to DAVE, but we got copyparty searchsalmonik2026-03-181-29/+26
|
* fix settings file nagging againsalmonik2026-02-201-1/+2
|
* fix settings file naggingsalmonik2026-02-201-7/+7
|
* more asynchronous work and other minor improvementssalmonik2026-02-041-14/+15
|
* add copyright and license noticesalmonik2026-01-261-0/+5
|
* try except statement for vclogssalmonik2025-10-011-9/+5
|
* another vc fixsalmonik2025-09-241-5/+9
|
* fixed vclogs.pysalmonik2025-09-201-1/+1
|
* prevent discord from complaining and bot does not leave vc after playingSamlon2025-08-131-10/+19
|
* small vclogs changeSamlon2025-08-121-1/+2
|
* revert voice changesSamlon2025-08-111-13/+2
|
* small join.py fix and better vc handling for logsSamlon2025-08-111-2/+13
|
* more logs!?!?!Samlon2025-08-111-0/+3
|
* changed printing to proper loggingSamlon2025-08-111-5/+8
|
* code-style issuesSamlonDev2025-06-141-0/+130