Skip to content

Commit

Permalink
📝 (plex): Add config section for transcoder directory
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Apr 5, 2023
1 parent 49ec001 commit 5e9fa02
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 1 deletion.
2 changes: 2 additions & 0 deletions charts/plex/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ annotations:
artifacthub.io/changes: |-
- kind: added
description: Add example media persistence values
- kind: added
description: Add config section for transcoder directory
- kind: fixed
description: Fix copy-paste error
artifacthub.io/links: |-
Expand Down
17 changes: 17 additions & 0 deletions charts/plex/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,23 @@ Hardware acceleration using an Intel iGPU with QuickSync requires the GPU plugin
gpu.intel.com/i915: 1
```

### Dedicated Transcode Directory

By default, Plex will use a subdirectory of `/config` for the temporary files during transcoding.
This can be changed by adding a temporary directory at `/transcode`, for example in `values.yaml`:

```yaml
persistence:
transcode:
enabled: true
storageClass: cheap-storage
accessMode: ReadWriteOnce
size: 40Gi
```

Once Plex is running, navigate to **Settings > Transcoder** and set **Transcoder temporary directory**
to `/transcode`.

## Values

**Important**: When deploying an application Helm chart you can add more values from the bjw-s common library chart [here](https://github.com/bjw-s/helm-charts/tree/main/charts/library/common)
Expand Down
17 changes: 17 additions & 0 deletions charts/plex/README_CONFIG.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,21 @@ Hardware acceleration using an Intel iGPU with QuickSync requires the GPU plugin
limits:
gpu.intel.com/i915: 1
```

### Dedicated Transcode Directory

By default, Plex will use a subdirectory of `/config` for the temporary files during transcoding.
This can be changed by adding a temporary directory at `/transcode`, for example in `values.yaml`:

```yaml
persistence:
transcode:
enabled: true
storageClass: cheap-storage
accessMode: ReadWriteOnce
size: 40Gi
```

Once Plex is running, navigate to **Settings > Transcoder** and set **Transcoder temporary directory**
to `/transcode`.
{{- end -}}
2 changes: 1 addition & 1 deletion charts/plex/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ persistence:
retain: true
# storageClass: ""
# accessMode: ReadWriteOnce
# size: 1Gi
# size: 16Gi
# -- Configure media volume under this key (or under `tv` and `movies`, etc).
# @default -- See [values.yaml](./values.yaml)
media:
Expand Down

0 comments on commit 5e9fa02

Please sign in to comment.