ReagentX / imessage-exporter

Export iMessage data + run iMessage Diagnostics
GNU General Public License v3.0
3.09k stars 135 forks source link

Support Audio Message Transcription #374

Closed ReagentX closed 1 week ago

ReagentX commented 1 week ago

Currently, imessage-exporter does not display the audio transcripts generated for audio messages:

image

However, that IMAudioTranscription data is parsed correctly from the attributedBody, so we should display it:

Object(Class { name: "NSString", version: 1 }, [String("")])
Data([SignedInteger(1), UnsignedInteger(1)])
Object(Class { name: "NSDictionary", version: 0 }, [SignedInteger(4)])
Object(Class { name: "NSString", version: 1 }, [String("__kIMFileTransferGUIDAttributeName")])
Object(Class { name: "NSString", version: 1 }, [String("4C339597-EBBB-4978-9B87-521C0471A848")])
Object(Class { name: "NSString", version: 1 }, [String("IMAudioTranscription")])
Object(Class { name: "NSString", version: 1 }, [String("This is a test")])
Object(Class { name: "NSString", version: 1 }, [String("__kIMBaseWritingDirectionAttributeName")])
Object(Class { name: "NSNumber", version: 0 }, [SignedInteger(-1)])
Object(Class { name: "NSString", version: 1 }, [String("__kIMMessagePartAttributeName")])
Object(Class { name: "NSNumber", version: 0 }, [SignedInteger(0)])
ReagentX commented 1 week ago
image