We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a52abc6 commit 6379099Copy full SHA for 6379099
scripts/emptytrash.script
@@ -16,7 +16,7 @@ getSections() {
16
exit 02
17
fi
18
19
- sections=$(curl -s -G -L "${plex_url}/library/sections?X-Plex-Token=${plex_token}" | xpath -e "/MediaContainer/Directory/@key" 2>&1 | sed -n 's/.*key="\([^"]*\).*/\1/p')
+ sections=$(curl -s -G -L "${plex_url}/library/sections?X-Plex-Token=${plex_token}" | sed -n 's/.*key="\([^"]*\).*/\1/p')
20
echo $sections
21
}
22
0 commit comments