Commit Graph

638 Commits

Author SHA1 Message Date
tcely
09044aa95d Return for empty format lists first 2024-12-05 00:30:32 +00:00
tcely
6d7d3483a4 Use the audio format list from youtube-dl 2024-12-05 00:30:32 +00:00
tcely
ed98f56946 Adjust VP09 vcodec to match VP09 source vcodec 2024-12-05 00:30:32 +00:00
tcely
526c6a97b4 Match against height instead of format 2024-12-05 00:30:32 +00:00
tcely
77247f7a7f Use reversed argument for multiple key sorting 2024-12-05 00:30:32 +00:00
tcely
ede9dff4e6 Use new multiple key sorting 2024-12-05 00:30:32 +00:00
tcely
4b60073ef0 Add multiple key sorting 2024-12-05 00:30:32 +00:00
meeb
40e48c9317
Merge pull request #562 from tcely/patch-3
Some checks failed
Run Django tests for TubeSync / test (3.7) (push) Has been cancelled
Run Django tests for TubeSync / test (3.8) (push) Has been cancelled
Run Django tests for TubeSync / test (3.9) (push) Has been cancelled
Run Django tests for TubeSync / containerise (push) Has been cancelled
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
Some checks failed
Run Django tests for TubeSync / test (3.7) (push) Has been cancelled
Run Django tests for TubeSync / test (3.8) (push) Has been cancelled
Run Django tests for TubeSync / test (3.9) (push) Has been cancelled
Run Django tests for TubeSync / containerise (push) Has been cancelled
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
Some checks are pending
Run Django tests for TubeSync / test (3.7) (push) Waiting to run
Run Django tests for TubeSync / test (3.8) (push) Waiting to run
Run Django tests for TubeSync / test (3.9) (push) Waiting to run
Run Django tests for TubeSync / containerise (push) Waiting to run
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
Some checks are pending
Run Django tests for TubeSync / test (3.7) (push) Waiting to run
Run Django tests for TubeSync / test (3.8) (push) Waiting to run
Run Django tests for TubeSync / test (3.9) (push) Waiting to run
Run Django tests for TubeSync / containerise (push) Waiting to run
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
Some checks failed
Run Django tests for TubeSync / test (3.7) (push) Has been cancelled
Run Django tests for TubeSync / test (3.8) (push) Has been cancelled
Run Django tests for TubeSync / test (3.9) (push) Has been cancelled
Run Django tests for TubeSync / containerise (push) Has been cancelled
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
Some checks failed
Run Django tests for TubeSync / test (3.7) (push) Has been cancelled
Run Django tests for TubeSync / test (3.8) (push) Has been cancelled
Run Django tests for TubeSync / test (3.9) (push) Has been cancelled
Run Django tests for TubeSync / containerise (push) Has been cancelled
2024-10-31 20:15:46 +11:00
meeb
65229c3e9f bump s6 to 3.2.0.0, bump ffmpeg, bump yt-dlp
Some checks failed
Run Django tests for TubeSync / test (3.7) (push) Has been cancelled
Run Django tests for TubeSync / test (3.8) (push) Has been cancelled
Run Django tests for TubeSync / test (3.9) (push) Has been cancelled
Run Django tests for TubeSync / containerise (push) Has been cancelled
2024-10-05 19:32:28 +10:00
meeb
046909333f
Merge pull request #537 from michalmiddleton/patch-1
Some checks failed
Run Django tests for TubeSync / test (3.7) (push) Has been cancelled
Run Django tests for TubeSync / test (3.8) (push) Has been cancelled
Run Django tests for TubeSync / test (3.9) (push) Has been cancelled
Run Django tests for TubeSync / containerise (push) Has been cancelled
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
Some checks failed
Run Django tests for TubeSync / test (3.7) (push) Has been cancelled
Run Django tests for TubeSync / test (3.8) (push) Has been cancelled
Run Django tests for TubeSync / test (3.9) (push) Has been cancelled
Run Django tests for TubeSync / containerise (push) Has been cancelled
2024-08-07 15:57:21 +10:00
meeb
5af3d116bd bump ffmpeg and yt-dlp 2024-08-07 15:53:27 +10:00
meeb
3efff6d501 enable video indexing as the default 2024-08-07 15:50:55 +10:00
meeb
9fc98c7935
Merge pull request #523 from FaySmash/tweaked
Add support for indexing Streams
2024-08-07 14:58:35 +10:00
FaySmash
963cae72a0
Merge branch 'meeb:main' into tweaked 2024-08-06 19:38:16 +02:00