Commit Graph

1574 Commits (3a49499e83efd76caaf7efca212b4724c7483c24)
 

Author SHA1 Message Date
Mike Lang 3a49499e83
Merge 50c233b58c into 3d9490d335 3 months ago
Dan Collins 3d9490d335 If an empty title/desc was saved, keep it rather than using the default 3 months ago
Dan Collins a04a318ea8 Thrimbletrimmer: Default title to blank to encourage editors to write their own
This patch simply uses the RDP tag to decide whether to use the row
description as a default for the video title, or for the video
description. This will probably be changed by #479 down the line,
but that's lower priority and more complex, so this is a good
starting point.

Resolves #504
3 months ago
Dan Collins e04c76e0f8
Thrimbletrimmer: Add keyboard shortcuts for +/- 1 minute (#520)
This patch adds Shift+Arrow Key keyboard shortcuts to move forward or backwards by 1 minute in Thrimbletrimmer, allowing for faster navigation.

Resolves #509
3 months ago
Dan Collins 81a9cd7e7c #486: Prevent arrow keys on the crop images from moving the play head 3 months ago
Mike Lang 50c233b58c fix copy paste error in v3/v4 and benchmark duplicate merges
Merging 1000 duplicates of the same batch:
v1: 98ms
v2: 101ms
v3: 116ms
v4: 116ms

So as expected v3 and v4 have a small cost with duplicates for optimizing for non-overlapping,
but even with ridiculous numbers duplicates are fast to process anyway.
4 months ago
Mike Lang c87a25e875 merge_v4 is more specialized to merge large numbers of non-overlapping batches
It can do 24h of batches in 180ms, ~180x faster than v1.

I'm a little concerned it's overly specialized for that role and will be slow to merge duplicate batches,
but those operations involve tiny amounts of data by comparison so it doesn't really matter.
4 months ago
Mike Lang eeeb48c0f8 add third implementation
which is really just the second implementation but generalized to N-way merge instead of 2-way.

Basic benchmark results:
                         v1   v2   v3
    1 hour (60 batches): 19ms 31ms 23ms
24 hours (1440 batches): 34s  130s 17s

So it's about as fast as v1 when it doesn't matter, and twice as fast when it does.
4 months ago
Mike Lang 91e3e54a14 add ability to dump output to debug 4 months ago
Mike Lang 9e6e20cee2 schema: Create a type for image areas
This creates a new postgres "domain" which is a subtype of some other type
(in this case, of INTEGER[]) with some constraints applied.
We use this to create a type which is explicitly an array of length 4.

This saves us from needing to repeat this constraint everywhere (which already led to one copy-paste error)
and is arguably clearer in intent.
5 months ago
Mike Lang de3e85c893 Fixes to make postgres 17 work
- WUBLOADER_USER now explicitly requires a grant on the public schema to create tables
- `wal_keep_segments` renamed to `wal_keep_size` and is now a file size, not a number of segments
- Remove some other config entries which did nothing or matched defaults
5 months ago
Christopher Usher fed653dfbd Updated Postgres version 5 months ago
Mike Lang 0a638b0534 postgres: fix wrong constraint on thumbnail_location values 5 months ago
Mike Lang bbee33afb2 It's ben 8 months ago
Mike Lang aebbb603fc bus_analyzer: use 0.1s before the end timestamp, not the exact end 8 months ago
Mike Lang dc291d4e64 bus_analyzer: check for new segments more often
to lower latency
8 months ago
Mike Lang 5db7bcda71 bus_analyzer: use last frame of segment, not first 8 months ago
Mike Lang 941050aea9 end of run memes 8 months ago
Mike Lang 6062f0a8ec restreamer: Ignore transitions when doing rough cuts, instead of disallowing 8 months ago
Christopher Usher 8a0ca215cf Updated colour of the dawn sky and dashboard to observed value 8 months ago
Mike Lang 2aadf79bfb thrimshim odo hack: assume unmatched time of day means dawn
until we can fix dawn detection.
9 months ago
Mike Lang bf9da27ca4 restreamer: refuse to load more than 2h of chat
this hard locks up the server due to merge taking a very long time
9 months ago
Mike Lang cb08f49003 pubbot: update total var before sending to zulip
so if zulip is down it still saves
9 months ago
Mike Lang 5012c2cee2 prizebot: fix urls 9 months ago
ElementalAlchemist c38144d478 Build bus_analyzer 9 months ago
Mike Lang 8ccb6a6e60 pubbot: Post prize names 9 months ago
Mike Lang 61d6df5d1f drive clock: Avoid using "sky" tag ids as uBO blocks them 9 months ago
Mike Lang c54ed3455c driveclock: Run initial update immediately 9 months ago
Mike Lang 91bce47be1 Add driveclock to thrimbletrimmer 9 months ago
Mike Lang e794b0cf7d prizebot fixes 9 months ago
Mike Lang 968e6ec273 make prizebot work with new website 9 months ago
Mike Lang 3b1c837bfa Import prizebot 9 months ago
Mike Lang 9e8cb7bee8 Make ensure_directory() work with paths with no directory component 9 months ago
Mike Lang 854b5723bb Fix wrong variable names in archive cutting 9 months ago
Mike Lang b88627183d Fix modifying manually-uploaded links 9 months ago
Mike Lang a819f02601 thrimbletrimmer: Explicit button to reset crop settings to defaults
instead of on switch of template, which didn't work properly anyway.
9 months ago
Mike Lang b7c78568b1 thrimbletrimmer: default to locked aspect ratio 9 months ago
Mike Lang 185e7fd4bf thrimshim: Read template attribution, not description 9 months ago
Christopher Usher b5d084305b Another fix 9 months ago
Christopher Usher 13f20ba882 More fixes 9 months ago
Christopher Usher 6cf475793b Fixes in response to PR comments 9 months ago
Christopher Usher 0d14d0b91b Added missing thumbnail attribution to video description 9 months ago
Mike Lang 8832197ab1 add diamond wipe 9 months ago
Christopher Usher 64f5873b3b Bug fixed 9 months ago
Christopher Usher 656be6c292 Allow for masking digits 9 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.
9 months ago
Mike Lang 9d45833ed1 fix returning wrong thing 9 months ago
Mike Lang 3bbedde112 download_media: Handle relative urls in redirect 9 months ago
Mike Lang e8ff4ed144 fix parsing certain imgur album links 9 months ago
ElementalAlchemist 90696bbeda Upgrade Hls.js 9 months ago