How can I optimize plex to make as low queries as possible with my remote?
To avoid bans.
For this I disabled all scheduled tasks, disabled update my library periodically & automatically.
Only checked Run a partial scan when changes are detected. ( does that works for subfolders ? let’s say /x/xxx/xxxx, if you only change xxx will plex scan the entire /x/ or just x/xxx/ ? )
To never generate video preview thumbnails and Generate chapter thumbnails never.
Should I also use Run scanner tasks at a lower priority ? Maybe it’ll generate less queries per second.
Is that all I can do? Any options I can do at rclone side?
I disable all the scanning options in Plex and use a post processing script in Sonarr/Radarr to manually scan new media in. Something like this would work. Although, just this command would scan the entire series. You could write some more logic to target the specific directory though.
The following assumes you updated your sudoers file to allow the user to execute commands as the user plex.
You can run that from the command line. Just sudo -u plex and run LD_LIBRARY_PATH=/usr/lib/plexmediaserver /usr/lib/plexmediaserver/Plex\ Media\ Scanner -s -r -c # -d /path/you/want/to/scan – # is the section (tv, movies, etc) that you want to update
I’ll try later thanks. It’s 7 AM, and I already got shit luck because my VPS provider doesn’t even support FUSE so I’ll need to run this from my home PC using a virtual machine
I paid anonymously I guess I’ll have to eat the loss unless any genius here can find a workaround to mount FUSE avoiding this error :
2017/04/13 03:42:06 mount helper error: fusermount: fuse device not found, try ‘modprobe fuse’ first
2017/04/13 03:42:06 Fatal error: failed to mount FUSE fs: fusermount: exit status 1
modprobe fuse output :
modprobe: ERROR: …/libkmod/libkmod.c:507 kmod_lookup_alias_from_builtin_file() could not open builtin file ‘/lib/modules/2.6.32-042stab120.6/modules.builtin.bin’
modprobe: FATAL: Module fuse not found.
It seems to be based on them using OpenVZ and a ancient kernel 2.6.32-042stab123.1
I had this same issue with ssdnodes. Just email support and ask them to enable fuse, it’s no trouble and they will have it up and running pretty quickly.