Re: NEW: sysutils/watch (not the procps-ng one)

2020-12-13 Thread Mikolaj Kucharski
On Sun, Dec 13, 2020 at 06:37:27PM +, Stuart Henderson wrote:
> 
> I agree with the other feedback about category, multimedia would seem the
> natural choice.
> 

mwatch name would probably fit for a multimedia app?

-- 
Regards,
 Mikolaj



Re: NEW: sysutils/watch (not the procps-ng one)

2020-12-13 Thread Stuart Henderson
On 2020/12/13 03:55, Klemens Nanni wrote:
> 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

typo; integration

>   watch YouTube search results.
> 
>   Maintainer: Klemens Nanni 
> 
> 
> 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,

gnuwatch has been there since 2006 (I normally use iwatch for that though).
There's no conflict in filenames, but somebody running "pkg_add watch"
might get confused and I would ideally prefer a less generic name.

I agree with the other feedback about category, multimedia would seem the
natural choice.

> e.g. view(1) from editors/vim and stream(1) from graphics/ImageMagick.
> 
> Feedback? OK?




Re: NEW: sysutils/watch (not the procps-ng one)

2020-12-13 Thread Ed Gray
Hi Klemens,

I'm a user of openbsd rather than developer at the moment but interested in
what's happening.

Why would you put this in sysutils? It seems a strange place rather than
net or www or multimedia?

The traditional iwatch or gnuwatch is definitely more for sysadmins or
users monitoring an ongoing process in my opinion.

Regards
Ed Gray

On Sun, 13 Dec 2020, 2:56 am Klemens Nanni,  wrote:

> 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 
>
>
> 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?
>


NEW: sysutils/watch (not the procps-ng one)

2020-12-12 Thread Klemens Nanni
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 


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?


watch.tgz
Description: application/tar-gz