Youtube Music Controls for Chrome

An Alfred Workflow


Short Description

An Alfred workflow for controlling Youtube Music playback in an open Youtube Music tab in Chrome.

Last Updated

14 Sep 2020

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
Yes Yes Yes Yes Yes
 

Version

1.4
 

Bundle ID

com.carceneaux.youtube.music
 

Categories

Applications

Webservices

Alfred Workflow: Youtube Music Controls for Chrome

An Alfred workflow for controlling Youtube Music playback in an open Youtube Music tab in Chrome.

I built this workflow out of necessity as Google Play music will be retired shortly. I listen to music most of the day at work and this helps immensely.

The workflow uses the following keywords to control playback in an open Youtube Music tab:

  • ym: Play/Pause
  • ym prev: Previous Song
  • ym next: Next Song
  • ym+: Thumbs Up Song
  • ym-: Thumbs Down Song
  • ym vol <volume percentage>: Set Youtube Music Volume
  • ym search <search term>: Search Youtube Music
  • ym shuffle: Shuffle Playlist
  • ym repeat: Set Repeat Setting
  • ym quit: Close Youtube Music Tab

Requirements

By default, executing JavaScript through AppleScript is turned off in Chrome. To turn it on, from the menu bar, go to View > Developer > Allow JavaScript from Apple Events.

For more information: https://support.google.com/chrome/?p=applescript

Screenshots