jkirkcaldy / plex-utills

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

Support for different movie directories for UHD and HD #38

Closed alexandzors closed 2 years ago

alexandzors commented 3 years ago

Saw this on Reddit and would like to use this now that I am starting to acquire UHD content. However it looks like its limited to having both the HD and UHD copies in the same directory. Would it be possible to support having UHD and HD in separate directories?

I have them joined in Plex under the same movies library but the local dir is /movies and /movies_4k due to having two different Radarr instances managing them.

I saw #14 so maybe this is related?

jkirkcaldy commented 3 years ago

This is exactly how I have my media saved.

You should use the root plex media directory not the movies directory.

So if your movies are saved under /mnt/user/Plex/movies and 4k under /mnt/user/Plex/movies-4k make sure that you use the mount point /mnt/user/Plex in the config. And making sure that the PLEXPATH uses the root directory too

alexandzors commented 3 years ago

Finally got back around to messing with this stuff. So I just mount /media/plex to /films in the container so the container can then see both /movies and /movies_4k?

And I assume this script doesn't support Windows for the PLEXPATH? atm Plex is mounting the movies directory under H:\Movies and H:\Movies_4K. So when I try H:\\ or H:\ the script errors out:

Starting plexutils_tautulli_1 ... done
Attaching to plexutils_tautulli_1
tautulli_1  | /config/config.ini exists
tautulli_1  |  Config check passed
tautulli_1  | 03:01:27 : This script is now running, check back later for more info
tautulli_1  |  Plex mount path is:
tautulli_1  | Traceback (most recent call last):
tautulli_1  |   File "/app/./run_all.py", line 110, in <module>
tautulli_1  |     plex_file_path()
tautulli_1  |   File "/app/./run_all.py", line 87, in plex_file_path
tautulli_1  |     print('/'+filepath.split('/')[1], Fore.RESET)
tautulli_1  | IndexError: list index out of range
#Use the setup helper if you don't know what to use here.
PLEXPATH = H:\

dont mind the tautulli_1 portion... i copied a docker-compose file and changed out the info for this container and forgot to update the service name lol

Basically my setup is: Windows 10 Workstation running Plex + Hyper-V Hyper-V VM running Ubuntu Server with Docker (which is where plex utils is running)

Plex media is in a storage spaces array on windows and shared with the Linux VM over SMB.

jkirkcaldy commented 3 years ago

Windows is supported.

Your PLEXPATH would be H:/ I believe.

On Sep 29, 2021 at 8:06 am, <Alexander Henderson @.***)> wrote:

Finally got back around to messing with this stuff. So I just mount /media/plex to /films in the container so the container can then see both /movies and /movies_4k?

And I assume this script doesn't support Windows for the PLEXPATH? atm Plex is mounting the movies directory under H:\Movies and H:\Movies_4K

Basically my setup is: Windows 10 Workstation running Plex + Hyper-V Hyper-V VM running Ubuntu Server with Docker (which is where plex utils is running)

Plex media is in a storage spaces array on windows and shared with the Linux VM over SMB.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub (https://github.com/jkirkcaldy/plex-utills/issues/38#issuecomment-929896729), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AGHDXIDXYGZY5MUJIH4PDNDUEK3FZANCNFSM5CRNC6KA).