-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to setup correctly if movies/tv are on differents NAS/Unraid server #27
Comments
Hi there, Sorry would you mind to expand how you have your server(s) and plex setup? When the script prompts with "Enter the corresponding NAS/Unraid library folder for the Plex mapped folder: (Default is the same as Plex as shown) 'J'", it's asking you to specify the path where the media for that Plex library is stored on your UnRaid server/NAS. This allows the script to map the Plex library to the physical location of your media files. If the path is the same as the one Plex uses, you can just hit Enter. For setting this up as a UserScript and determining the best cronjob, it highly depends on how frequently your Plex media library updates. Running it every hour might be overkill for most users, but if you have a rapidly changing library (e.g., frequent additions or media consumption), it could be justified ** but you might run in watchlist api call limits which are controlled directly by Plex **. A more conservative approach might be once a day during a low-usage period if your library isn't changing constantly. This limits disruptions and ensures the cache is fresh daily. For example, a cron job set to run daily at 3 AM would look like this in crontab format:
I personally run it once a day. Adjust the schedule according to your specific needs and server usage patterns. The script isn't active in the background; it's executed each time based on the cron schedule you set. Best Regards and happy streaming! |
my plex setup are:
movies/tv folder inside Plex server are mount like this
Docker mount are:
anyway I can have an example to how to set plexCache on my setup please?? Thanks a lot :) |
Given the complexity of your media storage across three distinct folders/servers, running the script initially in debug mode is a wise first step. This mode avoids any file manipulation. To potentially resolve this, you might consider restructuring your folder mappings within the Plex server Docker settings as follows:
However, this adjustment alone might not fully address the issue due to the limitation of the For instance, when mapping a movie from Plex with the proposed configuration, it might interpret the path as: This works fine for media directly under If you could create some 'virtual' folder where your "/mnt/user" "/TOWER" and "/NAS" can be mapped to so that you can point the script to it? I'm not sure if possible. It's theoretically possible to enhance the script to handle multiple I have not abandoned the project but I have been dragged away from all this from different reasons and I am not sure when I will be able to get back to it, I will definitely add it to my todo list for my rewrite which I did start but getting covered by virtual dust bunnies.
|
hello
thanks for this great script but I have few questions about the setup
ex: /mnt/remote/NAS , /mnt/remote/Unraid2 , /mnt/user/media
I guess for the NAS, the script won't work but for my second UnRaid server and the one running this script, how do I set it up?
do I need to install it in my second UnRaid server too?
not sure to understand this line -> Enter the corresponding NAS/Unraid library folder for the Plex mapped folder: (Default is the same as plex as shown) 'J'
using UserScript -> what's the best cronjob to use to run this script? every hour? or just need to run 1 time and its active until the server reboot?
Thank You
Best Regards
The text was updated successfully, but these errors were encountered: