fixup! ♻️ migration externalsecrets

This commit is contained in:
auricom
2023-07-09 09:17:34 +02:00
parent c00e101eec
commit 357fb88067
167 changed files with 1329 additions and 2706 deletions

View 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