robbyHuelsi / macOSVoiceMemosExporter

Export audio files from macOS Voice Memos App with right filename and date created
33 stars 7 forks source link

No longer working on iOS 17 and macOS Sonoma. #4

Open Sr-11 opened 9 months ago

Sr-11 commented 9 months ago

https://support.apple.com/en-us/10500: Starting in iOS 17, iPadOS 17, and macOS Sonoma, Voice Memos encrypts the titles of recordings stored in iCloud, in addition to the recordings themselves. Now running the code yields “No permission to read database file."

larsrinn commented 9 months ago

Hi @Sr-11 - I can't access the linked page. Did you find a way how to programmatically access the voice memos? I can open them in the Finder app but was not successful in opening them in Python without copying them to another folder

Sr-11 commented 8 months ago

The new path is "~/Library/Group Containers/group.com.apple.VoiceMemos.shared/Recordings/CloudRecordings.db". But on Sonoma, running this program fails to export the correct name of memos. It only shows the time stamp, e.g., 2022-02-01 2022-02-01T16/16/34Z.

becker929 commented 5 months ago

Hi @Sr-11 - I can't access the linked page. Did you find a way how to programmatically access the voice memos? I can open them in the Finder app but was not successful in opening them in Python without copying them to another folder

Thanks! I'm able to get past the permission error by copying the entire Recordings folder to my desktop and running the script on the database within the copied folder.

python3 ~/Desktop/macOSVoiceMemosExporter/main.py -a -e ~/Desktop/memo_export --date_in_name --db_path=CloudRecordings.db