mirror of
https://github.com/KRTirtho/spotube.git
synced 2026-08-06 04:09:51 +00:00
Three related resilience gaps in SourcedTrack.fetchFromTrack and URL resolution: - A cached SpotubeAudioSourceMatchObject whose stream resolution now fails (source removed/changed) was never retried; it now deletes the stale sourceMatchTable row, fetches fresh siblings, caches the new match, and retries once. - fetchSiblings returning empty was treated as a hard TrackNotFoundError; it now attempts audioSource.auth.authenticate() once and retries before giving up, via a shared _fetchSiblingsWithRetry helper. - `url` getter and getUrlOfQuality threw/returned null when the user has no configured quality presets, or no stream matches the selected container; both now fall back to sources.firstOrNull?.url instead of crashing. Fixes #3091 |
||
|---|---|---|
| .. | ||
| exceptions.dart | ||
| sourced_track.dart | ||