Commit graph

23 commits

Author SHA1 Message Date
344ba5934b the great refactoring 2024-12-23 21:54:59 +05:00
Heinrich 'Henrik' Langos
19a1141af3 preserve-video-filename (#49)
This should fix issue #40

I have not made the `allowed_characters` configurable yet nor the `replacement_character`.

Mostly because I couldn't decide if I should define those "globally" on a server basis, or on the library nodes.

Feel free to modify, extend, rip apart. 😁

Reviewed-on: https://git.mills.io/prologic/tube/pulls/49
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
2023-01-16 11:33:12 +00:00
Heinrich 'Henrik' Langos
9952cc533a improve logging at startup (#51)
This bit me hard in the begining.
While I was trying to figure out why tube I didn't show any files,
it was silently creating directories all over the place. 😆

Reviewed-on: https://git.mills.io/prologic/tube/pulls/51
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
2023-01-16 11:29:55 +00:00
Heinrich 'Henrik' Langos
c0138ec10e feat: Prefer external thumbnail over embedded ones (#44)
This changes the handling of external thumbnails as mentioned in issue #41
If there is an external thumbnail file, it is going to be used, even if there is an embedded thumbnail in the mp4 file.

Reviewed-on: https://git.mills.io/prologic/tube/pulls/44
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
2023-01-04 11:34:40 +00:00
Heinrich 'Henrik' Langos
7a4ef5b6df feat: Add YAML support for added / modified metadata (#37)
This change introduces the ability to read additional
or modified metadata like title or description from a
YAML file.
Just like thumbnails are read from "filename.jpg", we now
look for "filename.yml" and override the meta data that
is embedded in the video file.

This is my very first look at golang, so please tell me if, or rather "where" I went wrong. ;-)

Co-authored-by: Heinrich Langos <gumbo2000@noreply@mills.io>
Reviewed-on: https://git.mills.io/prologic/tube/pulls/37
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
2022-11-25 01:29:44 +00:00
Heinrich 'Henrik' Langos
a2cc622bc9 Normalize library path before adding and improve error logging (#38)
I hope this PR closes #9

Co-authored-by: Heinrich Langos <gumbo2000@noreply@mills.io>
Reviewed-on: https://git.mills.io/prologic/tube/pulls/38
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
2022-11-25 01:21:03 +00:00
James Mills
35217febfc Add support for multi-arch binary and docker image releases (#20)
Reviewed-on: https://git.mills.io/prologic/tube/pulls/20
2022-08-01 03:22:17 +00:00
James Mills
5c2b402a8a
Fix import paths 2021-07-13 08:34:56 +10:00
James Mills
6a2eaefcca
Fix the import path of this package 2020-07-08 16:50:53 +10:00
James Mills
980a3edf63
Fix default server config and ensure upload and video paths exist 2020-03-29 19:02:52 +10:00
James Mills
d21c06c465
Add backend support for serving lower quality videos (if available) 2020-03-28 15:59:16 +10:00
James Mills
9af98b0382
Strip the video filename extension from the default title 2020-03-27 20:16:16 +10:00
James Mills
8727285bc5
Refactored thumbnail generation with configurable timeout and in-sycn with video transcoding 2020-03-26 14:50:49 +10:00
James Mills
f0ac95bb7c
Fix sort order of trending 2020-03-25 16:35:06 +10:00
James Mills
dd97030bd1
Sort playlist by Timestamp by default 2020-03-25 16:26:30 +10:00
James Mills
9fa3427308
Add trending and ability to sort playlist by views 2020-03-25 16:22:41 +10:00
James Mills
7113a7bd05
Add support for keeping trakc of and viewing no. of views per video 2020-03-25 12:40:00 +10:00
James Mills
43a74b648c
Skip blanks in screenshot capture and allow more time 2020-03-22 21:42:37 +10:00
James Mills
8ae65e4b73
Don't generate new thumbnails if they already exist 2020-03-22 18:42:35 +10:00
James Mills
7492a150eb
Log errors for failure to generate thumbnails 2020-03-22 18:37:29 +10:00
James Mills
a907390891
Add support for transcoding 2020-03-22 18:01:27 +10:00
James Mills
84cba43724
Add support for on-demand thumbnail generation via github.com/mutschler/mt 2020-03-21 10:46:03 +10:00
James Mills
4dae45a68f
Restructured source code layout, Added rice support for templates and static assets 2020-03-21 09:55:06 +10:00