jkirkcaldy / plex-utills

Manage your Plex library automatically
MIT License
324 stars 24 forks source link

Adding /films to the beginning of my media directory. #99

Closed jlyfshhh closed 2 years ago

jlyfshhh commented 2 years ago
image image

The Plex Path is correct for how Plex sees my media. The Plex-utills path is correct but for some reason adds /films to the beginning and this causes it not to run correctly.

jkirkcaldy commented 2 years ago

It adds /films because that's where you mount all your media in the plex-utills container so the scripts take the path that plex sees and translates it into a path that it can see.

docker exec plex-utills /bin/bash -c "ls /films" should return the exact same result of docker exec <plex docer container> /bin/bash -c "ls /Volumes"

jlyfshhh commented 2 years ago

If I pass /volume1/data/media to the container as /films then the path should be /films/movies/12 Strong right? Why is /data/media being included? I don't understand what I am supposed to mount for the container.

jkirkcaldy commented 2 years ago

You need to manually change the plexpath inside the container.

The script takes the location of your file as plex sees it and then tries to translate it to what the script sees. So your mount for /films should match what you pass through to your plex container.

In your case, leaving everything as is, you can use the manual override function. Currently this is only in the :dev container.

To do this, go to the /admin_config page on your plex-utills webui. Then there is the option to manually change the plexpath.

Set this to True and change the override box to say /Volumes/data/media this should then map the path correctly.

jlyfshhh commented 2 years ago

Ok, I will try that thanks. I think the issue is that my Plex server is on my Mac mini and everything else is hosted on my NAS (including plex-utills) so the path that Plex sees my media at is different than what my plex-utills container sees.