nomadhoc/sound-play

How to stop or pause audio after playing?

Opened this issue · 1 comments

How to stop or pause audio after playing?

fixed it by downloading the source index.js and replacing line 13 with this:
const stopAudio = Start-Sleep 5; Start-Sleep -s $player.NaturalDuration.TimeSpan.TotalSeconds; Exit;