ShareShortcuts

Music Remote

A simple remote for media player on your iOS device

diana2459096183
Fork “Music Remote”

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 diana2459096183 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
39K
Saved
0
Actions
27
Category
Music
Version
1.0
Language
EN

A simple remote for media player on your iOS device. You dont have to open spotify if you dont want to, but there is an option for it anyways.

What's New

Version 1.0

First release

Version History
1.0 Aug 8, 2022

First release

What it does

27 actions
  1. Choose from Menu
    Music Remote
  2. Choose from Menu
    PLAY/PAUSE
  3. Play/Pause
  4. Choose from Menu
    SKIP FORWARD
  5. Skip Forward
  6. Choose from Menu
    SKIP BACK TO BEGINNING
  7. Skip Back
  8. Choose from Menu
    SKIP BACK TO PREVIOUS SONG
  9. Skip Back
  10. Choose from Menu
    VOLUME + 15%
  11. Get Device Details
  12. Calculate
  13. Set Volume
  14. Choose from Menu
    VOLUME - 15%
  15. Get Device Details
  16. Calculate
  17. Set Volume
  18. Choose from Menu
    VOLUME + 25%
  19. Get Device Details
  20. Calculate
  21. Set Volume
  22. Choose from Menu
    VOLUME - 25%
  23. Get Device Details
  24. Calculate
  25. Set Volume
  26. Choose from Menu
    OPEN SPOTIFY
  27. Open App

View as code
Beta

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

#include 'actions/music'
#define color green
#define glyph livePlay


menu "Music Remote" {
item "PLAY/PAUSE":
	play()
item "SKIP FORWARD":
	skipFwd()
item "SKIP BACK TO BEGINNING":
	skipBack()
item "SKIP BACK TO PREVIOUS SONG":
	skipBack()
item "VOLUME + 15%":
	const CurrentVolume = getDeviceDetail("Current Volume")
	const CalculationResult = CurrentVolume + 0.15
	setVolume(CalculationResult)
item "VOLUME - 15%":
	const CurrentVolume1 = getDeviceDetail("Current Volume")
	const CalculationResult1 = CurrentVolume1 - 0.15
	setVolume(CalculationResult1)
item "VOLUME + 25%":
	const CurrentVolume2 = getDeviceDetail("Current Volume")
	const CalculationResult2 = CurrentVolume2 + 0.25
	setVolume(CalculationResult2)
item "VOLUME - 25%":
	const CurrentVolume3 = getDeviceDetail("Current Volume")
	const CalculationResult3 = CurrentVolume3 - 0.25
	setVolume(CalculationResult3)
item "OPEN SPOTIFY":
	openApp("com.spotify.client")
}
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 diana2459096183

See All

You Might Also Like

See All
Advertisement