Skip to content

Commit 34fc4cb

Browse files
authored
Merge branch 'develop' into feat(discord-agent)/multiple-discord-ids
2 parents 301cf75 + a133930 commit 34fc4cb

21 files changed

Lines changed: 204 additions & 24 deletions

File tree

charts/seerr-chart/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kubeVersion: '>=1.23.0-0'
33
name: seerr-chart
44
description: Seerr helm chart for Kubernetes
55
type: application
6-
version: 3.3.1
6+
version: 3.4.1
77
# renovate: image=ghcr.io/seerr-team/seerr
88
appVersion: 'v3.1.0'
99
maintainers:

charts/seerr-chart/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# seerr-chart
22

3-
![Version: 3.3.1](https://img.shields.io/badge/Version-3.3.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v3.1.0](https://img.shields.io/badge/AppVersion-v3.1.0-informational?style=flat-square)
3+
![Version: 3.4.1](https://img.shields.io/badge/Version-3.4.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v3.1.0](https://img.shields.io/badge/AppVersion-v3.1.0-informational?style=flat-square)
44

55
Seerr helm chart for Kubernetes
66

@@ -44,12 +44,13 @@ If `replicaCount` value was used - remove it. Helm update should work fine after
4444
| Key | Type | Default | Description |
4545
|-----|------|---------|-------------|
4646
| affinity | object | `{}` | |
47-
| config | object | `{"persistence":{"accessModes":["ReadWriteOnce"],"annotations":{},"existingClaim":"","name":"","size":"5Gi","volumeName":""}}` | Creating PVC to store configuration |
47+
| config | object | `{"persistence":{"accessModes":["ReadWriteOnce"],"annotations":{},"existingClaim":"","name":"","size":"5Gi","subPath":"","volumeName":""}}` | Creating PVC to store configuration |
4848
| config.persistence.accessModes | list | `["ReadWriteOnce"]` | Access modes of persistent disk |
4949
| config.persistence.annotations | object | `{}` | Annotations for PVCs |
5050
| config.persistence.existingClaim | string | `""` | Specify an existing `PersistentVolumeClaim` to use. If this value is provided, the default PVC will not be created |
5151
| config.persistence.name | string | `""` | Config name |
5252
| config.persistence.size | string | `"5Gi"` | Size of persistent disk |
53+
| config.persistence.subPath | string | `""` | Subpath of the pvc which should be mounted |
5354
| config.persistence.volumeName | string | `""` | Name of the permanent volume to reference in the claim. Can be used to bind to existing volumes. |
5455
| extraEnv | list | `[]` | Environment variables to add to the seerr pods |
5556
| extraEnvFrom | list | `[]` | Environment variables from secrets or configmaps to add to the seerr pods |

charts/seerr-chart/templates/statefulset.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ spec:
4444
protocol: TCP
4545
livenessProbe:
4646
httpGet:
47-
path: /api/v1/status
47+
path: /api/v1/settings/public
4848
port: http
4949
{{- if .Values.probes.livenessProbe.initialDelaySeconds }}
5050
initialDelaySeconds: {{ .Values.probes.livenessProbe.initialDelaySeconds }}
@@ -63,7 +63,7 @@ spec:
6363
{{- end }}
6464
readinessProbe:
6565
httpGet:
66-
path: /api/v1/status
66+
path: /api/v1/settings/public
6767
port: http
6868
{{- if .Values.probes.readinessProbe.initialDelaySeconds }}
6969
initialDelaySeconds: {{ .Values.probes.readinessProbe.initialDelaySeconds }}
@@ -97,6 +97,7 @@ spec:
9797
volumeMounts:
9898
- name: config
9999
mountPath: /app/config
100+
subPath: {{ .Values.config.persistence.subPath }}
100101
{{- with .Values.volumeMounts }}
101102
{{- toYaml . | nindent 12 }}
102103
{{- end }}

charts/seerr-chart/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ config:
8888
volumeName: ''
8989
# -- Specify an existing `PersistentVolumeClaim` to use. If this value is provided, the default PVC will not be created
9090
existingClaim: ''
91+
# -- Subpath of the pvc which should be mounted
92+
subPath: ''
9193

9294
ingress:
9395
enabled: false

docs/extending-seerr/reverse-proxy.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ This is a third-party documentation maintained by the community. We can't provid
293293
log global
294294
option httplog
295295
http-response set-header Strict-Transport-Security max-age=15552000
296-
option httpchk GET /api/v1/status
296+
option httpchk GET /api/v1/settings/public
297297
timeout connect 30000
298298
timeout server 30000
299299
retries 3

docs/getting-started/docker.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ docker run -d \
6161
-p 5055:5055 \
6262
-v /path/to/appdata/config:/app/config \
6363
--restart unless-stopped \
64-
--health-cmd "wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/status || exit 1" \
64+
--health-cmd "wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/settings/public || exit 1" \
6565
--health-start-period 20s \
6666
--health-timeout 3s \
6767
--health-interval 15s \
@@ -116,7 +116,7 @@ services:
116116
volumes:
117117
- /path/to/appdata/config:/app/config
118118
healthcheck:
119-
test: wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/status || exit 1
119+
test: wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/settings/public || exit 1
120120
start_period: 20s
121121
timeout: 3s
122122
interval: 15s
@@ -163,7 +163,7 @@ docker volume create seerr-data
163163
or the Docker Desktop app:
164164
1. Open the Docker Desktop app
165165
2. Head to the Volumes tab
166-
3. Click on the "New Volume" button near the top right
166+
3. Click on the "Create a volume" in the center of the page. Or if you have other volumes already, click on the "Create" button on the top right of the page.
167167
4. Enter a name for the volume (example: `seerr-data`) and hit "Create"
168168

169169
Then, create and start the Seerr container:
@@ -179,7 +179,7 @@ docker run -d `
179179
-p 5055:5055 `
180180
-v seerr-data:/app/config `
181181
--restart unless-stopped `
182-
--health-cmd "wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/status || exit 1" `
182+
--health-cmd "wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/settings/public || exit 1" `
183183
--health-start-period 20s `
184184
--health-timeout 3s `
185185
--health-interval 15s `
@@ -217,7 +217,7 @@ docker run -d ^
217217
-p 5055:5055 ^
218218
-v seerr-data:/app/config ^
219219
--restart unless-stopped ^
220-
--health-cmd "wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/status || exit 1" ^
220+
--health-cmd "wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/settings/public || exit 1" ^
221221
--health-start-period 20s ^
222222
--health-timeout 3s ^
223223
--health-interval 15s ^
@@ -260,7 +260,7 @@ services:
260260
volumes:
261261
- seerr-data:/app/config
262262
healthcheck:
263-
test: wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/status || exit 1
263+
test: wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/settings/public || exit 1
264264
start_period: 20s
265265
timeout: 3s
266266
interval: 15s

docs/migration-guide.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Summary of changes :
8282
volumes:
8383
- /path/to/appdata/config:/app/config
8484
healthcheck:
85-
test: wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/status || exit 1
85+
test: wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/settings/public || exit 1
8686
start_period: 20s
8787
timeout: 3s
8888
interval: 15s
@@ -126,7 +126,7 @@ Summary of changes :
126126
volumes:
127127
- seerr-data:/app/config
128128
healthcheck:
129-
test: wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/status || exit 1
129+
test: wget --no-verbose --tries=1 --spider http://localhost:5055/api/v1/settings/public || exit 1
130130
start_period: 20s
131131
timeout: 3s
132132
interval: 15s

docs/using-seerr/notifications/webhook.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ These following special variables are only included in media-related notificatio
9898
| Variable | Value |
9999
| ------------------------------| -------------------------------------------------------------------------------------------------------------- |
100100
| `{{media_type}}` | The media type (`movie` or `tv`) |
101+
| `{{media_imdbid}}` | The media's IMDb ID |
101102
| `{{media_tmdbid}}` | The media's TMDB ID |
102103
| `{{media_tvdbid}}` | The media's TheTVDB ID |
103104
| `{{media_status}}` | The media's availability status (`UNKNOWN`, `PENDING`, `PROCESSING`, `PARTIALLY_AVAILABLE`, or `AVAILABLE`) |

server/api/jellyfin.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,14 @@ class JellyfinAPI extends ExternalAPI {
138138
? deviceId
139139
: Buffer.from('BOT_seerr').toString('base64');
140140

141-
let authHeaderVal: string;
141+
const version =
142+
settings.main.mediaServerType === MediaServerType.EMBY
143+
? '1.0.0'
144+
: getAppVersion();
145+
146+
let authHeaderVal = `MediaBrowser Client="Seerr", Device="Seerr", DeviceId="${safeDeviceId}", Version="${version}"`;
142147
if (authToken) {
143-
authHeaderVal = `MediaBrowser Client="Seerr", Device="Seerr", DeviceId="${safeDeviceId}", Version="${getAppVersion()}", Token="${authToken}"`;
144-
} else {
145-
authHeaderVal = `MediaBrowser Client="Seerr", Device="Seerr", DeviceId="${safeDeviceId}", Version="${getAppVersion()}"`;
148+
authHeaderVal += `, Token="${authToken}"`;
146149
}
147150

148151
super(

server/entity/User.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export class User {
194194

195195
public async generatePassword(): Promise<void> {
196196
const password = generatePassword.randomPassword({ length: 16 });
197-
this.setPassword(password);
197+
await this.setPassword(password);
198198

199199
const { applicationTitle, applicationUrl } = getSettings().main;
200200
try {

0 commit comments

Comments
 (0)