clapper icon indicating copy to clipboard operation
clapper copied to clipboard

Treat "-" as stdin

Open sp1ritCS opened this issue 4 years ago • 1 comments

If Clapper is invoked with "-" as file, it should read from stdin (like other GNU applications), rather than trying to read "$PWD/-".

This allows for more straight forward piping:

streamlink twitch.tv/pimpcsgo 720p60 --stdout | com.github.rafostar.Clapper -

rather than

[...] | com.github.rafostar.Clapper /dev/stdin

sp1ritCS avatar Jul 18 '21 18:07 sp1ritCS

This is gonna depend on finishing and merging gstplaylist branch, as setting and parsing playlist files will be handled a little differently then.

Rafostar avatar Aug 24 '21 07:08 Rafostar