Commit Graph

556 Commits (845744cbf606323ed336ec02e849df8f49377f45)
 

Author SHA1 Message Date
Mike Lang 1159a518f0
Merge pull request #100 from ekimekim/mike/cutter/multiple-locations
cutter: Allow multiple upload locations
5 years ago
Mike Lang 1a177931a6 cutter: Simplify upload backend interface
Only support iterable of string, not file-like or string.

This is a minor usability loss but we only call this from one place anyway
and it's always an iterable of string.
5 years ago
Mike Lang 2194e47ab5
Merge pull request #101 from ekimekim/mike/cutter/set-error-on-holes
cutter: Set an error message to warn humans when it discards a candidate due to holes
5 years ago
Mike Lang f8039028c4 local upload backend: Add a testing option to show info upload_video() was called with
This is useful because it lets us test uploads and tag logic without involving youtube.
5 years ago
Mike Lang d6ed138db8 cutter: Set an error message to warn humans when it discards a candidate due to holes
This prevents videos being stuck in EDITED with no visible problem when
they contain holes, but is likely to false positive sometimes.

This is fine though, as it's just a human-readable warning and
it will be cleared as soon as any node accepts the row to be cut.
5 years ago
Mike Lang 75acd978de cutter: Implement a Local upload location
This cuts to local disk, useful for self-hosting and testing.
5 years ago
Mike Lang 8e6c40610a cutter: Allow config to manually disable transcode checking for location
This deals with the problem where multiple youtube locations that refer
to the same actual account (but with different settings) will all try to check
for when videos are done transcoding, when only one is needed.
5 years ago
Mike Lang ecf58dfbfc cutter: Add ability to configure multiple upload locations
Cutter now takes a 'config' arg which is a json blob with detail
on each upload location. This is a bit nasty if you're trying to run it manually
but was the easiest way to transfer the config data from docker-compose.jsonnet
to the actual application.
5 years ago
Mike Lang 514a7a4d08 Split cutter and sheetsync creds so they can be different
This also means that they can't access each others' creds,
which is good for security.
5 years ago
Mike Lang 32d352e2ba cutter: Set video directly to DONE if upload backend doesn't need transcoding
This will be the case for probably all non-youtube backends.
5 years ago
Mike Lang 39f006fdab cutter: Replace youtube client with generic upload backend and specific youtube implementaton
Still to go: Actually constructing the correct backend based on given config,
switching behaviour based on needs_transcode.
5 years ago
Mike Lang 15f879682d cutter: Allow job to specify upload location
This lays the groundwork for being able to cut to many upload locations.
Right now, only a single location can be configured, and only youtube is supported.
5 years ago
Christopher Usher 9ed8facce8 fixed bug in error handling 5 years ago
Christopher Usher a63e18c0a9 added state to upload_errors 5 years ago
Christopher Usher 228468749c changes based on ekim's suggestions 5 years ago
Christopher Usher 5c08540c0a stats for the cutter 5 years ago
Christopher Usher 989ef80d30 starting on adding some stats to the cutter 5 years ago
Christopher Usher f9ce41ef32 metrics for the sheetsync 5 years ago
Christopher Usher 928f9733d2 horrible bug with negative times fixed 5 years ago
Christopher Usher a2e47b98f5 fixes -- in dates and the lack of the preshow 5 years ago
Christopher Usher ccb7f3c684 now use parse_segment_path to get hash from filename 5 years ago
Christopher Usher a6303c38ce fixed parse_segment_path to allow just a filename to be parsed 5 years ago
Christopher Usher 36da1926d0 fixes for ekims suggestions 5 years ago
Christopher Usher 34785d1179 now checking the hashes 5 years ago
Christopher Usher b0562495d2 reject mismatched hashes; more metrics 5 years ago
Christopher Usher 120a5a7de0 started on checking the hash 5 years ago
Ubuntu 875e4271a6 Fixing handling of null times. 5 years ago
MasterGunner 04f7928715 Cleaning up the new dashboard columns. 5 years ago
MasterGunner 52e456e0c1 Draft Button and Dashboard Columns 5 years ago
Christopher Usher 632c5fae2f added a default timeout to database connections 5 years ago
Christopher Usher d1e2957198 minor style changes to docker-compose 5 years ago
Chris Usher 557ddddc31 better logging for the backfiller 5 years ago
MasterGunner 919f993c33
Merge pull request #53 from ekimekim/gunner/security
Proposal for security model
5 years ago
MasterGunner 6d421c1f3a
Update SecurityModel.md 5 years ago
Christopher Usher 9a13372976 docker-compose fix 5 years ago
Christopher Usher 44f0e0defb changed it back so only the name is checked 5 years ago
Christopher Usher 7591428168 added localhost backfiller option 5 years ago
Chris Usher aab46f9765 fixed localhost bug in backfiller 5 years ago
Mike Lang 37c9eff587 Provide a rendered version of the dashboard
so that it's possible to use without the tooling I can't share.
5 years ago
MasterGunner 54f6a707f5
Merge pull request #75 from ekimekim/gunner/thrimbletrimmer-integration
Gunner/thrimbletrimmer integration
5 years ago
mg 936a2387c8 Change to how default channel is handled. 5 years ago
mg ca11e59511 Adding channel/start time info to Thrimshim to pass to Thrimbletrimmer. 5 years ago
mg 24e4e0ba28 Fixed how thrimbletrimmer is enabled/disabled. 5 years ago
mg 5c08054cdd Fixing default services enabled. 5 years ago
mg ae3d82026e Removed extrenuous .bak files, ensured newline at the end of files, and changed thrimbletrimmer to be separate from services. 5 years ago
MasterGunner 697f6aedc2 Update LICENSE
May as well use my name too.
5 years ago
Christopher Usher 63d18641cc Update LICENSE 5 years ago
Christopher Usher e9eab3df44 Update readme
Update readme to reflect Thrimbletrimmer now being a component
5 years ago
mg 6edd224395 Merging Thrimbletrimmer into Wubloader with latest changes. 5 years ago
mg 7876880629 Removing "experimental" cutting feature 5 years ago