l3uddz / plex_autoscan

Script to assist sonarr/radarr with plex imports. Will only scan the folder that has been imported, instead of the whole library section.
GNU General Public License v3.0
395 stars 70 forks source link

Add Shell Environment Variables on RUN_COMMAND_AFTER_SCAN #158

Open jetbalsa opened 4 years ago

jetbalsa commented 4 years ago

Looking to get some Plex / File Metadata to be passed on to RUN_COMMAND_AFTER_SCAN.

For my usecase I'm looking for from plex on a media add / scan

Item[Location][uri] or some method to get the media UUID within Plex after plex_autoscan triggers a add. This way I can force a Optimized version to be made using Plex's built in system for it.