Jump to content

Recommended Posts

Posted

I've found a solution that would allow Alfred's Music Mini Player to integrate support for Apple's "Up Next Queue" and the related "Play Next" and "Play Later" options.

 

This would be a huge benefit as you could easily search for and queue up music in the moment, and return to your regularly scheduled playlist when the queued music has completed.

 

Currently there is no AppleScript support for these features, however the necessary support exists through the Shortcuts app.

 

The secret is having a Shortcut that queues the songs of a playlist which Alfred would control as it already does.

 

Here's an example of such a Shortcut.

 

image.png.3e958751fe3f89e7ba35e0d8e6a04e06.png

 

The Shortcut could then simply be initiated as needed using the command line:
 

shortcuts run "Add to Up Next"

 

I could see options being added to "Play Next" or "Play Later" through modifier keys as is done in others areas of Alfred.

 

Here's an example Shortcut: https://drive.google.com/file/d/1lzFX04SGW4H_fnlzzaI1pBSRxErkkxOK/view?usp=sharing

I do hope this is something that the Alfred team will consider. 
 

  • 3 weeks later...
Posted
On 6/11/2022 at 11:51 AM, christianmagill said:

I've found a solution that would allow Alfred's Music Mini Player to integrate support for Apple's "Up Next Queue" and the related "Play Next" and "Play Later" options.

 

This would be a huge benefit as you could easily search for and queue up music in the moment, and return to your regularly scheduled playlist when the queued music has completed.

 

Currently there is no AppleScript support for these features, however the necessary support exists through the Shortcuts app.

 

The secret is having a Shortcut that queues the songs of a playlist which Alfred would control as it already does.

 

Here's an example of such a Shortcut.

 

image.png.3e958751fe3f89e7ba35e0d8e6a04e06.png

 

The Shortcut could then simply be initiated as needed using the command line:
 

shortcuts run "Add to Up Next"

 

I could see options being added to "Play Next" or "Play Later" through modifier keys as is done in others areas of Alfred.

 

Here's an example Shortcut: https://drive.google.com/file/d/1lzFX04SGW4H_fnlzzaI1pBSRxErkkxOK/view?usp=sharing

I do hope this is something that the Alfred team will consider. 
 

see https://github.com/zcjava/AppleMusicController

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
×
×
  • Create New...