slowmotionrunner

joined 2 years ago
[–] slowmotionrunner@lemmy.sdf.org 2 points 1 week ago* (last edited 1 week ago) (1 children)

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.

  1. Create a new iOS shortcut
  2. Add the "Get contents of URL" action
  3. Get your X-Plex-Token (see instructions on official website)
  4. Set the URL in your action to: https://{ip_address}:{port}/library/sections/all/refresh?X-Plex-Token={plex_token}