Skip to content

nitrocode/PlayOnRoku-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Uses PlayOnRoku builtin app to cast mp4 and other supported file types with a URL as an argument

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages