Scanne avec ton iPhone pour installer
a music controller
Nouveautés
Version 1.0
First release
Ce qu’il fait
25 actions-
Choose from MenuMusic Controller
-
Choose from MenuSeek Time
-
Seek
-
Choose from MenuSet Playback Destination
-
Setplaybackdestination
-
Choose from MenuSelect Music
-
Choose from MenuPlay Specific Music
-
Play Music
-
Choose from MenuGet Current Song
-
Get Current Song
-
Show Alert
-
Choose from MenuSkip Back
-
Skip Back
-
Choose from MenuPlay/Pause
-
Play/Pause
-
Choose from MenuSkip Forward
-
Skip Forward
-
Choose from MenuHandoff Music
-
Handoffplayback
-
Choose from MenuGet Artist
-
Get Music Detail
-
Choose from MenuClear Up Next
-
Clear Up Next
-
Choose from MenuAdd to Up Next
-
Play Next
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#include 'actions/music'
#define color red
#define glyph musicNoteAlt
menu "Music Controller" {
item "Seek Time":
seek(, Ask)
item "Set Playback Destination":
rawAction("is.workflow.actions.setplaybackdestination", {
"WFMediaRoute": "Ask"
})
item "Select Music":
item "Play Specific Music":
playMusic(Ask)
item "Get Current Song":
const CurrentSong = getCurrentSong()
confirm(CurrentSong)
item "Skip Back":
skipBack()
item "Play/Pause":
pause()
item "Skip Forward":
skipFwd()
item "Handoff Music":
rawAction("is.workflow.actions.handoffplayback", {
"WFDestinationMediaRoute": "Ask",
"WFSourceMediaRoute": "Ask"
})
item "Get Artist":
getMusicDetail(CurrentSong, "")
item "Clear Up Next":
clearUpNext()
item "Add to Up Next":
playLater(CurrentSong)
}
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Plus de theshortcutguy2
Ça pourrait aussi te plaire
Publicité