Example #1
0
def pause():
    if not player.paused:
        sleeper.kill()
        player.pause()
Example #2
0
def pause():
    """Pause the playlist if playing."""
    if not player.paused:
        sleeper.kill()
        player.pause()