[odrbin] add livestream script
This commit is contained in:
parent
62ec741cd0
commit
16b21a253a
5
.local/odrbin/livestream
Executable file
5
.local/odrbin/livestream
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
url="$1"
|
||||
while ! yt-dlp -j "${url}"; do sleep 10; done
|
||||
|
||||
exec mpv --no-resume-playback "${url}"
|
Loading…
Reference in a new issue