Skip to content

Instantly share code, notes, and snippets.

@RiedleroD
Created April 2, 2023 13:57
Show Gist options
  • Save RiedleroD/2f86286b8815ad4d06de9b3215b331e9 to your computer and use it in GitHub Desktop.
Save RiedleroD/2f86286b8815ad4d06de9b3215b331e9 to your computer and use it in GitHub Desktop.
plays the windows device connected / disconnected sound randomly forever
if command -v yt-dlp 1>/dev/null 2>/dev/null
then
export YDL=yt-dlp
else
export YDL=youtube-dl
fi
$YDL BonZhGydBPw -x -o - > /tmp/docker_ccQC3O9M.lock
ffplay /tmp/docker_ccQC3O9M.lock -nodisp -loop 0 1>/dev/null 2>/dev/null &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment