Yeah I build my current setup based on scripts from @Ajki (and thanks for that, those are awesome). I also came from acd_cli. Using his latest mentioned mount now. I tried something different though, re-analyzed all my media, which seemed to have worked quiet well - my problems seem to be gone after that. I'm using a server @ with 1.5TB, so I'm using this as a buffer for my newer additions, uploading only files from my encrypted folders after they are a month old (running a cronjon with a rclone move --min-age 1M etc). I don't know why, but maybe media that is analyzed when it's stored locally needs to be re-analyzed after being moved to ACD.
Might be a good idea to have this done in the same script I use to upload stuff to my ACD, but I have no idea how I'd script this. I'm using:
curl http://127.0.0.1:32400/library/sections/all/refresh -H "X-Plex-Token: my_plex_token"
to update my library after adding new stuff, and as far as I know it's only possible to do either this, or do a full refresh:
curl http://127.0.0.1:32400/library/sections/all/refresh?force=1 -H "X-Plex-Token: my_plex_token"
If someone knows a way to call an analyze media from cli I would be forever in their debt =) Over @ Plex I can only find this article which only uses the web interface to make it happen: https://support.plex.tv/hc/en-us/articles/200289336-Analyze-Media