• Stars
    star
    100
  • Rank 340,703 (Top 7 %)
  • Language AppleScript
  • License
    MIT License
  • Created about 11 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An Alfred workflow for quickly and easily playing music in the Apple Music app

Play Song

Copyright 2013-2023 Caleb Evans
Released under the MIT license

Play Song is an Alfred workflow designed to make playing music in Music.app extremely quick and convenient.

The workflow will be solely supporting Alfred 5 going forward, but the workflow versions last compatible with the previous versions of Alfred will remain available here for your convenience.

Play Song in action

Special thanks to @Tyilo for his invaluable feedback and code contributions.

Usage

Play Song includes a number of keyword filters which allow you to search for and play songs in your Music.app library. For example:

Playing a song

playsong hey jude

Playing a song in a particular album

playsongin abbey road

Playing a song by a particular artist

playsongby beatles

Playing an album

playalbum pet sounds

Playing an album by a particular artist

playalbumby beach boys

Playing an artist

playartist killers

Playing a genre

playgenre alternative

Playing a playlist

playplaylist favorites

Controlling the Music app's global shuffle setting

shuffleon
shuffleoff
shuffletoggle

Queueing songs

For any of the above filters, choosing a result with the cmd key held down will queue the result (as opposed to playing it immediately). This allows you to queue up multiple songs before playing them.

To play the songs you've queued, use the playqueue keyword. To clear the queue of all songs, use the clearqueue keyword.

Note: At this time, Play Song does not support queueing for Apple Music playlists.

Searching songs on Google

For any of the above filters, choosing a result with the ctrl key held down will search the result on Google.

Clearing the cache

Play Song stores a local cache containing album artwork (from displayed results), as well as the compiled workflow configuration. If you experience any issues with Play Song, you can clear this cache via the clearcache keyword.

A note about play order

Play Song always respects the current shuffle mode within Music.app. For example, if shuffle is enabled, playing an album via Play Song will play the songs of the album in shuffled order. Therefore, if you desire Play Song to respect album order, run the shuffleoff command within Alfred.

Additionally, Play Song will honor the column you are sorting by in Music.app to sort queued songs. This applies to keyword filters like playartist, playalbum, and playgenre. For example, if you are sorting by "Album by Artist" in your library, then Play Song will group artists together and group albums together when using playgenre. However, if you are sorting by "Title" in your library, then Play Song will disregard album groupings and simply play songs in alphabetical order.

The playplaylist filter is the only Play Song filter where play order is guaranteed.

Playing a song directly (the Play Song v1 behavior)

If you are a longtime Play Song user who prefers the v1 behavior for playing songs (where music continues playing after the song finishes), you can do so via the shift modifier. Note that this only works for the playsong filter.

Support

If you have a bug to report or a feature to request, please submit an issue on GitHub. You can also contact me directly via email.

More Repositories

1

jcanvas

A jQuery plugin that makes the HTML5 canvas easy to work with.
TypeScript
625
star
2

automata

A Python library for simulating finite automata, pushdown automata, and Turing machines
Python
340
star
3

youversion-suggest-alfred

An Alfred workflow for searching the YouVersion Bible quickly and easily
Python
48
star
4

open-conference-url

An Alfred workflow to open the Zoom/Meet/etc. URL for your next meeting
Python
36
star
5

cache-simulator

A processor cache simulator for the MIPS architecture
Python
33
star
6

imessage-conversation-analyzer

Gathers metrics of your choice for the entire history of a macOS Messages conversation
Python
25
star
7

connect-four

The slickest way to get 4-in-a-row, written using HTML5, JS, and Mithril (like React). Features an AI player, online multiplayer capability, and a smooth user interface
JavaScript
23
star
8

alfred-workflow-packager

A command-line utility for packaging and exporting Alfred workflows with ease
Python
18
star
9

jcanvas-docs

Documentation for jCanvas, the HTML5 canvas library
11
star
10

dotfiles

Configuration files and useful scripts for my development workflow
Shell
6
star
11

faith-dashboard

A private board for your favorite Bible verses, sermons, and anything else you need to be encouraged when life happens. Built with NextJS+React and TypeScript
TypeScript
5
star
12

jcanvas-website

The official website for jCanvas, the jQuery canvas library
SCSS
4
star
13

cidr-brewer

A CLI utility for working with classless IP addresses
Python
4
star
14

ssh-wp-backup

A utility for creating local backups of a remote WordPress database via SSH
Python
4
star
15

truthy

The truth table generator app, written in JavaScript using Mithril
JavaScript
3
star
16

calc

A JavaScript library that does the math so you don't have to
JavaScript
2
star
17

youversion-suggest-data

Bible data for the YouVersion Suggest search utilities
Python
2
star
18

rollup-plugin-watch-globs

A Rollup plugin that allows you to watch arbitrary files for changes (like static assets and stylesheets)
TypeScript
2
star
19

awesome-cpt

Code WordPress custom post types, taxonomies, and meta boxes with ease and power
PHP
2
star
20

sw-update-manager

Detect service worker updates and notify the user when an update is available
JavaScript
2
star
21

flip-book

Create flip book-style animations to share with friends.
JavaScript
1
star
22

cpu-scheduling-des

A CPU Scheduling Discrete Event Simulation (DES)
C++
1
star
23

youversion-suggest-node

An npm package for searching and fetching Bible content from YouVersion
TypeScript
1
star
24

personal-website

My personal website, built with NextJS
Svelte
1
star
25

three-of-a-crime

Simulator programs for the card game Three of a Crime
Python
1
star
26

language-pip

Support for various pip-related file types in Atom
CoffeeScript
1
star
27

bg-generator

A generator for tiled backgrounds
Svelte
1
star
28

bump-anything

A CLI utility that increments the version number for various file formats and project types
Python
1
star
29

planning-center-alfred

An Alfred workflow for looking up people in Planning Center
Python
1
star
30

intervarsity-theme

A WordPress theme for InterVarsity Christian Fellowship chapters
PHP
1
star
31

language-sca

Adds SuiteCommerce Advanced language support to Atom
CoffeeScript
1
star
32

pegjs-brunch

A generic PEG.js plugin for Brunch
JavaScript
1
star