Commit Graph

1528 Commits (64f5873b3b5e21185ad7b4dd2eac3e7b676d134a)
 

Author SHA1 Message Date
Christopher Usher 64f5873b3b Bug fixed 10 months ago
Christopher Usher 656be6c292 Allow for masking digits 10 months ago
Mike Lang 6c97654da3 thrimbletrimmer: Don't listen for loadedmetadata in two places
The first place never fires, the second one replaces it I think.
10 months ago
Mike Lang 9d45833ed1 fix returning wrong thing 10 months ago
Mike Lang 3bbedde112 download_media: Handle relative urls in redirect 10 months ago
Mike Lang e8ff4ed144 fix parsing certain imgur album links 10 months ago
ElementalAlchemist 90696bbeda Upgrade Hls.js 10 months ago
Mike Lang 5b62e3a2ff fix bug where oneoff templates are uploaded without a frame 10 months ago
Mike Lang 3d22afbf0d thrimbletrimmer: Load uploaded template in crop tool when type = ONEOFF 10 months ago
Christopher Usher 87b27582c4 Updated colours to observed values 10 months ago
Kim 64672b2e16 Update buscribe/buscribe/buscribe.py
Co-authored-by: Mike Lang <ekimekim@users.noreply.github.com>
10 months ago
Kim a001e913e3 Add new logging invocation for in-progress VOSK monitoring, as well as migrate to f-string syntax for rest of buscribe. 10 months ago
Mike Lang f0fb2fb281 pubbot: Don't send updates with 0 increase
These double messages happen occasionally, we want to just ignore them.
10 months ago
Mike Lang eb05d37319 remove unneeded rm EXTERNALLY-MANAGED for buscribe 10 months ago
Mike Lang e161e97bb4 pubbot: Flush log, fix type, fetch current total on start 10 months ago
Mike Lang 1956063c67 upgrade to alpine 3.19
- gets us a slightly newer ffmpeg with more transitions
- requires deleting the EXTERNALLY_MANAGED flag file that makes pip not work
10 months ago
Mike Lang bad4f55cab upgrade to alpine:3.18 10 months ago
Mike Lang bb531ce4eb playlist_manager: Fix bad playlist value when using cache 10 months ago
Mike Lang 5019b25fa7 require minimum version of urllib3 10 months ago
Mike Lang 2123f67f8b install urllib3 for download_media 10 months ago
Mike Lang fd0f0399fc Don't use ExceptionGroup because upgrading python is too painful 10 months ago
Mike Lang 6b1989ec4c Revert "Instead of backport libraries, just upgrade to alpine 3.20 (python 1.12)"
and the later attempts to make it work
10 months ago
Mike Lang ca6f589e30 but only AFTER installing pip 10 months ago
Mike Lang cf9cd114ed Stop pip from refusing to work inside our containers 10 months ago
Mike Lang 9960accc0f Instead of backport libraries, just upgrade to alpine 3.20 (python 1.12) 10 months ago
Mike Lang 0eaebe20a6 install backport of exception groups to make download_media work 10 months ago
Mike Lang e7983b8cf7 pubbot: trying again... 10 months ago
Mike Lang a051f8f6fc pubbot: fix giveaways code 10 months ago
Mike Lang 0c871b7f6c fix dollars vs cents 10 months ago
Mike Lang cf9abeb307 pubbot typo 10 months ago
Mike Lang 27c6abfca9 pubbot: Re-add giveaway support 10 months ago
Mike Lang fb8d90f47c Update comment 10 months ago
Christopher Usher 69b2837b84 Change to 1080p pixel coords 10 months ago
Christopher Usher d5244d2244 Update comments in schema 10 months ago
Christopher Usher b792b1b555 Now use a sky pixel and a dashboard pixel to determine time-of-day
Can now also identify the score screen

Colours and pixel localtions have been updated for this years stream in
720p but changing to 1080p is a trivial change
10 months ago
Mike Lang 2fcbff3b44 Fix full cuts not using custom transitions properly 10 months ago
Mike Lang 6bb3edab41 schedulebot: Fix having hour as float 10 months ago
Mike Lang 3d03f0d984 sheetsync: And all the other places with that mistake 10 months ago
Mike Lang e14afdb6c1 Fix typo in sheetsync for media links 10 months ago
Mike Lang 7ca45e89b9 fix pubbot config 10 months ago
Mike Lang 69d3892101 pubbot: Get channel ids from config and handle prizes in the new website 10 months ago
Mike Lang 16d11c02bd hacky resize of old odo-last-digit prototypes
They're very time consuming to create, and the bad frame rate makes it harder
as some animation frames get skipped.
10 months ago
Mike Lang 557f8c7f7d fixup coords 10 months ago
Mike Lang 2d2f915a7f New prototypes for 2024 buscam 10 months ago
Mike Lang c1d85863bd pixel coordinates for 2024 buscam 10 months ago
Christopher Usher add8d021a8 also apply fix to get_thumbnail 10 months ago
Mike Lang 861a426395 thrimshim: Fix performance issue with getting template png
Bytes returned from the database are a "memoryview" and not a bytes object.
These mostly behave the same, but one difference is that Flask recognizes
a bytes object as something it can send as-is, whereas a memoryview ends up using
its generic "iterable" processing. This results in sending every individual byte of the result
as a single part of a HTTP chunked encoding response, adding 5 bytes and a syscall to every byte returned.

The solution is to explicitly convert it to bytes before returning.
10 months ago
Mike Lang 653f651491 schedulebot: Use correct division for calculating hour
int() is truncation, // is floor
10 months ago
ElementalAlchemist 3d4c63a697 Fix uploading a new thumbnail image when updating a thumbnail 10 months ago
ElementalAlchemist 0d35e95dc7 Format Thrimbletrimmer files
I forgot to run prettier before my last PR.
10 months ago