# Kaset Control for Raycast

URL: https://www.raycast.com/endiruslan/kaset-control

> Control Kaset, the YouTube Music app for Mac: search and play songs, play/pause, skip, like tracks, set volume, and see now playing in the menu bar.

- Install: raycast://extensions/endiruslan/kaset-control
- Author: [Ruslan Hryshchenko](https://www.raycast.com/endiruslan)
- Installs: 268
- Platforms: macOS
- Categories: Media, Applications
- Updated: 2026-11-17
- Source: https://github.com/raycast/extensions/tree/5bcd41ff46cf8ad355e98f11bb7e716c6fdafc4b/extensions/kaset-control/

## Commands

- **Show Menu Bar**: Show current track in menu bar with controls
- **Now Playing**: View the current track, queue, and recently played
- **Play Song**: Search YouTube Music and play a song in Kaset
- **Toggle Play/Pause**: Toggle between play and pause
- **Next Track**: Skip to the next track
- **Previous Track**: Go to the previous track
- **Set Volume**: Set the playback volume
- **Toggle Shuffle**: Toggle shuffle mode
- **Cycle Repeat**: Cycle through repeat modes (off, all, one)
- **Toggle Mute**: Toggle mute state
- **Like Track**: Like or unlike the current track
- **Dislike Track**: Dislike or undislike the current track
- **Record Player State**: Records the current track for the recently played list

## README

### Kaset Control

Control [Kaset](https://github.com/sozercan/kaset) — the YouTube Music client for
macOS — from Raycast.

Kaset is a separate app: this extension drives it over AppleScript, so Kaset has
to be installed and running.

#### Requirements

- **Kaset 0.14.2 or newer.** The queue commands and the merged YouTube Music and
  YouTube search need 0.14.2 or later.
- macOS.

#### Commands

| Command | What it does |
| --- | --- |
| **Now Playing** | The current track with live progress, the queue, and recently played. Full playback controls, queue actions, and rating. |
| **Play Song** | Search YouTube Music and YouTube together and play, queue, or play next. |
| **Toggle Play/Pause**, **Next Track**, **Previous Track** | Playback control, no window. |
| **Set Volume** | Pick a volume level. |
| **Toggle Shuffle**, **Cycle Repeat**, **Toggle Mute** | Playback modes. |
| **Like Track**, **Dislike Track** | Rate the current track. |
| **Show Menu Bar** | Keep the current track and artwork in the menu bar with controls. |
| **Record Player State** | Records history in the background. See below. |

#### Preferences

- **Play Song Source** — whether Play Song searches YouTube Music, YouTube, or
  both (the default). You can also narrow this inside the search itself.
- **Menu Bar Style** / **Menu Bar Icon** / **Hide When Idle** — control the menu
  bar item.

#### Recently Played

History is recorded without the menu bar. Open **Record Player State** once, or
turn on its background refresh in Raycast's extension settings, so it can keep
recording while the Now Playing window is closed.

A track is added to Recently Played only once it has stopped playing, so the
track you are listening to never appears in both Now Playing and Recently
Played.

#### Notes

- **Seeking is display-only.** Kaset exposes no AppleScript command to seek, so
  the progress ring tracks playback but cannot scrub.
- **Album** is resolved by searching YouTube Music, because Kaset's player
  payload does not carry album names. This costs one search per track change.
- The menu bar item is optional and off unless you enable it.
