Commit graph

32 commits

Author SHA1 Message Date
Colin Davis
2c33c3b49b
[DOCKER] Add curl-cffi and yt-dlp-ejs dependencies
Adds recommended deps from yt-dlp README
2025-11-07 17:01:48 -08:00
Snuffy2
e507e6ed46
[DOCKER] Disable pip break-system-packages (#1373)
Fixes `UPDATE_YT_DLP_ON_START` when set to 'nightly' as the pip command is missing --break-system-packages. Simplifies dockerfiles by setting this globally via pip config file.

Thanks @Snuffy2 for the contribution!
2025-11-06 21:08:10 -08:00
Jesse Bannon
2deafc9f2d
[DOCKER] Include Deno dependency, other fixes (#1345)
Closes
- Deno requirement: https://github.com/jmbannon/ytdl-sub/issues/1340
  - yt-dlp announcement: https://github.com/yt-dlp/yt-dlp/issues/14404
- Docker cron log double-logging: https://github.com/jmbannon/ytdl-sub/issues/1202 (thanks @timetocode for https://github.com/jmbannon/ytdl-sub/pull/1330 !)
- Missing pip dependency when updating yt-dlp: https://github.com/jmbannon/ytdl-sub/issues/1346
2025-09-27 16:43:34 -07:00
Jesse Bannon
609bec8aaf
[DOCKER] Do not remove pip for headless image (#1347)
Closes https://github.com/jmbannon/ytdl-sub/issues/1346

Keeps pip in the image to be able to update yt-dlp
2025-09-27 15:11:56 -07:00
Ross Patterson
283ccc8608
fix(docker): Default config available in WORKDIR (#1303)
Adds better support to run commands via `docker exec ...` by setting the working directory to be ytdl-sub's working directory.

Thanks @rpatterson for the contribution 😊
2025-08-27 20:17:57 -07:00
Jesse Bannon
faf9fd8a10
[DOCKER] Update yt-dlp, fix phantomjs (#1240)
Bumps [yt-dlp[default]](https://github.com/yt-dlp/yt-dlp) from 2025.5.22 to 2025.6.9.
- [Release notes](https://github.com/yt-dlp/yt-dlp/releases)
- [Changelog](https://github.com/yt-dlp/yt-dlp/blob/master/Changelog.md)
- [Commits](https://github.com/yt-dlp/yt-dlp/compare/2025.05.22...2025.06.09)

Also fixes phantomjs in docker builds
2025-06-11 23:25:56 -07:00
Jesse Bannon
51c134a036
[DOCKER] Simplify cron (#1184)
Drastically simplifies setting up cron within ytdl-sub. Below is the documentation which is available in readthedocs, and a section on how to migrate from the old way to this.

## New Cron Documentation
Cron is preconfigured in every ytdl-sub docker container. Enable by adding the following ENV variables to your docker setup.

```
services:
  ytdl-sub:
    environment:
    - CRON_SCHEDULE="0 */6 * * *"
    - CRON_RUN_ON_START=false
```  
- CRON_SCHEDULE follows the standard [cron scheduling syntax](https://crontab.guru/#0_*/6_*_*_*). The above value will run the script once every 6 hours.
- CRON_RUN_ON_START toggles whether to run your cron script on container start.

The cron script will reside in the main directory with the file name `cron`. Cron logs should show when viewing the Docker logs.

## Migrating Existing Cron Setup
Containers' cron files will remain intact until you add the `CRON_SCHEDULE` variable. Once you add that with your preferred schedule, it will write that value to /config/crontabs/abc and create a new file `cron` within your working directory. Simply copy everything from your existing `run_cron` script into `cron`.

If you have the ENV variable `DOCKER_MODS` in your docker-compose, remove it. It is now included by default. Not removing this will prevent cron logs from showing in your docker container logs.
2025-03-15 15:47:03 -07:00
Jesse Bannon
2b1e74bc8e
[DOCKER] Export SSL certs (#1163)
Fixes a common issue with downloading channel thumbnails and fanart.
2025-01-26 21:07:54 -08:00
Jesse Bannon
c7fce5dbdd
[BACKEND] Upgrade yt-dlp to 2023.11.16 (#817) 2023-11-15 16:58:29 -08:00
Jesse Bannon
d8a64ca82c
[DOCKER] Use official phantomjs package, fix system pip install (#658) 2023-07-24 09:36:38 -07:00
Jesse Bannon
f0847cee63
Revert "[BACKEND] Update yt-dlp to latest commit (#655)" (#656)
This reverts commit 3cbd07c9a4.
2023-07-18 13:17:19 -07:00
Jesse Bannon
3cbd07c9a4
[BACKEND] Update yt-dlp to latest commit (#655)
* [BACKEND] Update yt-dlp to latest commit

* git for installing commits
2023-07-18 10:48:16 -07:00
Jesse Bannon
c77015353d
[DOCKER] Install aria2 in container (#577) 2023-04-02 22:10:51 -07:00
Jesse Bannon
84cd611f89
[BUGFIX] File name too long with -thumb.jpg, upgrade docker alpine image (#560) 2023-03-24 11:15:54 -07:00
Jesse Bannon
52fdc9a213
[DOCKER] Add ubuntu docker image for device passthrough (#545) 2023-03-15 14:10:32 -07:00
Jesse Bannon
c153185b33
[DOCKER] Relax ffmpeg version requirement (#465) 2023-02-22 09:53:24 -08:00
Jesse Bannon
f713d720e4
[DOCKER] Upgrade ffmpeg, add phantomjs (#448)
* [DOCKER] Upgrade ffmpeg, add phantomjs

* only install phantomjs for x86

* lint
2023-02-20 09:36:41 -08:00
Jesse Bannon
031e17307a
[BACKEND] Check ffmpeg + ytdl-sub versions in Dockerfile to ensure successful installation (#359) 2022-11-24 19:19:42 -08:00
Jesse Bannon
06a9ed2974
[DOCKER][BUGFIX] Fix ffmpeg (#358) 2022-11-24 10:29:38 -08:00
Jesse Bannon
ead5620c5c
[FEATURE] Add mp3 id3v2.4 multi-tag support (#356)
* [FEATURE] Add mp3 id3v2.4 multi-tag support

* docs

* fix new docker issue

* update fixture
2022-11-24 00:56:23 -08:00
Jesse Bannon
21eb36774b
[DOCKER] Use alpine-3.16, update ffmpeg (attempt 2) (#332)
* Revert "Revert "[DOCKER] Use alpine-3.16, update ffmpeg (#330)" (#331)"

This reverts commit 1fa3aa5967.

* update mediafile

* lots of changes

* remove setup py
2022-11-15 13:34:47 -08:00
Jesse Bannon
1fa3aa5967
Revert "[DOCKER] Use alpine-3.16, update ffmpeg (#330)" (#331)
This reverts commit 7b43aa904b.
2022-11-15 11:29:49 -08:00
Jesse Bannon
7b43aa904b
[DOCKER] Use alpine-3.16, update ffmpeg (#330) 2022-11-15 11:16:45 -08:00
Jesse Bannon
d49cd95c08
Revert "[BACKEND] Use latest ffmpeg (#327)" (#329)
This reverts commit 52b0130888.
2022-11-15 09:14:19 -08:00
Jesse Bannon
52b0130888
[BACKEND] Use latest ffmpeg (#327) 2022-11-15 09:00:09 -08:00
Jesse Bannon
a1149bd655
[DOCKER] Add nano to container (#274) 2022-10-07 11:33:07 -07:00
Maka0
cb31156b42
Added QEMU/buildx to Github Actions to build multiarch containers (#84)
* Updated docker to use buildx Buildkit

* Updated github actions to include QEMU/buildx to build multiarch containers

* Removed packages after build is done

* Updated documentation to set the correct default thumbnail file name

* Parallel jobs (#1)

Implemented parallel docker builds on Github Actions

* Updated default config file in Docker container

* Replaced Pillow with ffmpeg for thumbnail converting (and updated documentation to change the default thumbnail to -thumb.jpg) (#2)

* Swapped Pillow for ffmpeg for thumbnail conversion
* Further changed default thumbname to include "-thumb" (Kodi needs this to pick up the thumbnail image)
* Added ffmpeg bitexact for reproducability

* Removed extra packages needed for Pillow

* Updated ref check (#3)

* Fixed formatting on if statement for deploy job

Co-authored-by: Maka0 <bas@oddens.net>
2022-07-04 01:17:04 -07:00
Jesse Bannon
ee6706334f
ytdl_options defaults for each download strategy (#72)
* `ytdl_options` defaults for each download strategy

* fix docker, fix defaults getting added, add debugger test

* test playlist as well

* fix with hack

* fix full channel test

* existing
2022-06-14 00:03:01 -07:00
Jesse Bannon
1d5992f93a
Remove unused apk packages (#56) 2022-05-30 17:24:14 -07:00
Jesse Bannon
4f64089e22
ffmpeg install in docker (#55) 2022-05-30 13:02:23 -07:00
Jesse Bannon
6b53b3bdea
ytdl-sub dl --youtube.video bugfixes (#40)
* Fix error when maintain_download_archive=False, improve error message

* edge pip in dockerfile, if for dl archive

* lint
2022-05-26 22:38:24 -07:00
Jesse Bannon
5b72ca51c6
Dockerfile and docker-compose.yml (#36) 2022-05-20 12:52:58 -07:00