This commit is contained in:
deathbybandaid 2024-02-22 08:34:46 -05:00
parent d6d91a1f32
commit c2190f11d3

View File

@ -23,7 +23,8 @@ update_from_api() {
do
echo "Emptying Trash for key: ${library_number}"
curl -X GET http://127.0.0.1:32400/library/sections/${library_number}/emptyTrash\?X-Plex-Token=${LOCAL_PLEX_TOKEN}
plex_api_url="http://127.0.0.1:32400/library/sections/${library_number}/emptyTrash\?X-Plex-Token=${LOCAL_PLEX_TOKEN}"
curl -X GET $plex_api_url
done