Commit Graph

148 Commits (bus-post-processing)

Author SHA1 Message Date
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
Mike Lang bad4f55cab upgrade to alpine:3.18
Mike Lang 5019b25fa7 require minimum version of urllib3
Mike Lang 2123f67f8b install urllib3 for download_media
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
Mike Lang ca6f589e30 but only AFTER installing pip
Mike Lang cf9cd114ed Stop pip from refusing to work inside our containers
Mike Lang 9960accc0f Instead of backport libraries, just upgrade to alpine 3.20 (python 1.12)
Mike Lang 0eaebe20a6 install backport of exception groups to make download_media work
Mike Lang 3d03f0d984 sheetsync: And all the other places with that mistake
Mike Lang e14afdb6c1 Fix typo in sheetsync for media links
Christopher Usher fcd9f0afbd Added parser to default_template column
Christopher Usher fc2e30512d Missing opperator
Christopher Usher ca2668ef47 Fix typo that should have been fixed earlier
Christopher Usher acd7710fd7 Fun with inheritance
Christopher Usher 4041040af0 The Middleware object, not the SheetSync object, needs to know about shifts
Christopher Usher 71a8789c4b Fixed missing import
Christopher Usher b4882a9fc4 More bug fixes
Christopher Usher d6f976ac0f Bug fixes and improvements in response to comments on the PR
Christopher Usher c4e98f4dca fixed build error
Christopher Usher 1fb3fca993 Updated sheetsync to calculate shifts
Christopher Usher 167f8e623c Changes to support setting default templates based on tags
Mike Lang 2255bc7fc0 sheetsync: Add column to tags sheet
Mike Lang e923853ca8 sheetsync: Update playlist sheet column order
Mike Lang 3e7cb38cf0 sheetsync: Optionally download media linked in image links column
To enable this, you need to:
- set --media-dir globally for sheetsync
- enable download_media=true for the events sync config
To disable for individual rows (eg. because of known issues), put "[nodownload]" in the notes column.
Mike Lang 23ad78d592 Record in database when end time is "--"
We need this so that reverse sync reproduces these values correctly.

To handle this in the database, we have a composite type (dashed: boolean, value: timestamp).
Value is always valid and is equivalent to the old timestamp column,
but must be equal to start_time if dashed is true.

The only place we directly reference this column outside sheetsync is thrimshim, where we
always consider the value only.
Mike Lang 1dec53924f fix typo
Mike Lang 91511295c0 Fix poster moment tag
Mike Lang 25e5e933b5 Fix typo
Mike Lang 7d89569ead Code more defensively around out-of-order or missing parent ids
Mike Lang 760dbd1e07 sheetsync: Convey row parent info
by prefixing with a number of ^ characters and noting the parent id in the notes column.
Mike Lang 23960d947b streamlog: implicit tags must be first
Mike Lang 664f98150f sheets implicit tags fix
Mike Lang 62491d119f debugging
Mike Lang 06931db26b more sheetsync fixes
Mike Lang 1a5687204d debugging
Mike Lang 820f7322f9 more streamlog fixes
Mike Lang b68abb92e2 more streamlog column names
Mike Lang 484e768303 correct streamlog column name
Mike Lang 20ee382b7f sheetsync: Fix missing arg
Just hard-code that the tags sheet is always called "Tags" for now, we can fix later
if it ever needs to change.
Mike Lang c6058cbdd0 sheetsync: Update streamlog playlist middleware with API changes
To allow setting playlist name and show_in_description
Mike Lang 367e6a7a7a sheetsync fixes
typos and omissions
Mike Lang 44f4433cad more typos in streamlog archive middleware
Mike Lang eeffeeed10 sheetsync: Deal with reverse syncing properly when not all events are in the list of worksheets
This is important because archive events should not be reversed.
We only want to create new rows when the row's intended worksheet is in our list of worksheets we sync.
Mike Lang 96181fd875 Support archive sync in sheetsync again
Mike Lang a3aaa37bb0 Restructure playlists table
to have all tags, not just playlists.
Notably, this means playlist ids may be null.
Mike Lang 145ddfc7ff Fix some typos in StreamLogPlaylistsMiddleware
Mike Lang 0f06f96a7c Fix: Move events-specific observe_rows() out of SheetSync
Mike Lang 73eaac16f3 Update sheetsync CLI interface to allow any combination of types and backends
Mike Lang bb4cc8c668 sheetsync: Replace old special-case PlaylistSync with SheetSync subclass