Commit graph

11 commits

Author SHA1 Message Date
Gabe Duarte
246fb4e7da
Fix audio playback in History tab on Linux (#617)
* Add Portuguese translations for permission error messages

Add error message translations for the permission check flow in the Portuguese locale, covering both check failures and request failures.

* Fix history audio playback on Linux

WebKitGTK cannot play audio files via the asset:// protocol (or at least
not reliably), returning MEDIA_ERR_SRC_NOT_SUPPORTED. Additionally,
convertFileSrc was double- encoding the path (/ became %2F).

Changed to read audio files directly using the fs plugin and create
blob URLs instead. Also added APPDATA to fs:scope permissions to allow
reading recordings from the app data directory.

* Fix audio playback on macOS by using asset protocol on non-Linux

The blob URL approach for audio playback works on Linux but breaks
macOS.
This reverts the blob change to use convertFileSrc with the asset
protocol on macOS/Windows while keeping the blob approach for Linux
where it's needed. Also adds proper cleanup of blob URLs to prevent
memory leaks when history entries are unmounted.
2026-01-19 12:44:50 +08:00
CJ Pais
70ec82285a
format everything (#323) 2025-11-10 11:39:14 +08:00
CJ Pais
51105dde15 more wip but roughly is there 2025-08-01 14:15:02 -07:00
CJ Pais
d5f23cdfa5 Try not to focus it first. It doesn't quite work though. 2025-08-01 14:15:02 -07:00
CJ Pais
80f2c72847 fix update? 2025-06-27 12:27:01 -07:00
CJ Pais
898a0120b8 auto update code + revised menu 2025-06-26 13:50:11 -07:00
CJ Pais
1e976d62b1 auto start stuff? 2025-05-15 15:14:27 -07:00
CJ Pais
d36ddfd61c some opt + load directly from a store 2025-05-07 13:14:31 -07:00
CJ Pais
894b10e40e slightly better ui 2025-05-07 07:56:01 -07:00
CJ Pais
6b545d3acd working? ability to package/run on macos 2025-05-05 12:13:27 -07:00
CJ Pais
83d845284d basic working transcription. 2025-02-03 09:26:37 -08:00