This repo handles the uploading/modifications of Connect session videos. Running the script will check the passed in directory of videos against the LinaroOrg YouTube channel and upload / make any neccessary modifications.
Python script checks for new videos in passed in directory and uploads the videos to YouTube. Any titles/descriptions that have changed are also updated based on the pathable export.
Script outputs the command needed to snyc the passed in directory of videos with the connect.linaro.org static resources bucket.
- pip install --upgrade google-api-python-client
- pip install --upgrade google-auth google-auth-oauthlib google-auth-httplib2
Below is an example of how to use the script from the command line. Supply a video directory, universal string to check videos on YouTube with and the option -V verbose flag.
$ python3 main.py '/home/kyle.kirkby/Documents/Marketing/Connect/YVR18/videos' YVR18 -V