adrianlyjak / obsidian-aloud-tts

MIT License
12 stars 1 forks source link

Make audio cache device local #22

Closed adrianlyjak closed 3 weeks ago

adrianlyjak commented 1 month ago

Right now audio files are cached for a short duration to make replaying audio faster. The plugin expires audios after 8 hours. The audio is stored in a .tts directory in the vault. This has the downside of syncing the audio caches. I previously had the caches lasting for much longer, but it was slowing down my iOS syncs significantly.

Is there perhaps instead a good way to store the caches outside the vault so that they don't sync?

adrianlyjak commented 4 weeks ago

Seems like maybe using IndexedDB instead of the file system might work for this if obsidian supports it