fix(playback): retain ReplayGain for SAF descriptor leases

Carry the original display name through playback leases to format-aware metadata reads. Cache successful normalization results by source identity, bound the cache, and retry transient read failures.

Add regressions for descriptor hints, album gain fallback, and failed-read retries.
This commit is contained in:
zarzet committed 2026-09-06 14:04:04 +07:00
1 parent b32bdbc291
commit 3d35058b02
5 files changed
+155 -36

No files matched your search

@@ -838,6 +838,7 @@ class MainActivity: FlutterFragmentActivity() {
return mapOf(
"token" to token,
"path" to "/proc/self/fd/${descriptor.fd}",
"display_name" to buildUriDisplayName(Uri.parse(uriStr)),
)
}