10.1.0.4318 - Fix file size display + barcode rate limiting + countryCode resilience
·
15 commits
to main
since this release
Changes
File Size Fix
- Fixed download queue showing chunk counts as bytes (56B/617B/1KiB) — now shows realistic byte estimates (e.g., ~254 MiB for a 40-min FLAC album)
- Fixed FLAC size overestimation in search results — was using raw PCM byte rates, now uses ~60% FLAC compression ratio
- Progress tracking still works correctly (chunk-based internally, byte-scaled for display)
Barcode Rate Limiting
- 500ms delay between barcode requests with 429 retry (2s wait, one retry) — eliminates bulk rate limit failures
- Early exit on first barcode match — stops after first successful barcode, cutting requests from 8+ down to 1-2
countryCode Resilience
- countryCode guard in barcode lookup — returns early if empty, falling back to Tier 1 text search
- Session refresh in
EnsureTokenValid()— re-fetches session data when CountryCode is empty after token refresh - New
RefreshSession()API in TidalSharp — exposes session refresh for plugin use