All Projects â†’ albinekb â†’ Open Pip Cli

albinekb / Open Pip Cli

Licence: mit
📺 CLI for https://github.com/albinekb/open-pip - Open a movie url or path in macOS picture-in-picture

Programming Languages

javascript
184084 projects - #8 most used programming language

📺 open-pip-cli Standard - JavaScript Style Guide

CLI for open-pip This will let you open a movie url/path in macOS native picture-in-picture player.

Both local files and urls are supported.

Known working formats

  • mp4
  • m4v
  • mov
  • m3u8

Known not working formats

  • mkv
  • avi

Example

example

You can also pipe any video URL to open-pip. For example, using the ytdl module, you can play a YouTube video:

yarn global add ytdl
ytdl _HSylqgVYQI --print-url | open-pip

Using the twitch-url-cli module, you can stream a Twitch channel (you need a Twitch client ID though)

yarn global add twitch-url-cli
echo "abcdefghijklmno12345" > ~/.twitch-client-id
twitch-url BobRoss | open-pip

Let us know if you have examples for more services.

Install

yarn

yarn global add open-pip-cli

npm

npm install --global open-pip-cli

Requirements

As the native picture-in-picture player is only available in macOS Sierra (10.12) and above, this module will also only work with those versions.

Author

Albin Ekblom (@albinekb)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].