ShareShortcuts
Fork “Audio”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so gramps gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
60K
Saved
1
Actions
14
Category
Music
Version
1.0
Language
EN

Preview

a simple yet very useful shortcut that allows you to direct audio output to any connected airplay or Bluetooth device in two taps. Just modify the code to reflect your own devices but leave the first one - local - as is.

What's New

Version 1.0

First release

Version History
1.0 Apr 21, 2020

First release

What it does

14 actions
  1. Choose from Menu
  2. Choose from Menu
    Local
  3. Setplaybackdestination
  4. Choose from Menu
    AirPods
  5. Setplaybackdestination
  6. Choose from Menu
    Denon
  7. Setplaybackdestination
  8. Choose from Menu
    iHome BT
  9. Setplaybackdestination
  10. Choose from Menu
    iHome AirPlay
  11. Setplaybackdestination
  12. Choose from Menu
    Zik Phones
  13. Setplaybackdestination
  14. Stop This Shortcut

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#define color darkorange


const IHome = menu nil {
item "Local":
	rawAction("is.workflow.actions.setplaybackdestination", {
		"WFMediaRoute": ""
	})
item "AirPods":
	rawAction("is.workflow.actions.setplaybackdestination", {
		"WFMediaRoute": ""
	})
item "Denon":
	rawAction("is.workflow.actions.setplaybackdestination", {
		"WFMediaRoute": ""
	})
item "iHome BT":
	rawAction("is.workflow.actions.setplaybackdestination", {
		"WFMediaRoute": ""
	})
item "iHome AirPlay":
	rawAction("is.workflow.actions.setplaybackdestination", {
		"WFMediaRoute": ""
	})
item "Zik Phones":
	rawAction("is.workflow.actions.setplaybackdestination", {
		"WFMediaRoute": ""
	})
}
stop()
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by gramps

See All

You Might Also Like

See All
Advertisement