mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-09-20 00:32:15 +02:00
perf(metadata): read complete SAF tags through descriptors
Add complete metadata reads with a display-name hint in Go and both native bridges. Read seekable SAF descriptors directly and use temporary copies only when direct reading fails. Add format parity tests for MP3, FLAC, M4A, and WAV plus a Dart bridge hint regression.
This commit is contained in:
@@ -597,7 +597,7 @@ import Gobackend
|
||||
case "readFileMetadata":
|
||||
let args = call.arguments as! [String: Any]
|
||||
let filePath = args["file_path"] as! String
|
||||
let response = GobackendReadFileMetadata(filePath, &error)
|
||||
let response = GobackendReadFileMetadataWithHint(filePath, args["display_name"] as? String ?? "", &error)
|
||||
if let error = error { throw error }
|
||||
return response
|
||||
|
||||
|
||||
Reference in New Issue
Block a user