Sha256: e66ba9c7ecee30c49075d1c35c079fcce8809039358211ec0a1c6047a2c2a894

Contents?: true

Size: 418 Bytes

Versions: 3

Compression:

Stored size: 418 Bytes

Contents

#!/bin/bash -ex
cd "$( dirname "${BASH_SOURCE[0]}" )"/..
test "$#" -ne 2 && echo "Usage: media-upload CHANNEL MP4-MEDIA-PATH" >&2 && exit 145

COMPOSE_FILE=docker-compose.yml
COMPOSE_PROJECT_NAME=youtubby_exp

docker-compose build --force-rm

export GOOGLE_CLIENT_ID="$(< exp/.google-client-id)"
export GOOGLE_CLIENT_SECRET="$(< exp/.google-client-secret)"

docker-compose run --rm youtubby upload.rb "/media/$2" "$1"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ffmprb-0.12.3 exp/youtubby/exp/media-upload
ffmprb-0.12.2 exp/youtubby/exp/media-upload
ffmprb-0.12.1 exp/youtubby/exp/media-upload