8 lines
228 B
Bash
8 lines
228 B
Bash
jelly_rescan(){
|
|
JELLYFIN_URL="http://$NAS_IP:8096"
|
|
API_KEY="$(pass jelly)"
|
|
LIBRARY_ID="8a05b0252259a1dbd62df97522638439"
|
|
|
|
curl -X POST -H "X-Emby-Token: $API_KEY" \
|
|
"$JELLYFIN_URL/Library/VirtualFolders/$LIBRARY_ID/Refresh"
|
|
}
|