Skip to content

CLI Music Stop

github-actions[bot] edited this page Aug 9, 2026 · 1 revision

ed music stop

Stops the active player and resets its position to the start of the track.

ed music stop [--json] [--player <name>]
Name Type / values Default What it does
--json flag off Emit JSON on stdout.
--player builtin, spotify, apple whichever is active Force one player.
{
  "action": "stopped",
  "name": "Apple Music",
  "player": "apple"
}
ed music stop
ed music stop --player apple

Apple Music has a real stop verb and gets it. Spotify and the built-in player do not, so stop there is a pause followed by a seek back to zero: two verbs in one AppleScript for Spotify, and two posted commands for the built-in player.

Where to go next

CLI reference

Getting Started
Config
App
Extensions
Permissions
Usage
System
Music
Calendar
Clipboard
Color
Download
Apps
Tools
Shelf
Cleaner
Machines
Machines Remote
Machines Docker
Machines Files
Machines Power
Machines Workspace
Companion
Herdr
Lid Awake
Machines Thermal

Guides

Clone this wiki locally