bexem / PlexCache

Automate Plex media management: Efficiently transfer media from the On Deck/Watchlist to the cache, and seamlessly move watched media back to their respective locations.
58 stars 7 forks source link

/mnt/user/system/./locatefileinarray.sh: No such file or directory #4

Closed dada051 closed 1 year ago

dada051 commented 1 year ago

When I run the script, I have this error: /mnt/user/system/./locatefileinarray.sh: No such file or directory don't know where I can find this locatefileinarray.sh file.

bexem commented 1 year ago

Hello, my apologies, I should have uploaded that file as well! My bad! It is now up, you just need to have it in the same folder of the script (I will try to implement it on the same script soon). Don't forget to give it the permissions to run!

bexem commented 1 year ago

I have integrated the script to locate the file directly in the python script, so you should not get the error anymore.

dada051 commented 1 year ago

Just saw the fix. Maybe we can use /mnt/user0/ directly instead of searching in /mnt/disk{09} ?

bexem commented 1 year ago

That sounds like a way better solution! I don't even have to iterate the whole thing making it more efficient. I like it, thank you! I was unaware of the functionality of this folder in unraid! I have now updated the code!