What is the correct syntax to add media files to Plex

I am trying to add media folders to Plex, but no matter what syntax I try Plex can’t find the said folder.
I’ve tried:
/mnt/WinShare/Media/Films
smb://192.168.0.42/Films, This works ok in Emby but not Plex
\192.168.0.42/Films
//ip address/mnt/Media/Films
\192.168.0.42/WinShare/Media/Films

I don’t know what else to try next to get the media added

You need to add a Host Path mapping in your settings i.e. map /mnt/WinShare/Media to /media.

1 Like

thanks, so I did this:
/mnt/WinShare/Media/Films to /Media

But when I go to view what has been added, it says “Films” is empty

Case is important. If you have a folder in your dataset called “/Media” then you would want the mount point to be different - i.e. “/media.”

Basically, you’re trying to mount /Films" to a point in your dataset that already exists. It needs to be different.

Ok, I tried /mnt/WinShare/Films to /media and /mnt/WinShare/Media/Films to /films

This is my dataset: /mnt/WinShare/Media
But same thing,nothing added

Probably an ACL/permissions issue. I have Plex running under the “apps” user (568), and I also made “apps” the owner of my “/Media” dataset. So both Plex and the media it needs access to have the same user/group/permissions.

For reference, this is the guide I looked at when first configuring my NAS for Plex: https://www.youtube.com/watch?v=59NGNZ0kO04

Don’t forget about permissions.

You may need to create a mediaserver group (or something along these lines) and preform a:

chown -R root:mediaserver ...
chmod -R 775 ...

to the files; this will get you the ability for each (plex and emby) to READ/WRITE to the directories and files.

EDIT: Ah! Samba, missed that. Sorry. I’ll leave my post.

1 Like

Thanks all, but it is just not happening with Plex, so I’ll stick with Emby which works fine