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
What it does
14 actions-
Choose from Menu
-
Choose from MenuLocal
-
Setplaybackdestination
-
Choose from MenuAirPods
-
Setplaybackdestination
-
Choose from MenuDenon
-
Setplaybackdestination
-
Choose from MenuiHome BT
-
Setplaybackdestination
-
Choose from MenuiHome AirPlay
-
Setplaybackdestination
-
Choose from MenuZik Phones
-
Setplaybackdestination
-
Stop This Shortcut
View as code
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
You Might Also Like
Advertisement