Commit graph

13 commits

Author SHA1 Message Date
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
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
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
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
Renamed from pkg/media/video.go (Browse further)