Programmatically Upload Roku Channel without Eclipse Plugin

Viewed 1349

I was wondering if it was possible to upload the zip file of a channel to a roku device using a terminal. It seems like it should be possible because there is a plugin available for Eclipse, but my goal is to not use Eclipse if possible. Any help would be appreciated.

3 Answers

Roku might have changed authorization and uses Digest Auth now. You need to pass various authorization headers for it work successfully. You need to add Digest Username, Realm, nounce, uri, qop, nc, cnounce and response.

Script to upload a zip file to Roku -

curl -i -H 'Authorization:Digest username="...", realm="...", nonce="...", uri="/plugin_install", qop=auth, nc=, cnonce="", response="..."' --form archive=@example.zip --form "mysubmit=Install" "http://IP/plugin_install"
Related