scripts icon indicating copy to clipboard operation
scripts copied to clipboard

Does the plex generate folder list script duo work If I have plex on a different machine?

Open ghost opened this issue 7 years ago • 8 comments

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?

ghost avatar Apr 30 '17 17:04 ghost

yes its split into 2 scripts because of 2 server setup. Just change paths and remove unionfs one.

ajkis avatar Apr 30 '17 20:04 ajkis

So what should i put on this line? MREFRESHFOLDER="${mfolder/$LOCALPATH/$UNIONFSPATH}" # Change path from /storage/local/ to /mnt/unionfs

ghost avatar Apr 30 '17 21:04 ghost

I need to know more about your setup. From what folder is rclone moving files and where is plex library pointed to.

ajkis avatar Apr 30 '17 21:04 ajkis

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

ghost avatar Apr 30 '17 21:04 ghost

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/

ajkis avatar Apr 30 '17 21:04 ajkis

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

ghost avatar Apr 30 '17 23:04 ghost

Do these two machine scripts still exist? Can't easily see them in the repo.

danielloader avatar May 22 '17 20:05 danielloader

Yes https://github.com/ajkis/scripts/blob/master/plex/plexgeneratefolderlist.sh https://github.com/ajkis/scripts/blob/master/plex/plexrefreshfolderlist.sh

ajkis avatar May 23 '17 10:05 ajkis