mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
fixup! ♻️ migration externalsecrets
This commit is contained in:
17
kubernetes/apps/default/bazarr/app/scripts/post-process.sh
Executable file
17
kubernetes/apps/default/bazarr/app/scripts/post-process.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
printf "Cleaning subtitles for '%s' ...\n" "$1"
|
||||
python3 /add-ons/subcleaner/subcleaner.py "$1" -s
|
||||
|
||||
# case $1 in
|
||||
# *Movies*) section="4";;
|
||||
# *Television*) section="5";;
|
||||
# esac
|
||||
|
||||
# if [[ -n "${section}" ]]; then
|
||||
# printf "Refreshing Plex section '%s' for '%s' ...\n" "${section}" "$(dirname "$1")"
|
||||
# /usr/bin/curl -X PUT -G \
|
||||
# --data-urlencode "path=$(dirname "$1")" \
|
||||
# --data-urlencode "X-Plex-Token=$2" \
|
||||
# "http://plex.default.svc.cluster.local:32400/library/sections/${section}/refresh"
|
||||
# fi
|
Reference in New Issue
Block a user