scripts
scripts copied to clipboard
Does the plex generate folder list script duo work If I have plex on a different machine?
I don't fully understand what the script is doing. Also I don't have unionFS. Can I get it working to match my setup?
yes its split into 2 scripts because of 2 server setup. Just change paths and remove unionfs one.
So what should i put on this line? MREFRESHFOLDER="${mfolder/$LOCALPATH/$UNIONFSPATH}" # Change path from /storage/local/ to /mnt/unionfs
I need to know more about your setup. From what folder is rclone moving files and where is plex library pointed to.
plex library is pointing to /Server/ I have rclone on the download machine, my rclone move is /home/plex/media/TV Shows to Drive:TV Shows
The unionfs part is basically replacing path from local folder from which rclone uploads with folder where plex is pointed.
so basically you change LOCALPATH=/home/plex/media/
and UNIONFS=/Server/
So the first script does seem to upload properly, but it doesnt upload the list. These are the VARS:
TIMESTAMP=date +%Y-%m-%d_%H-%M-%S
LOGFILE="/home/plex/logs/local2acdcrypt.cron.log"
MOVIES="/home/plex/media/Movie"
SERIES="/home/plex/media/TV Shows"
LOCALPATH="/home/plex/media/"
UNIONFSPATH="/Server/"
RCLONEREMOTE="Drive:"
MINFOLDERAGE="5" # MINIMUM FOLDER AGE IN MINUTES. SCRIPT WILL ONLY STARTED WHEN THERE IS A MATCH
Do these two machine scripts still exist? Can't easily see them in the repo.
Yes https://github.com/ajkis/scripts/blob/master/plex/plexgeneratefolderlist.sh https://github.com/ajkis/scripts/blob/master/plex/plexrefreshfolderlist.sh