Commit Graph

831 Commits

Author SHA1 Message Date
meeb
a6e7eec40b
Merge pull request #637 from tcely/patch-5
Update architectures FAQ
2025-01-21 22:17:09 +11:00
meeb
9289f6b8b9
Merge pull request #636 from tcely/patch-4
Pipefile -> Pipfile
2025-01-21 22:16:34 +11:00
meeb
c37844e030
Merge pull request #628 from tcely/patch-6
Create upgrade_yt-dlp.sh
2025-01-21 22:16:15 +11:00
tcely
96078f8d40
Update architectures FAQ 2025-01-21 04:38:06 -05:00
tcely
0ea508443a
Pipefile -> Pipfile 2025-01-21 04:21:47 -05:00
tcely
1f95b858f2
Use --break-system-packages with pip
Unfortunately, both versions of `pip` don't have this flag.

Check the version, then add the flag if it is not too old.
2025-01-21 03:08:24 -05:00
meeb
763716efe9
Merge pull request #635 from tcely/patch-4
Treat static_url the same as other URLs
2025-01-21 18:09:29 +11:00
tcely
52d703ff1f
Better check for script_name 2025-01-21 01:55:13 -05:00
tcely
f65f6f1de5
Treat static_url the same as other URLs 2025-01-21 01:12:24 -05:00
tcely
66e5192980
Warn against regular updating of yt-dlp 2025-01-20 08:49:14 -05:00
meeb
44db638b12 fix num workers comparison check, resolves #634 2025-01-21 00:21:03 +11:00
meeb
8c5cef8a5a
Merge pull request #625 from FaySmash/patch-1
Update README.md
2025-01-20 17:25:35 +11:00
meeb
cc5d221d25
Merge pull request #630 from tcely/cache-apt-and-pipenv
Cache for pipenv & apt
2025-01-20 17:19:09 +11:00
FaySmash
c5cdbe4a55
Update README.md
Fix the suppy => supply misspelling +alternate phrasing

Co-authored-by: tcely <tcely@users.noreply.github.com>
2025-01-19 17:18:11 +01:00
FaySmash
eff92e3469
Update README.md
Revised version of the section about potential permission issues with Samba volumes.
2025-01-17 19:46:10 +01:00
tcely
ae07c1ce89
Fallback to run_whl
Prefer `pip_runner` but try the `pip` wheel too, if it's missing.
2025-01-17 13:03:06 -05:00
tcely
ccdd43845c
Cache for pipenv & apt
- Consolidate apk & apt commands
- Consolidate ENV layers
- Consolidate RUN layers
- Remove unused variables
- Remove packages that are no longer needed
- Bind mount /app/Pipfile

`/cache` is now a `tmpfs` mount that has a `cache` mount on top for `pipenv` to use.

`apt` has `cache` mounts in the standard places:
- /var/lib/apt
- /var/cache/apt
2025-01-17 12:46:11 -05:00
meeb
13b1f20f33
Merge pull request #629 from tcely/patch-7
Bump ffmpeg & yt-dlp
2025-01-17 16:55:39 +11:00
meeb
aa820821d4
Merge pull request #627 from tcely/patch-5
Don't write zero into MPAA in .nfo
2025-01-17 16:55:25 +11:00
meeb
1979b66055
Merge pull request #626 from tcely/patch-4
Don't write 'None' in default rating
2025-01-17 16:55:07 +11:00
tcely
4e51d54ec1
Use pip runner from pipenv 2025-01-16 08:24:11 -05:00
tcely
862c17b676
Bump ffmpeg & yt-dlp 2025-01-16 03:30:06 -05:00
tcely
d7f9fa45ec Add executable to sh script 2025-01-16 08:16:31 +00:00
tcely
6f00ce8120
Create upgrade_yt-dlp.sh 2025-01-16 03:01:10 -05:00
tcely
ab7b601ad2
Don't write zero into MPAA in .nfo 2025-01-16 01:31:07 -05:00
tcely
57417915bf
lowercase the true value
I doubt it's unsupported by any parser, but every example uses lowercase for this, we may as well also.
2025-01-16 01:27:41 -05:00
tcely
af0aae3de4
Don't write 'None' in default rating
It's better to not have a rating than to create parsing problems.

An example of what is avoided:

