soulsync/tests/tools
Broque Thomas 96a1c8b7b8 Enrich Amazon album track durations via search results
media_from_asin returns no duration data. get_album_tracks now does one
search_raw call using the album name + primary artist from stream tags,
filters hits by albumAsin == requested asin, and builds a duration_map
(track asin → duration_ms). Search failures are swallowed — duration_ms
falls back to 0 so the existing behaviour is preserved on error.

2 new tests: duration populated when search returns matching hit; duration
stays 0 when search endpoint returns an error.
2026-05-16 16:21:12 -07:00
..
__init__.py Amazon Music provider: metadata client + download source (T2Tunes) 2026-05-16 07:46:41 -07:00
test_amazon_client.py Enrich Amazon album track durations via search results 2026-05-16 16:21:12 -07:00
test_amazon_download_client.py fix(tests): use asyncio.run() instead of get_event_loop() in amazon test helper 2026-05-16 12:48:36 -07:00
test_t2tunes_probe.py Add T2Tunes probe unit tests 2026-05-16 11:49:03 -07:00