Commit Graph
1106 Commits
Author SHA1 Message Date
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 a4dc416ce8 Simplify directory_path
This looked to be identical code to what `filename` used.
Remove the duplicated code by using the function instead.
2024-12-10 00:05:58 -05:00
James W Lane aa3bc7e6af fixed default test 2024-12-09 22:23:32 -06:00
James W. Lane III cf1aec6922 Merge pull request #1 from tcely/patch-4
directory mode on settings
2024-12-09 20:53:00 -06:00
tcely 049c6f3764 Accept '-' in sub_langs 2024-12-09 18:05:45 -05:00
tcely d33be55b51 Raise an error for an invalid custom value 2024-12-09 15:44:32 -05:00
tcely a487e64550 Raise an error for an unsupported value 2024-12-09 15:40:16 -05:00
tcely 2a63e3a360 Reset tubesync/sync/models.py (#16) 2024-12-09 15:26:12 -05:00
tcely 233d384e25 Removed unnecessary str 2024-12-09 14:56:41 -05:00
tcely a02fd5bde9 maxsplit and quoting 2024-12-09 14:21:55 -05:00
tcely 279a01f9bc directory mode on settings 2024-12-09 14:06:35 -05:00
James W Lane 0fafca037c updated tubesync type directory path 2024-12-09 09:33:28 -06: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
tcely b1a4c8bbaf Include streams with a blank format_note and the proper height 2024-12-05 00:30:32 +00:00
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
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