Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 1.45 KB

README.md

File metadata and controls

36 lines (31 loc) · 1.45 KB

roku-rickroll 🎵

Python

Plays Never Gonna Give You Up to Roku TVs on your local network.

rickroll

📌 Installation

git clone https://github.com/milesrack/roku-rickroll.git
cd roku-rickroll
pip3 install -r requirements.txt
python3 roku-rickroll.py

📌 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.

📌 TODO

Status Task
✔️ 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.