milesrack / roku-rickroll

Rickroll the Roku TVs on your network.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Rickroll the Roku TVs on your network.


Languages

Language:Python 100.0%