Sync Kodi & Plex Watch Status on Startup



I am currently using this python script to sync my Plex and Kodi watch status. The script runs manually from my NAS but requires my Nvidia Shield and Kodi to be on.

I am trying to move this script to Kodi and have it run on startup. I found I can create an Autoexec Service but I am not sure what the `addon.xml` would look like since the script has multiple dependencies (Python modules and other python scripts). Is this something that is even possible?