Skip to content

Commit 8200426

Browse files
authored
[tdarr] Add ffmpegPath environment override (k8s-at-home#1308)
* [tdarr] Add ffmpegPath environment override This change adds and environment override for ffmpegPath. If unset, the tdarr node container will use the default binary that ships with tdarr. Using `""` may cause detection issues with hardware passthrough (i915), but will remain backwards compatible with the container default. Signed-off-by: Nathan Pawelek <[email protected]>
1 parent 57535a1 commit 8200426

File tree

5 files changed

+18
-1
lines changed

5 files changed

+18
-1
lines changed

charts/stable/tdarr/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
appVersion: 2.00.10
33
description: Tdarr is a self hosted web-app for automating media library transcode/remux management and making sure your files are exactly how you need them to be in terms of codecs/streams/containers etc.
44
name: tdarr
5-
version: 4.1.3
5+
version: 4.2.0
66
keywords:
77
- transcoding
88
- remux

charts/stable/tdarr/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ N/A
8080
| env.serverIP | string | `"0.0.0.0"` | tdarr server binding address |
8181
| env.serverPort | string | `"{{ .Values.service.main.ports.server.port }}"` | tdarr server listening port |
8282
| env.webUIPort | string | `"{{ .Values.service.main.ports.http.port }}"` | tdarr web UI listening port (same as Service port) |
83+
| env.ffmpegPath | string | `""` | Override the pre-compiled ffmpeg binary |
8384
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
8485
| image.repository | string | `"haveagitgat/tdarr"` | image repository |
8586
| image.tag | string | `"2.00.10"` | image tag |
@@ -103,6 +104,12 @@ All notable changes to this application Helm chart will be documented in this fi
103104

104105
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
105106

107+
### [4.2.0]
108+
109+
#### Changed
110+
111+
- Add an environment override for `ffmpegPath`. If unset, the tdarr node container will use the default binary that ships with tdarr. Using `""` may cause detection issues with hardware passthrough (i915), but will be backwards backwards compatible with the container default.
112+
106113
### [4.1.3]
107114

108115
#### Changed

charts/stable/tdarr/README_CHANGELOG.md.gotmpl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ All notable changes to this application Helm chart will be documented in this fi
99

1010
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
1111

12+
### [4.2.0]
13+
14+
#### Changed
15+
16+
- Add an environment override for `ffmpegPath`. If unset, the tdarr node container will use the default binary that ships with tdarr. Using `""` may cause detection issues with hardware passthrough (i915), but will be backwards backwards compatible with the container default.
17+
1218
### [4.1.3]
1319

1420
#### Changed

charts/stable/tdarr/templates/common.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ additionalContainers:
1717
value: "localhost"
1818
- name: serverPort
1919
value: "{{ .Values.service.main.ports.server.port }}"
20+
- name: ffmpegPath
21+
value: {{ default "" .Values.env.ffmpegPath }}
2022
volumeMounts:
2123
{{ if .Values.persistence.config.enabled }}
2224
- name: config

charts/stable/tdarr/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ env:
2424
serverIP: 0.0.0.0
2525
# -- tdarr server listening port
2626
serverPort: "{{ .Values.service.main.ports.server.port }}"
27+
# -- Allow override for the pre-compiled tdarr ffmpeg binary
28+
ffmpegPath: ""
2729

2830
# -- Configures service settings for the chart.
2931
# @default -- See values.yaml

0 commit comments

Comments
 (0)