Skip to content

Commit 6379099

Browse files
authored
Update emptytrash.script
1 parent a52abc6 commit 6379099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/emptytrash.script

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ getSections() {
1616
exit 02
1717
fi
1818

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')
19+
sections=$(curl -s -G -L "${plex_url}/library/sections?X-Plex-Token=${plex_token}" | sed -n 's/.*key="\([^"]*\).*/\1/p')
2020
echo $sections
2121
}
2222

0 commit comments

Comments
 (0)