https://github.com/milesrack/roku-rickroll
Rickroll the Roku TVs on your network.
https://github.com/milesrack/roku-rickroll
home-automation prank python python3 rickroll roku
Last synced: about 1 year ago
JSON representation
Rickroll the Roku TVs on your network.
- Host: GitHub
- URL: https://github.com/milesrack/roku-rickroll
- Owner: milesrack
- Created: 2021-04-08T12:04:49.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-08T12:05:58.000Z (about 5 years ago)
- Last Synced: 2024-11-09T19:12:16.643Z (over 1 year ago)
- Topics: home-automation, prank, python, python3, rickroll, roku
- Language: Python
- Homepage:
- Size: 2.25 MB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# roku-rickroll :musical_note:

Plays [Never Gonna Give You Up](https://www.youtube.com/watch?v=dQw4w9WgXcQ) to Roku TVs on your local network.

## :pushpin: Installation
```
git clone https://github.com/milesrack/roku-rickroll.git
cd roku-rickroll
pip3 install -r requirements.txt
python3 roku-rickroll.py
```
## :pushpin: Usage
```
usage: roku-rickroll.py [-h] [-d] [-t TARGET] [-a] [-r [REPLAY]]
optional arguments:
-h, --help show this help message and exit
-d, --discover Discover Roku devices on the local network
-t TARGET, --target TARGET
Target to Rickroll
-a, --target-all Target all Roku devices on the local network
-r [REPLAY], --replay [REPLAY]
Number of times to replay the video (default 0)
```
This not work 100% of the time (errors, YouTube promotions/messages, latency) but re-running the script or slightly increasing values for `time.wait()` usually fixes these issues.
## :pushpin: TODO
|Status|Task|
|----------|--------|
|:heavy_check_mark:|Initial commit|
||Discover Roku devices via SSDP rather than scanning port 8060 on 255 hosts|
||Possibly cast locally stored videos to the Roku (no ads, less latency)|
**NOTE:** Do not use this on people's TVs without their permission. I am not responsible for what you do.