IsSongPlayingOrPaused

Music • Updated 1 year ago

Download Shortcut Add to Collection
Version 1.1 • 14383 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
    1 year ago (Changes)
  • Version 1.0
    1 year ago (Changes)

Extensions:

Siri is supported

Show 2 embedded comment(s) in this Shortcut