myYouTube/backend
vrubelroman 62f8fb746b Fix delete not finding the download: wrong id sent to MeTube's /delete
MeTube's queue/pending/done stores are keyed by the download's URL
(PersistentQueue.put: key = value.info.url), not by the id field a Download
reports over Socket.IO (which is what we stored as metube_job_id and were
sending). Sending the wrong key made MeTube's clear()/cancel() silently
no-op ("requested delete for non-existent download" in its own logs) while
still returning {"status": "ok"} regardless -- confirmed live by curling
/history on the real instance and finding the "deleted" entry still
present, unrelated to the DELETE_FILE_ON_TRASHCAN config fix that came
right before this.

delete_download() now takes the video's canonical youtube_url instead.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-16 20:14:43 +00:00
..
app Fix delete not finding the download: wrong id sent to MeTube's /delete 2026-09-16 20:14:43 +00:00
requirements-dev.txt Implement Phase 6: MeTube download integration 2026-09-16 18:56:17 +00:00
requirements.txt Implement Phase 6: MeTube download integration 2026-09-16 18:56:17 +00:00