Copy PMS metadata from Mac to PR4100 NAS

Good morning. Before we do anything else, let’s try to figure out where those subtitles are stored. Run this on your Mac:

stat ~/Library/Application\ Support/Plex\ Media\ Server/Media/localhost/f/ddad091cc94dc2581ba867c1143f303ea07f57e.bundle/Contents/Subtitles/en/com.plexapp.agents.opensubtitles_5fc69dec433d59f36aed138fe7ae5af2d2215f7e.srt

It should result in an output that contains:

File: ~/Library/Application\ Support/Plex\ Media\ Server/Media/localhost/f/ddad091cc94dc2581ba867c1143f303ea07f57e.bundle/Contents/Subtitles/en/com.plexapp.agents.opensubtitles_5fc69dec433d59f36aed138fe7ae5af2d2215f7e.srt […]
Size: 34 Blocks: 0 IO Block: 4096 symbolic link
[…]

The path after the arrow is key. Please post the output of that command.

Hello there. Good news: I just tried running PMS again and It works! All settings and metadata are exactly as on my computer, but not the subtitles. The subtitles are located in the same folders as the media files but none of them are recognized (except embedded subtitles in MKV files).

Did you run a library update yet? Plex should find the subtitles if they are in the media folder.

I don’t know how to update the library. If you mean by scanning then yes I did, but no change. I know that a refresh would overwrite my metadata so I’m not going to try that. Is there anything else?

I did some digging and there is an rsync option that copies the linked files instead of the links themselves. Shut PMS down and run the following on your Mac (we will only copy .srt-files for now):

rsync -rLptgoDvzPm --include="*/" --include="*.srt" --exclude="*" ~/Library/Application\ Support/Plex\ Media\ Server/ 'sshd@10.36.62.243:/mnt/HD/HD_a2/Nas_Prog/plex_conf/Plex\ Media\ Server/'

The command looks like a big ol’ mess, so here’s a quick explanation:
-rLptgoD: similar to -a (which is short for -rlptgoD) but with -L instead of -l in order to copy linked files instead of links
-v: show what’s going on
-z: compress data during transfer
-P: show file transfer progress
-m: don’t create empty directories
–include="/" --include=".srt" --exclude="*": copy only .srt-files

When rsync is done, log into your NAS via ssh and run the above chown command again. Post the output in case it spits out errors again.

I was away for the weekend and when I got back the subtitle issue was solved. Perhaps it got sorted out somehow by shutting down and restarting the computer and NAS?

One thing did change however: the Plex button (Apps tab) of the MyCloud dashboard is not working anymore. I get a page not found (page’s address is not valid) error. But this is a minor issue. The important thing is that PMS is set up on the NAS and working well.

The discovery of the subtitles was probably part of the scheduled tasks. Glad this works now.

What address does your dashboard send you to?

It sends me to http://bpmycloud.local/plexmediaserver/index.php ; but if I replace bpmycloud.local with the NAS ip address it works fine. This doesn’t make sense to me since bpmycloud.local is the address of the dashboard and I use it to access the dashboard.

Sounds strange, but also sounds like a WD issue. Is this meant to take you to your PMS’s managing interface (Plex Web) or some custom WD interface?

It used to take me to PMS.

Strange, but ok. You can always manage your PMS through plex.tv/web as well so you won’t have to access it via your NAS.

Well yes it was a shortcut to that page. Yes I don7t really need it.

Thanks so much for your help.

You’re welcome!

Since we managed to copy the metadata, could you please mark this thread as “Solved”? Don’t ask me how, but I think there should be an option to solve a post as the solution (which would be my first post).

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.