Moving from Cache to VFS - Plex Streaming Recommended Settings

yup thank you for others who may be interested this is how I am doing it:

1st I have this script running to subscribe to the mqtt topic:

while true
    /volume1/mosquitto/mosquitto_sub -L mqtts:// /plex/updates --cafile /etc/ssl/certs/ca-certificates.crt | while read -r payload
                /volume1/ "${payload}" &
        sleep 10  # Wait 10 seconds until reconnection

as above that calls

> #!/bin/sh
> PLEXMOUNT="/mnt/"
> TYPE=`/usr/bin/echo $PLEXPATH | /usr/bin/cut -d"/" -f 1`
> if [ $TYPE == "TV" ]; then
>         SECTION=2
> else
>         SECTION=1
> fi
> /volume1/rclone/rclone rc vfs/refresh dir="$PLEXPATH" --rc-user=rclone --rc-pass=rclone --rc-addr= --config=/volume1/rclone.conf
> /usr/bin/sleep 10
> export LD_LIBRARY_PATH="/var/packages/Plex Media Server/target"
> export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="/volume1/Plex/Library/Application Support"
> echo "scanning $@"
> "$LD_LIBRARY_PATH/Plex Media Scanner" --scan --refresh --section "$SECTION" --directory "$PLEXMOUNT/$PLEXPATH"


this has been marked up here due to issue with identifying new subfolders in the cache: VFS Refresh Directory - #3 by drpau

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.