```
<ratings>
  <rating name="youtube" max="5" default="True">
    <value>None</value>
    <votes>16781</votes>
  </rating>
</ratings>
```
2025-01-16 01:18:20 -05:00
FaySmash
0bf72fd5f0
Update README.md
Added a small section about potential permission issues with volumes.
2025-01-15 18:46:05 +01:00
meeb
a340d4f85e
Merge pull request #622 from tcely/patch-5
Add environment variables for container
2025-01-15 22:21:52 +11:00
tcely
35f6a54823
Balance blank lines 2025-01-15 06:17:33 -05:00
meeb
9b42bfc410
Merge pull request #623 from tcely/patch-6
Avoid env for healthcheck
2025-01-15 20:50:15 +11:00
meeb
8a0a91b83e
Merge pull request #620 from tcely/patch-4
Dockerfile health check without the shell
2025-01-15 20:48:32 +11:00
tcely
d349bd55c4
Avoid env for healthcheck
This is only intended for use in containers, so we know where python3 should be installed.

This is called very often, so we should try to use as few resources as we can.
2025-01-15 04:43:58 -05:00
tcely
53ad31d128
Merge branch 'main' into patch-4 2025-01-15 04:35:43 -05:00
tcely
ebf9ff8eba
Add environment variables for container
- TUBESYNC_SHRINK_NEW
- TUBESYNC_SHRINK_OLD

These must be set to the word 'True' (case insensitive) to enable the setting.
2025-01-15 04:26:55 -05:00
meeb
51153f0053
Merge pull request #612 from tcely/filter-metadata-response
Filter metadata to avoid storing excess text in the database table
2025-01-15 01:29:08 +11:00
meeb
d1a7e904ae
Merge pull request #619 from tcely/patch-6
Multi-stage docker build for ffmpeg & s6-overlay
2025-01-15 01:27:02 +11:00
meeb
86f39b892c
Merge pull request #617 from Makhuta/main
Feature
2025-01-15 01:20:32 +11:00
meeb
9dcc2294e3
Merge pull request #618 from tcely/media-directory_path
Simplify directory_path for Media
2025-01-15 01:17:25 +11:00
tcely
45d7039188
Only log the extra messages with the new setting 2025-01-14 05:34:59 -05:00
tcely
2860147212
Build on older docker also
* Do without --link for COPY or ADD

* Do without --checksum for ADD

* Trim the FFMPEG_VERSION variable with cut instead

I've built successfully on old Debian systems using these changes. Everything else I use has a newer docker on it.
2025-01-12 04:46:32 -05:00
tcely
5e5d011b64
Add parser directives
This hopefully helps anyone building on an older docker, such as Debian / Ubuntu packaged versions.
2025-01-12 00:49:19 -05:00
tcely
ef4181c2c4
Dockerfile syntax and checks
- Specify the syntax be the latest stable version and that failed checks should stop the build.

```
By default, builds with failing build checks exit with a zero status code despite warnings. To make the build fail on warnings, set #check=error=true.
```

- Use the form of health checking that doesn't involve an extra shell on every check.
2025-01-12 00:37:30 -05:00
Makhuta
df4b824672 Change
- simplified the returns
2025-01-11 22:17:10 +01:00
Makhuta
3ea7e6c8ee Change
- changed the episode_str to be togglable and use the old format by default
2025-01-11 22:07:36 +01:00
tcely
f464acaa63
Simplify directory_path for Media 2025-01-11 15:38:45 -05:00
tcely
4364ebbff3
Multi-stage docker build for ffmpeg & s6-overlay
* Create a s6-overlay-extracted stage to copy from

This was largely inspired by: @socheatsok78

Our downloaded files are checked where that version doesn't do any verification of the downloads.

* Update ffmpeg to the first build with checksums.sha256

* Create a ffmpeg-extracted stage to copy from

* Don't preserve ownership from the builder

I was sick of the extra work with ffmpeg builds.

So, I managed to get sums generated for those builds and now we don't need to manually fill out SHA256 hashes anymore.

Now to bump ffmpeg, we can just change the date.
2025-01-11 11:53:10 -05:00
Makhuta
8dda325dbd Update models.py 2025-01-11 15:53:36 +01:00
Makhuta
81edd08c7d Update
- added video order to Media Format
2025-01-11 14:38:31 +01:00
tcely
6292a9a59d
Add SHRINK_OLD_MEDIA_METADATA setting 2025-01-09 14:22:37 -05:00