IsSongPlayingOrPaused

Music • Updated 2 years ago

Download Shortcut Add to Collection
Version 1.1 • 18251 unique downloads

ShareShortcuts Member:

@weplaydr



IsSongPlayingOrPaused 1/0 SHORTCUTS HAS NO NATIVE SUPPORT TO DETERMINE WHETHER OR NOT CURRENT SONG IS PLAYING OR PAUSED. This is carefully crafted to first circumvent possible conversion errors by CASTING PLAYBACK POSITION TO NUMBER (Type); sampling twice; then test whether delta is non-zero.


Changelog

v1.1
  • Version 1.1   Current
    2 years ago (Changes)
  • Version 1.0
    2 years ago (Changes)

Extensions:

Siri is supported

Show 2 embedded comment(s) in this Shortcut