Here's a shell helper I wrote a while ago, mainly to do the following:

1. right-click URL in browser -> copy
2. start cwm(1) application, i.e. `command watch watch' in cwmrc(5)
3. have mpv(1) started streaming the URL, possibly with youtube-dl(1)

I've put it into shape and uploaded the script somewhere, wrote a
proper manual as well so DESCR merely serves as teaser.

        Information for inst:watch-0.1

        Comment:
        watch videos

        Description:
        watch(1) is a small wrapper around mpv(1), youtube-dl(1) and xclip(1)
        providing simple interfaces and intregration to stream arbitrary URLs or
        watch YouTube search results.

        Maintainer: Klemens Nanni <k...@openbsd.org>


I know this could conflict with a future port of the GNU watch(1) tool,
but it has yet to arrive and other names for this tool are already used,
e.g. view(1) from editors/vim and stream(1) from graphics/ImageMagick.

Feedback? OK?

Attachment: watch.tgz
Description: application/tar-gz

Reply via email to