Jump to content

Requesting: Music Command Love/Disliked


Recommended Posts

Can we please get a Music Command to Love or Disliked the current track?

 

I currently use a script but perhaps this can be done via a built-in music command?

 

echo '
(function() {
  var track = Application("Music").currentTrack();
  var trackLoved = track.loved();
  var notification = (trackLoved ? "UnLoved" : "Loved") + ": " + track.name();
  track.loved = !trackLoved;
  return notification;
})()' | osascript -l JavaScript

 

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...