Commit Graph
641 Commits
Author SHA1 Message Date
meeb 26cb02be07 bump yt-dlp and ffmpeg, resolves #575 2024-12-10 22:30:09 +11:00
meeb 7974819dfa Merge pull request #571 from tcely/patch-3
Handle STR0NNN in a generic way
2024-12-10 18:54:28 +11:00
meeb 6b7197c980 Merge pull request #574 from tcely/patch-2
Simplify regex for sub_langs
2024-12-10 18:44:51 +11:00
tcely 63d0f4f15a Simplify regex for sub_langs 2024-12-10 02:02:30 -05:00
meeb 44b1d21854 Merge pull request #573 from tcely/patch-5
Accept '-' in sub_langs
2024-12-10 17:45:24 +11:00
meeb e230b7ce36 Merge pull request #569 from tcely/patch-2
Adjust to correct 60 fps case
2024-12-10 17:42:43 +11:00
tcely 049c6f3764 Accept '-' in sub_langs 2024-12-09 18:05:45 -05:00
tcely fb663d508f Uppercase the codec string first, not last 2024-12-05 18:27:46 -05:00
tcely 6fdcc5ffa5 Handle STR0NNN in a generic way
The function should return 'VP9' for:

- vp9.1.2.3
- vp09.4.5.6

As well as other variations.
It also works for avc01 or av01, or any others that fit the pattern.
2024-12-05 17:56:53 -05:00
tcely f570fb57b9 Adjust to correct 60 fps case 2024-12-05 07:57:24 -05:00
meeb 40e48c9317 Merge pull request #562 from tcely/patch-3
Refinements for Dockerfile
2024-11-27 02:15:35 +11:00
tcely 8f9bb782a7 Adjusted awk check
It turned out `exit` doesn't work as I thought it did.
2024-11-25 17:00:31 -05:00
tcely 6c7c1c6510 The response headers weren't useful 2024-11-24 08:34:34 -05:00
tcely 073ae73add Merge branch 'meeb:main' into patch-3 2024-11-24 08:17:00 -05:00
tcely 29dfe4570d Used awk to check for correct ffmpeg output 2024-11-24 08:16:34 -05:00
tcely a921adedc0 Test the output for FFMPEG_VERSION exists
The shell used on the build system doesn't support `pipefail` so test for output instead.

It might be incorrect output, but in combination with running the `ffmpeg` binary earlier, this should be enough.
2024-11-24 07:13:19 -05:00
tcely f4a88cf7fa Used the long form for all curl options. 2024-11-24 06:34:28 -05:00
tcely 163fcbeb2a Overwrite the specified file when it already exists 2024-11-24 06:10:30 -05:00
tcely 6b807a8654 Log the server response headers 2024-11-24 05:47:40 -05:00
tcely 3c5641b542 Ignore a curl config file that may exist 2024-11-24 05:44:22 -05:00
tcely 599728d38c Had file inspect the binary from the /init script instead. 2024-11-24 05:33:53 -05:00
meeb 0d5a0b0c86 Merge pull request #557 from danielmawhirter/further-fallback
Configure minimum permitted video height with VIDEO_HEIGHT_CUTOFF env var
2024-11-24 18:56:39 +11:00
meeb 0e9ae54580 Merge pull request #560 from tcely/patch-2
Spelled firewall correctly
2024-11-24 18:55:21 +11:00
danielmawhirter 37856a7575 Configure minimum permitted video height with VIDEO_HEIGHT_CUTOFF env
var
2024-11-24 01:14:29 -06:00
tcely 10678afca2 Log what file determined about the extracted files 2024-11-24 00:33:45 -05:00
tcely d4834e427f Failed ffmpeg is now noisier
This should be enough to fail the build when the binary doesn't work.
2024-11-24 00:27:33 -05:00
tcely 908b55c191 Show which directories were created 2024-11-24 00:21:57 -05:00
tcely 401c687725 Adjusted HOME only for pipenv
Nothing later should have been affected, but this is the cleaner way.
2024-11-24 00:18:51 -05:00
tcely a60f68faf3 Used printf consistently
Specifically turn off flags to printf where none are intended.
There are fewer things to keep in mind this way.
2024-11-24 00:15:28 -05:00
tcely 583ebffc58 Spelled firewall correctly
Anyone using this to turn off the healthcheck firewall needs to update the variable that they are using.

Maybe announce this in the UI if the setting is not true?
2024-11-23 08:11:23 -05:00
meeb 73037ecd60 Merge pull request #559 from tcely/patch-2
Remove value from TARGETARCH
2024-11-23 12:57:13 +11:00
tcely 304c36d648 Remove value from TARGETARCH
This should be set by the build system. I had stuck that value in while testing from the command line.
2024-11-22 12:55:21 -05:00
meeb 429cc66d26 bump yt-dlp and ffmpeg 2024-11-23 03:45:20 +11:00
meeb f425f952f8 Merge pull request #558 from tcely/patch-1
Reworked Dockerfile
2024-11-23 03:37:24 +11:00
tcely 83f2831439 More fixes from testing for download_expected_file
- Used download_expected_file for ffmpeg also
- Updated to a ffmpeg version that could be downloaded
- Optimized tar extraction for ffmpeg
- Preserved the original `/root` using a copy in `/tmp` instead
- DRY'd the file name and expected / URL values
2024-11-22 10:43:00 -05:00
tcely 8885571c5a Fixes from testing for download_expected_file 2024-11-22 06:39:35 -05:00
tcely e654eca107 Used download_expected_file for s6 2024-11-22 05:48:08 -05:00
tcely 17b03e2c69 Moved s6 hashes into build args 2024-11-22 04:24:21 -05:00
tcely 23cf332d02 Record version values in the container
I'm tempted to use a .environment file to set the build argument values so that there is less to change for new versions.

Perhaps later 

Also, I am unsure why we don't just use `ARCH="${TARGET ARCH}"` since we are only using `ARCH` in things we control, as far as I can tell.
2024-11-22 03:31:54 -05:00
meeb 30d2b68cbd Merge pull request #556 from tcely/patch-1
Use YOUTUBE_DL_TEMPDIR setting
2024-11-20 15:37:13 +11:00
tcely 726d128db9 Added YOUTUBE_DL_TEMPDIR 2024-11-19 17:34:58 -05:00
tcely 314f3d874a Enable the yt-dlp tempdir by default 2024-11-19 17:32:07 -05:00
tcely 41e24b82b8 Made DEBUG work for youtube-dl also 2024-11-19 17:29:55 -05:00
tcely 20d631ca78 Use YOUTUBE_DL_TEMPDIR setting
Fixes #218
2024-11-19 17:06:46 -05:00
meeb cca45e06d1 bump ffmpeg and yt-dlp 2024-10-31 20:15:46 +11:00
meeb 65229c3e9f bump s6 to 3.2.0.0, bump ffmpeg, bump yt-dlp 2024-10-05 19:32:28 +10:00
meeb 046909333f Merge pull request #537 from michalmiddleton/patch-1
Fix python version in manage.py
2024-08-24 16:49:32 +10:00
Michal Middleton 8979710380 Fix python version in manage.py 2024-08-23 19:09:40 -05:00
meeb 4c5d6b7a4d bump to 0.13.7 2024-08-07 15:57:21 +10:00
meeb 5af3d116bd bump ffmpeg and yt-dlp 2024-08-07 15:53:27 +10:00