CLI utility for macOS to watch NPO live- and video streams in QuickTime Player.
In 2016 the Dutch public broadcaster NPO had a bunch of live streams to watch the 2016 summer olympics. I got annoyed watching the streams in a browser, so I created a small tool to watch the olympics in QuickTime Player. A year later I rewrote the tool to support the 11 public NPO streams plus NPO videos (e.g. 'uitzending gemist') and decided to share it with the world.
Note: The NPO has a geoblock on their streams. Streaming NPO channels and videos is only possible in The Netherlands!
- In your terminal type
npm install -g npo
.
In your terminal type
npo
ornpo --help
to show the available NPO live streams.npo [stream name]
to start watching a stream. E.g.npo cultura
.
Go to the NPO site and select the video of your choosing. Copy the url from the address. Open your terminal and type npo --video [url from your address bar]
to start watching the video. E.g. npo --video https://www.npo.nl/zondag-met-lubach/VPWON_1250334
.
Go to the NPO site and select the video of your choosing. Copy the url from the address. Open your terminal and type npo --download [url from your address bar]
to start watching the video. E.g. npo --download https://www.npo.nl/zondag-met-lubach/VPWON_1250334
.
In case you like to improve this package (e.g. add new streams or support for other platforms/videoplayers) then feel free to create a pull request.
NPO Streams is open-sourced software licensed under the MIT license. See LICENSE.txt for more information.