# ed music repeat

> Turns repeat on or off for Edith's own player, or reports it. Aliased loop.

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

Turns repeat on or off for Edith's own player, or reports it. Aliased `loop`.

```
ed music repeat [state] [--json]
ed music loop [state] [--json]
```

| Name | Type / values | Default | What it does |
| --- | --- | --- | --- |
| `state` | `on`, `off`, `true`, `false`, `yes`, `no`, `1`, `0`, `enabled`, `disabled` | none, which reports | What to set repeat to. Leave it out to read the current value. |
| `--json` | flag | off | Emit JSON on stdout. |

```json
{
  "repeat": false
}
```

```
ed music repeat
ed music loop on
ed music repeat off --json
```

Identical to `shuffle` in every way except the preference it writes,
`musicLooping`, the command it posts to a live player, `loop`, and the JSON key,
which is `repeat` rather than the internal name. Note the mismatch that follows
from that: the verb and the JSON key are `repeat`, the setting is
`musicLooping`, and the alias is `loop`.

## 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
