Yesterday, 12:22 AM
(2025-07-11, 03:13 PM)I-G-1-1 Wrote: I know this post is old, but to trigger a single Library scan thanks to "url scheme" suggested by TheDreadPirate I solved writing this script:
I tried the script but it failed at:
bin/refresh-jellyfin.sh: 35: Syntax error: "(" unexpected
that would be the line:
Code:
paste <(echo "$NAMES") <(echo "$IDS") | while IFS=$'\t' read -r name id; do
in the section:
Code:
# Combine and print the name and ID of each library in a readable format
paste <(echo "$NAMES") <(echo "$IDS") | while IFS=$'\t' read -r name id; do
echo "Name: $name | ID: $id"
done