fix: resolve ffmpeg path dynamically, handle empty crop check, and strip quotes in wrapper
Build and Release Plugin / release (push) Successful in 37s

This commit is contained in:
2026-09-17 19:26:25 +02:00
parent d5e11a52ed
commit f6ed790801
5 changed files with 24 additions and 16 deletions
+1 -3
View File
@@ -92,9 +92,7 @@ for (( i=1; i<=$#; i++ )); do
done
if [ -n ""$INPUT_FILE"" ]; then
# Jellyfin przekazuje ścieżkę z prefiksem file: (np. file:""/home/..."").
# Shell usuwa cudzysłowy automatycznie – zostaje nam tylko file: do usunięcia.
CLEAN_PATH=""${{INPUT_FILE#file:}}""
CLEAN_PATH=$(echo ""$INPUT_FILE"" | tr -d '""' | sed 's/^file://')
CROP_DATA=$(curl -s --max-time 1 -G --data-urlencode ""Path=$CLEAN_PATH"" http://127.0.0.1:8096/BlackBarRemover/CropByPath)