Commit Graph

6 Commits

Author SHA1 Message Date
5b71d9f54e fix: TWO_HOURS constant in staging cleanup was actually 5 minutes
Cleanup deleted completed staging files as soon as 5 minutes had
passed instead of the intended 2 hours, so successfully downloaded
files could be silently removed before being moved out of staging.
2026-08-29 04:17:08 +02:00
daefd503f0 Stage all downloads in webshare; leave library placement to *arr.
UI grabs no longer write into Movies/. Same DOWNLOAD_PATH staging as Sonarr/Radarr so they import series and movies into the correct roots.
2026-08-07 12:00:49 +02:00
96dbc46580 Send UI downloads into Movies library and harden queue API.
UI grabs write Movies/<Title (Year)>/; chown to 1000:1000; CORS and safer /api/queue handling for the Web UI.
2026-08-07 11:58:11 +02:00
798d7d7251 Support Webshare guest downloads without login.
Credentials optional: empty WEBSHARE_* uses file_link without wst (free CDN). Verified against live API; docs and tests updated. Includes cancel→dequeue fix for queued downloads.
2026-08-07 11:31:19 +02:00
7b739607ff add web UI: search, download queue with progress, cancel
- ui/index.html, ui/styles.css, ui/scripts.js — minimal two-tab UI
- Search tab: big search bar, results with size/votes, add-to-queue button
- Queue tab: progress bar, speed, downloaded/total, status badges, cancel
- Switches to queue tab on load if downloads are active
- Backend: GET /api/search, POST /api/queue/add, GET /api/queue, POST /api/queue/cancel
- Speed tracking in streamToFile, abort tracking for immediate cancel
- No rounded corners, dark theme
2026-08-07 10:44:41 +02:00
3fcadfe973 Initial commit: webshare-api
Torznab + fake qBittorrent proxy for Webshare.cz, with Compose/Docker
packaging, MIT license, and tests.
2026-08-07 08:37:10 +02:00