AutoPause

by Chris Kephart
5
4
3
2
1
Score: 58/100

Description

Category: Productivity Tools

The AutoPause plugin revolutionizes your audio experience in Obsidian by introducing a seamless way to manage multiple audio clips. With this plugin, you can effortlessly pause or reset audio playback when switching between different clips, ensuring that only one clip plays at a time. Whether you're working on desktop or mobile, across tabs and document types, AutoPause ensures that your audio workflow is streamlined and organized.

Reviews

No reviews yet.

Stats

1
stars
3,641
downloads
0
forks
592
days
4
days
82
days
1
total PRs
0
open PRs
0
closed PRs
1
merged PRs
1
total issues
0
open issues
1
closed issues
8
commits

Latest Version

3 months ago

Changelog

1.1.1

  • Fixed audio not pausing across tabs when new audio is played
  • Fixed next/previous commands jumping to wrong audio after using play/pause toggle
  • Fixed toggle hotkey not resuming audio that was paused via native player controls
  • Fixed event listener leak when focus prevention was applied repeatedly
  • Removed redundant code and unused methods

README file from

Github

AutoPause

AutoPause is a simple Obsidian plugin that automatically pauses playing audio when a new clip is played, with the option to reset to the beginning instead of just pausing. This is to allow for one audio stream maximum without needing to locate the previous playing file. It also includes hotkeys to iterate through audio elements and play/pause from any tab.

Features

  • Automatically pauses playing audio when a new clip is played
  • Option to reset to the beginning instead of just pausing
  • Hotkey support for navigating through audio files in the current tab
    • Next audio: Navigate to and play the next audio file
    • Previous audio: Navigate to and play the previous audio file
    • Play/pause toggle: Pause currently playing audio or resume the last paused audio (works globally across all tabs)
  • Option to prevent keyboard focus on audio player elements
  • Works on desktop and mobile across tabs and document types.

Installation

Add to Obsidian via the Community Plugins Library in settings or:

  1. Download the latest release from the Releases page (manifest.json and main.js)
  2. Add these files to a folder called auto-pause in the Plugins folder of your Obsidian Vault
  3. Reload Obsidian

Usage

  • No interaction is required besides enabling the plugin.
  • With an audio clip playing, starting another one will pause or stop the initial playing one depending on the setting.
  • Use hotkeys to navigate between audio files on the currently active tab (configure in Settings > Hotkeys > AutoPause):
    • "Play next audio" - Cycles to the next audio file and plays it
    • "Play previous audio" - Cycles to the previous audio file and plays it
    • "Play/pause audio" - Pauses any currently playing audio anywhere, or resumes the last paused audio globally
  • Tested and working with local audio files and the default Obsidian audio embed.

Settings

  • Reset to beginning: When enabled, other audio clips will be reset to the beginning instead of just pausing. This is the same as stopping in other audio players.
  • Prevent keyboard focus: When enabled, audio player elements cannot be focused with the keyboard after clicking the controls which can break the shortcuts.

Hotkeys

The plugin registers three commands that can be assigned hotkeys in Obsidian's hotkey settings:

  • Play next audio: Cycles through audio files in forward order
  • Play previous audio: Cycles through audio files in reverse order
  • Play/pause audio: Toggles between play and pause - pauses currently playing audio or resumes the last paused audio

To assign hotkeys:

  1. Go to Settings → Hotkeys
  2. Search for "AutoPause" or the specific command names
  3. Click the + button to assign your preferred key combination

Note: Hotkeys are blank by default and need to be manually configured by the user.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
AI Transcriber
4 months ago by Musashino Software
AI-powered speech-to-text transcription using OpenAI GPT-4o and Whisper APIs
Annotate Audio
a year ago by VidE
Audio Notes
3 years ago by Jason Maldonis
Easily take notes on podcasts and other audio files using Obsidian Audio Notes.
Audio Player
3 years ago by noonesimg
audio player plugin with bookmarks for Obsidian.md
Cloudinary
3 years ago by Uday Samsani, Jordan Handy
Cloudinary plugin for content uploading and transformation.
Eleven Labs
3 years ago by Mark Charles
Local Media Embedder
2 years ago by seyf1elislam
an obsidian plugin allows you to Embed videos and images and audios from your local device in your notes.
Media Extended
5 years ago by AidenLx
Transform your Obsidian into a powerful video note-taking tool. 🖇️🗂️⏯️
Memories
3 months ago by DIMFLIX
Plugin to display a gallery directly in a note.
Super Duper Audio Recorder
2 years ago by Thiago MadPin
Ever felt like the core audio recorder in Obsidian was playing hard to get? Well, fret no more! Our Super Duper Audio Recorder is here to save the day (and your sanity)! This plugin enhances your audio recording experience in Obsidian by adding folder selection and audio source options.
Text to Speech
4 years ago by Johannes Theiner
Text to speech for Obsidian. Hear your notes.
Voicenotes Sync
2 years ago by Andrew Lombardi
Official Obsidian plugin that syncs your notes from VoiceNotes.com into your vault
Waveform Player
a year ago by Zhou Hua
WHISPERER.md
a year ago by Falcion
A plugin for note-taking app Obsidian which allows you to play ambience music in vault and assign different tracks to files specifically