I like iOS shortcuts. This week, I created an iOS shortcut to scan my Plex library. Now this may seem weird since there is an option to scan a library from the official Plex iOS app and there are also options to scan the library automatically or periodically. For various reasons (excuses), I didn't like that the official app only lets you scan one library at a time and I have automatic/periodic scans turned off to avoid network drive access, so I created the shortcut to scan from my phone any time I felt like I wanted to trigger it.
- Create a new iOS shortcut
- Add the "Get contents of URL" action
- Get your X-Plex-Token (see instructions on official website)
- Set the URL in your action to:
https://{ip_address}:{port}/library/sections/all/refresh?X-Plex-Token={plex_token}