项目作者: jamiew

项目描述 :
Generate a Roku Direct Publisher based on your Vimeo videos
高级语言: Ruby
项目地址: git://github.com/jamiew/vimeo-roku-direct.git
创建时间: 2017-05-03T01:27:54Z
项目社区:https://github.com/jamiew/vimeo-roku-direct

开源协议:

下载


Vimeo Roku Feed

Work In Progress, proceed at your own risk. Pull requests welcome.

Instantly publish a Roku app powered by your Vimeo channel.

This app generates and serves a Roku Direct-compatible feed using data from the Vimeo API.

Note that this requires a Vimeo PRO or Vimeo Business account.

More info on Roku Direct Publisher here: https://blog.roku.com/developer/2016/10/19/publishing-platform/

Setup

  1. bundle install
  • Get a Vimeo access token on https://developer.vimeo.com (make an app, then make an access token on the ‘Authentication’ tab)
  • Copy .env.sample to .env.
  • Put your VIMEO_ACCESS_TOKEN in .env

Usage

  • Fetch your Vimeo videos. This command generates a Roku-compatible feed and saves it to disk:
  1. bundle exec ruby update-feed.rb

Or run it as a web server:

  1. foreman start

If you don’t have foreman installed:

  1. bundle exec rackup config.ru

TODO

  • Make feed updates easier, or automated in a foreman worker process
  • Heroku deployment instruction
  • Tests tests tests tests

Contributors

License

Released under an MIT License