# ed music start

> Plays one track out of Edith's own library, or everything in a folder. This is the click on a row in the Music page, so unlike play it needs the app running.

- Canonical URL: https://getedith.pro/docs/cli/music/start
- Updated: 2026-12-02

Plays one track out of Edith's own library, or everything in a folder. This is
the click on a row in the Music page, so unlike `play` it needs the app running.

```
ed music start <target> [--folder] [--json]
```

| Name | Type / values | Default | What it does |
| --- | --- | --- | --- |
| `target` | track path or query, or folder path with `--folder` | required | What to play. |
| `--folder` | flag | off | Treat the argument as a folder and play everything under it. |
| `--json` | flag | off | Emit JSON on stdout. |

```json
{
  "file": "alpha-song.mp3",
  "path": "alpha-song.mp3",
  "title": "Alpha Song"
}
```

With `--folder` the document is different:

```json
{
  "folder": true,
  "playing": "Chill"
}
```

```
ed music start alpha-song.mp3
ed music start "night drive"
ed music start --folder Chill
```

The check for Edith's player comes first, before the track is even looked up,
so with the Music extension off every form of this exits 4 with `the Music
extension is off`. Turn Music on in Library, or run
`ed extensions enable music`.

The request is fire and forget. `ed` posts it and reports success without
waiting for the player to confirm, so a zero exit means the message was sent,
not that sound came out. What it posts for a single track is the same `toggle`
the UI posts when you click a row, which means running `ed music start` on the
track that is already playing pauses it rather than restarting it.

`--folder` posts the same `playSource` request the Music page posts when you
play a folder from the UI, with the folder carried under the keys `sourceKind`
and `sourcePath` that the app's handler reads. The queue becomes every track
anywhere under that folder, and playback starts at the head of it, which
`ed music shuffle` reorders.

## Where to go next

- [`ed music`](https://getedith.pro/docs/cli/music), the rest of this group
- [All `ed` commands](https://getedith.pro/docs/cli)

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
