Skip to content

Instantly share code, notes, and snippets.

@disconn3ct
Last active June 28, 2022 15:35
Show Gist options
  • Save disconn3ct/4f3a49154b8757764df46bdf3e189023 to your computer and use it in GitHub Desktop.
Save disconn3ct/4f3a49154b8757764df46bdf3e189023 to your computer and use it in GitHub Desktop.
Jellyfin Intro Scanner/Skipper
---
# https://mueslimak3r.github.io/tv-intro-detection/
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: "jellyfin-intro-scanner"
spec:
releaseName: "jellyfin-intro-scanner"
chart:
spec:
chart: kah-common-chart
sourceRef:
kind: HelmRepository
name: k8s-at-home
version: ^1.1.2
values:
nameOverride: jellyfin-intro-scanner
image: cross-compiled/mueslimak3r/jellyfin-intro-scanner
controller:
type: statefulset
labels:
app: jellyfin-intro-scanner
automountServiceAccountToken: false
enableServiceLinks: false
service:
main:
enabled: false
persistence:
# This is shared with the skipper
config:
enabled: true
type: pvc
mountPath: /app/config
accessMode: ReadWriteMany
storageClass: nfs-client
size: 500Mi
# This is the jellyfin pod's /media mount
# It can be remapped but that is dumb, just mount it wherever jellyfin has it
media:
enabled: true
mountPath: /media
accessMode: ReadWriteMany
existingClaim: media-pv-claim
resources:
limits:
memory: "2Gi"
cpu: "2"
env:
LOG_LEVEL: DEBUG
JELLYFIN_URL: https://not.plex.com/
# This user needs "remote control" permission for the skipper, and probably playback permission for the scanner
# Or use two users but you should be following upstream docs anyway.
JELLYFIN_USERNAME:
valueFrom:
secretKeyRef:
name: jellyfin-scanner
key: username
JELLYFIN_PASSWORD:
valueFrom:
secretKeyRef:
name: jellyfin-scanner
key: password
# This half spies on you and messes with your playback
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: "jellyfin-intro-skipper"
spec:
releaseName: "jellyfin-intro-skipper"
chart:
spec:
chart: kah-common-chart
sourceRef:
kind: HelmRepository
name: k8s-at-home
version: ^1.1.2
values:
nameOverride: jellyfin-intro-skipper
image:
repository: once-again/cross-compile/mueslimak3r/jellyfin-intro-skipper
# The rest is just a replace of `scanner` with `skipper`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment