Commit Graph

108 Commits (edaa1bd374b1ce18638960a26d047416594ce45b)

Author SHA1 Message Date
ElementalAlchemist edaa1bd374 Delete the Thrimbletrimmer test page 3 years ago
Mike Lang aab8cf2f0f Set up plumbing for multi-range videos and implement no-transition fast cut videos only
This is the simplest case as we can just cut each range like we already do,
then concat the results.

We still allow for the full design in the database and cutter, but error out if transitions
is ever anything but hard cuts or if it's a full cut.

We also update the restreamer to allow accepting ranges, however for usability we still allow
the old "just one start and end" args.

Note this changes the thrimshim API to give and take the new "video_ranges" and "video_transitions" columns.
3 years ago
Mike Lang 2467a64ec3 thrimbletrimmer: Fix missing int parsing in duration parser
yay javascript
3 years ago
Mike Lang 783c571cb2 thrimbletrimmer: Fix stupid duration parsing typo introduced in cleanup 3 years ago
ElementalAlchemist a39b69410f Fix waveform height letting the visible waveform get far away from the video 3 years ago
ElementalAlchemist ac5a015724 Prettify updates 3 years ago
ElementalAlchemist 6fc8710166 Fix breakage of the stream page 3 years ago
ElementalAlchemist 2508610b4e Default the initial range to the entire video 3 years ago
ElementalAlchemist 4886715f0d Fix issue with missing help box background 3 years ago
ElementalAlchemist e9a2ec0648 Fix inconsistent styling on ranges 3 years ago
ElementalAlchemist abafa0a925 Improve help text for new keyboard shortcuts 3 years ago
ElementalAlchemist ad6c79c854 Remove TODO and give a better "you're logged out" message to user 3 years ago
ElementalAlchemist 287d82feee Switch back to primary wubloader Google token 3 years ago
ElementalAlchemist 00ba7d5293 Run Prettier on all the files 3 years ago
ElementalAlchemist 42d2db5f50 Add prettier configuration 3 years ago
ElementalAlchemist 42bc9f932d Improve styling for adding ranges 3 years ago
ElementalAlchemist e91654dfc1 Implement video editing 3 years ago
ElementalAlchemist 4d7300fefa Remove unremoved TODO comment 3 years ago
ElementalAlchemist af0b3cc2ff Actually style the errors 3 years ago
ElementalAlchemist a949041ca8 Fix some issues with help box when resizing the window 3 years ago
ElementalAlchemist b35ce32659 Initial implementation of stream page 3 years ago
ElementalAlchemist be025e263f Minor standardization 3 years ago
ElementalAlchemist e024a42166 Mess with the clock page, mostly to start getting my bearings (also to standardize the markup and code style) 3 years ago
Mike Lang 61f55d03fb thrimbletrimmer: Add waveform image below video 3 years ago
Mike Lang 4db8c8f61c thrimbletrimmer: undo bad refactor 3 years ago
Mike Lang 714a16bac4 thrimbletrimmer: Use template literals and other cleanup
Now that we've fixed the function declarations, prettier has also removed the semicolons on them
3 years ago
Mike Lang a69bee0548 thrimbletrimmer: Replace var with let/const and other related bits 3 years ago
Mike Lang 241d302220 thrimbletrimmer: Use "function NAME(...)" instead of "NAME = function (...)"
It's less confusing and more like other languages
3 years ago
Mike Lang ce73f7b0ea Auto-format JS files with prettier
Prettier is a tool for formatting JS files.
We add a minimal configuration to suit our purposes, and run it on all our JS files.

The main things this corrects is mixed tab and space indent issues (replacing fully with tabs),
overly long lines, inconsistent quote usage (prefers double-quotes instead), and missing semicolons.
3 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
Christopher Usher 84f7ef71c1 More helpful UI if the database has changed plus ignore changes that are
just white space or capitalisation
4 years ago
Mike Lang 31d241eecc thrimbletrimmer: missing tags arg when submitting 4 years ago
Christopher Usher 27c6b70976 fixes in response to review 4 years ago
Christopher Usher b21a520d3a Checking for changes in the sheet now working in the thrimbletrimmer 4 years ago
Mike Lang c26a87565f Add video tags to thrimbletrimmer
Tags default to tags given on the sheet, but can be modified by the editor.
Tags are represented as a comma-seperated string, and are round-tripped on loss of focus
as a way to validate.
4 years ago
Mike Lang a37d9a0c54 Fix a bug when we fail to load a playlist that prevents loading other playlists 4 years ago
Mike Lang b248408842 Update clock.html for 2020 and display negative time properly 4 years ago
Mike Lang 47584821f9 thrimbletrimmer: Handle null trim in submit
mainly for save draft
5 years ago
Mike Lang 3086ab73f6 Add thrimbletrimmer clock
To provide a true bustime even when they're bussing with the overlay
5 years ago
Mike Lang 58ff90cefe Further fix for when getRealTimeForPlayerTime is null 5 years ago
Mike Lang 58a2a0402d thrimbletrimmer: Handle getting trim time when no valid trim time is set
Just return null instead
5 years ago
Christopher Usher dbad2b4082 fixed download link for stream page 5 years ago
Mike Lang e2f4162ac7 thrimbletrimmer: Fix a bug when trimming controls aren't enabled 5 years ago
Mike Lang e23387b231 thrimbletrimmer: Document new shortcuts 5 years ago
Mike Lang 40f6a72ad7 thrimbletrimmer: Add keyboard shortcuts -/= to adjust playback speed 5 years ago