Log in

View Full Version : Webcast Archiving Scripts


plnyyanks
28-02-2014, 18:44
As I mentioned a few days ago (http://www.chiefdelphi.com/forums/showthread.php?p=1349515#post1349515), I wrote up some python scripts this weekend to work on splitting/parsing/uploading recorded events.

You can find all the scripts on my Github Repo (https://github.com/plnyyanks/match-archive-tools)

The main file is match_splitter.py. This script take an input of a local video file, as well as a CSV file of data (with columns: TBA Match Key and start time as hh:mm:ss into video) and extracts all the matches as denoted by the start times given, uploads them to YouTube, and generates a similar CSV file from which you can copy/past into the TBA spreadsheet (https://docs.google.com/spreadsheet/ccc?key=0ApRO2Yzh2z01dExFZEdieV9WdTJsZ25HSWI3VUxsW Gc#gid=1) for YouTube videos.

If you want to run it yourself, there's still a little work to be done getting openauth configured (it might just be easier to set up your own project (https://developers.google.com/youtube/registering_an_application) and go from there), so if anyone knows a better way to do this, let me know.

And as always, if anyone is interested in helping develop, fork/pull request!