Server Version#: 1.42.2.10156
Player Version#: NA
Logs:
Request: [127.0.0.1:52131 (Loopback)] PUT /library/sections/11/refresh (20 live) #58e Signed-in Token (REDACTED)
Completed: [127.0.0.1:52131] 404 PUT /library/sections/11/refresh (20 live) #58e 1ms 288 bytes (pipelined: 1)
I run a Terminal script at set intervals to bring videos into a specific library. Once done, I want to trigger a scan so Plex can see the changes. The videos are stored on my NAS while the Plex Media Server software runs on a separate Mac Mini. As such, it canāt auto-detect a filesystem change.
Iām trying to run the command: "curl -X PUT āhttp://192.168.50.4:32400/library/sections/11/refresh?X-Plex-Token={myToken}ā "
Iāve validated my token works (if I put the URL in Safari the scan does trigger) but when I try this via Terminal, I get a Not Found return.
<html><head><title>Not Found</title></head><body><h1>404 Not Found</h1></body></html>
Iām not sure how I can script this to tell Plex new files are present so it can scan & display them for me to watch. Any help on this would be greatly appreciated. Thank you!