Skip to main content

YouTube Music

What

Shows the currently playing song in the YouTube Music Desktop App.

NOTE: You must enable Remote Control in YTMDA for this segment to work: Settings > Integrations > Remote Control

It is fine if Protect remote control with password is automatically enabled. This segment does not require the Remote Control password.

Sample Configuration

{
"type": "ytm",
"style": "powerline",
"powerline_symbol": "",
"foreground": "#ffffff",
"background": "#FF0000",
"properties": {
"playing_icon": " ",
"paused_icon": " ",
"stopped_icon": " "
}
}

Properties

NameTypeDefaultDescription
playing_iconstring\uE602 text/icon to show when playing
paused_iconstring\uF8E3 text/icon to show when paused
stopped_iconstring\uF04D text/icon to show when stopped
api_urlstringhttp://127.0.0.1:13091the YTMDA Remote Control API URL

Template (info)

default template
{{ .Icon }}{{ if ne .Status \"stopped\" }}{{ .Artist }} - {{ .Track }}{{ end }}

Properties

NameTypeDescription
.Statusstringplayer status (playing, paused, stopped)
.Artiststringcurrent artist
.Trackstringcurrent track
.Iconstringicon (based on .Status)