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โ€‹

NameTypeDescription
playing_iconstringtext/icon to show when playing - defaults to \uE602
paused_iconstringtext/icon to show when paused - defaults to \uF8E3
stopped_iconstringtext/icon to show when paused - defaults to \uF04D
api_urlstringthe YTMDA Remote Control API URL- defaults to http://127.0.0.1:9863

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)