Commit Graph

717 Commits (04d8d383f313f41f3a957591247b9fb982e2ba47)
 

Author SHA1 Message Date
Mike Lang 04d8d383f3 cut_sync_race: Refactor for code reuse 3 years ago
Mike Lang a6fffa6a72 Automatically take first found start in reviews, but warn user if we do
The vast majority of the time, this is just because of an early 1-1 trapdoor.
But we should double-check.
3 years ago
Mike Lang b8c86eac52 list_races: update for condor xii 3 years ago
Mike Lang 84d19376f5 add dockerignore to ignore a local folder 3 years ago
Mike Lang 799a2f4e29 don't restart downloader except explicitly
because there's no other downloader / backfiller, restarts = lost segments
3 years ago
Mike Lang 77d8ce4d00 cut_sync_race: non-interactive, fast encode options. auto-delete start file if all good 3 years ago
Mike Lang 95fe403b91 review: don't return an absolute location header
bad old flask version forces an absolute location when it shouldn't
3 years ago
Mike Lang 59b0732c2f wip: 3 years ago
Mike Lang 14d72759d4 wip: 3 years ago
Mike Lang f45761c49e switch to new condor DB for season xii 3 years ago
Mike Lang dbd13426f3 More random scripts 3 years ago
Mike Lang c2d2c1c872 Add replay.html to help automate setting up replays 3 years ago
Mike Lang 5954c55413 stream_in_sync.py: ideas for streaming live two side-by-side syncronized streams 3 years ago
Mike Lang 2b8bf96e62 review: improve blackdetect parsing
sometimes ffmpeg will use a bare \r before writing out the blackdetect line,
not a \n. catch this case by splitting on either.
3 years ago
Mike Lang 345cb53f4e review: allow manual start selection
* return start video
* use ubuntu instead of alpine because ffmpeg in alpine lacks drawtext support
* only cache if inputs are exactly the same, preventing accidents (prev scheme too weak)
* fix a bug where end range is wrong if start_range doesn't start at 0
	conceptually, this was a more serious bug as time_offset was wrong, but luckily the bug applied
	equally to both racers so there was no net effect
3 years ago
Mike Lang d37cca52c9 review: Avoid race conditions if called multiple times
By always using unique filepaths (except for the final result, which is written atomically)
we turn multiple simultanious calls into at worst wasted effort, instead of garbled results.
3 years ago
Mike Lang a236509470 and get it working 3 years ago
Mike Lang 04ae9dd695 Finish adapting cut_review for restreamer 3 years ago
Mike Lang 9f772d378c always watch my own channel 4 years ago
Mike Lang 99310d9326 list_races: don't crash if racers aren't set 4 years ago
Mike Lang 3a5f17f83e cut_review: make some more timing things arguments 4 years ago
Mike Lang 7feaa2d31d wip: unfinished: port cut_reviews.py into restreamer 4 years ago
Mike Lang 901ed0106e cut_review: tell ffmpeg not to fail on odd resolutions 4 years ago
Mike Lang 5f16ce4c3b restreamer: fix bug in /cut 4 years ago
Mike Lang 7eb9cf6543 cut_review: autodetect start 4 years ago
Mike Lang dc76d02f36 wip: 4 years ago
Mike Lang bfe729e653 wip: 4 years ago
Mike Lang 1558b1165a wip: 4 years ago
Mike Lang 2dbb8dbaee improve replay path behaviour for missing sources and change placeholder 4 years ago
Mike Lang 7e9aa3e8a4 update for condor x2 4 years ago
Mike Lang 3764ec1a6f delete unused and broken get_channels_for_game
this api call no longer works, and isn't actually needed anymore
4 years ago
Mike Lang f16ea0d649 update for season 10 4 years ago
Mike Lang 6bc3b50727 wip: 4 years ago
Mike Lang d779d88b75 Replace follow-game with asking CoNDOR DB about who is racing right now
We save all racing + caw streams for races that start within the next 5min
and have not yet finished.

Removed the follow_game stuff completely because the twitch API it used is dead.
4 years ago
Mike Lang 684971fcc7 Simple script for running downloader with correct args and given channels 4 years ago
Mike Lang 4ce2094cef changes for charm 4 years ago
Mike Lang c3e9ffd244 set up for local capture only 4 years ago
Mike Lang 06ea2a31b5 add follow games to docker-compose.jsonnet 4 years ago
Mike Lang f7154cd054 some more features 4 years ago
Mike Lang c5bb21e6e7 wip: 4 years ago
Mike Lang e179b4c508 script for cutting segments into race vods 4 years ago
Mike Lang e789e04b27 restreamer: Hack in a path to re-stream "last 20 seconds", for live 'replays' 4 years ago
Mike Lang a59fe25cfa downloader: Sloppily restructure main to have dynamic list of channels taken from what game they're playing 4 years ago
Mike Lang 32138bbd43 downloader: Update to work with twitch's new access token API
Twitch removed their old access token endpoint and now use a GraphQL endpoint.
The old endpoint would just always return 404, which we sadly interpreted as "stream not up".

Thankfully streamlink has already done the reverse engineering work so I was able to
update it to work again fairly easily, it's just a bit more convoluted.
4 years ago
Hubbe 36a5387e26 Change wording on edit submitted alert()
An edit has been submitted for the video. The video hasn't been submitted yet, thrimbletrimmer just informs other components how it wants the edit to be.
4 years ago
Mike Lang 74a38bfaeb thrimbletrimmer: Instead of redirecting on submit, alert but stay 4 years ago
Mike Lang 337111a9ab thrimbletrimmer: Always alert() on errors 4 years ago
Hubbe 27265f3bca Set video.js volume to 50% by default
When the video.js player is ready, set its volume to 50%
4 years ago
Mike Lang f8c877775d Add an alternate manual upload mode specifically for youtube
Adds a built-in "youtube-manual" location which is like "manual" except that it only works
with youtube URLs and populates the video_id column.

The intent is so that we can have playlist_manager manage videos we upload manually,
while still being able to distinguish between that and other manual links that shouldn't
be included (eg. links to third party youtube videos).

This is set when setting a manual link in thrimbletrimmer with a new checkbox, default off.
4 years ago
Christopher Usher ad03a087ab Added tags to the thrimbletrimmer dashboard 4 years ago