Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nitrocode/playonroku-cli
Uses PlayOnRoku builtin app to cast mp4 and other supported file types with a URL as an argument
https://github.com/nitrocode/playonroku-cli
Last synced: 8 days ago
JSON representation
Uses PlayOnRoku builtin app to cast mp4 and other supported file types with a URL as an argument
- Host: GitHub
- URL: https://github.com/nitrocode/playonroku-cli
- Owner: nitrocode
- Created: 2018-07-17T22:55:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T06:36:54.000Z (about 2 years ago)
- Last Synced: 2024-10-27T03:46:39.530Z (about 2 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PlayOnRoku-cli
CLI app to quickly cast an mp4 from a url to Roku using PlayOnRoku built in channel app.
## Prereq
* Port 1900 UDP should be open to detect the Roku via SSDP
* Install `pipenv`pip install pipenv
* Install
pipenv install
## Usage
./por.py http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4
Output
curl -d '' 'http://192.168.1.33:8060/input/15985?t=v&u=http%3A%2F%2Fdownload.blender.org%2Fpeach%2Fbigbuckbunny_movies%2FBigBuckBunny_320x180.mp4&videoName=idgaf&k=(null)&videoFormat=mp4'
## TODO
- [ ] `argparse` instead of `sys.argv`
- [ ] override roku IP using config file and `argparse`
- [ ] single binary using `pyinstaller` or similar or convert to go