vicrodh
9e676441e4
feat(purchases): add single-track download primitive
Slice 5/13. qbz-offline-cache/src/purchases_service.rs: download_purchase_track
(get_track -> getFileUrl(format) -> download_audio -> .part write -> rename ->
registry), target_path (sanitized {dest}/{artist}/{album [quality]}/{NN-title.ext}),
purchase_extension (keys off RESPONSE format/mime). Blind-test quirks 1:1:
records REQUESTED format_id while ext derives from RESPONSE (B.2), no collision
preflight / silent overwrite (B.3), restrictions ignored (B.5), file->rename->
registry ordering with orphaned-file-on-registry-failure (B.1). Tests green.
cc
2026-06-24 04:37:05 -06:00
..
2026-06-20 17:38:02 -06:00
2026-06-16 10:42:18 -06:00
2026-06-22 01:27:12 -06:00
2026-05-18 14:11:05 -06:00
2026-06-18 12:02:44 -06:00
2026-04-07 07:04:33 -06:00
2026-06-23 12:09:34 -06:00
2026-06-10 16:03:44 -06:00
2026-06-23 21:31:42 -06:00
2026-06-22 22:56:05 -06:00
2026-06-22 21:35:45 -06:00
2026-06-11 22:03:46 -06:00
2026-06-10 09:06:59 -06:00
2026-06-09 02:16:20 -06:00
2026-06-24 01:48:34 -06:00
2026-06-24 04:37:05 -06:00
2026-06-23 12:09:34 -06:00
2026-06-11 22:03:46 -06:00
2026-06-10 10:09:11 -06:00
2026-06-24 02:08:08 -06:00
2026-05-21 07:49:01 -06:00
2026-04-17 00:53:01 -06:00
2026-06-24 04:16:14 -06:00
2026-06-20 15:47:28 -06:00
2026-06-05 21:09:26 -06:00
2026-06-03 17:28:37 -06:00
2026-06-05 17:44:11 -06:00
2026-06-01 03:50:18 -06:00
2026-06-17 18:35:03 -06:00
2026-06-23 14:01:57 -06:00
2026-06-23 13:45:29 -06:00