https://github.com/terrabits/roku-cli
Roku command line interface and python REPL
https://github.com/terrabits/roku-cli
Last synced: about 1 year ago
JSON representation
Roku command line interface and python REPL
- Host: GitHub
- URL: https://github.com/terrabits/roku-cli
- Owner: Terrabits
- License: mit
- Created: 2023-11-22T00:40:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-13T07:08:28.000Z (over 2 years ago)
- Last Synced: 2025-01-28T09:47:28.789Z (over 1 year ago)
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Roku Remote
Roku command line interface and python REPL
## Install
```shell
cd path/to/roku-remote
pip install .
```
## Command Line Interface
from `roku --help`
```comment
usage: roku [-h] [--app APP] [--discover] --host HOST [--list-apps]
[--list-commands] [--interact] [--timeout-s TIMEOUT_S]
[command]
Roku command line interface and python REPL
positional arguments:
command command to run
options:
-h, --help show this help message and exit
--app APP launch an app by name (case-insensitive)
--discover Use SSDP to find rokus on local networks
--host HOST host name or IP address
--list-apps print installed apps and exit
--list-commands print supported commands and exit
--interact enter interactive python REPL
--timeout-s TIMEOUT_S
set the TCP/HTTP timeout time, in seconds
```
### Apps
The `--app` argument launches an app by name. The app argument is *case-insensitive*.
Argument `--list-apps` prints a list of names of the installed apps. These names can be used with the argument `--app`.
### Commands
The `--command` argument executes a command. The command argument is *case-sensitive*.
Argument `--list-commands` prints a list of supported commands. These commands can be used with the argument `--command`.
## References
This package is simply a wrapper for the python package `roku`.
For more information, see:
[https://github.com/jcarbaugh/python-roku](https://github.com/jcarbaugh/python-roku)