From their website:
With our free app you can add, access, and share all the entertainment that matters to you, on almost any deviceâincluding your own personal media collection. Guess that makes us the hardest working app in show business.
In YAMS, Plex is going to be your streaming service powerhouse! đ Itâs like having your own Netflix, but with way more control. Plus, sharing with friends and family is super easy!
Note: Be warned that Plex has recently put its most basic features behind a monthly subscription or a single lifetime purchase.
Before we dive in, we need to do a bit of setup magic to let Plex work its charms. First, stop YAMS:
$ yams stop
Now, letâs allow your IP range to access Plex. Head to your Plex config folder (Iâm assuming your install location is /opt/yams
- adjust if you used a different path):
$ cd /opt/yams/config/plex/Library/Application\ Support/Plex\ Media\ Server/
Inside that folder, we need to edit Preferences.xml
:
$ vim Preferences.xml
(Donât worry if youâre not a vim fan - nano
works just fine too! đ)
Add this line right after the <Preferences
part:
<Preferences allowedNetworks="<your_subnet_IP>/255.255.255.0" ...
The ...
means âleave the rest of the file as isâ - weâre just adding the allowedNetworks
bit.
It usually follows these patterns:
192.168.0.100
, your subnet is 192.168.0.0
10.0.0.25
, your subnet is 10.0.0.0
Time to restart YAMS:
$ yams restart
Letâs check if everythingâs working:
$ docker logs plex
If you see something like:
Failed to load preferences at /config/Library/Application Support/Plex Media Server/Preferences.xml
Failed to load preferences at /config/Library/Application Support/Plex Media Server/Preferences.xml
It means your Preferences.xml
needs some fixing - double-check the format and try again!
Note: Want to learn more about this setup? Check out this TrueNAS community thread.
In your browser, go to http://{your-ip-address}:32400/web and youâll see Plexâs setup page. Click âGot it!â to get started.
Important Note: Unlike other YAMS services, Plex requires the â/webâ path after the port number. If you just go to port 32400 without â/webâ, youâll see an XML file instead of the web interface.
After logging in, youâll see a âPlex Passâ modal. You can close that for now - weâll get to the good stuff!
Give your server a name and click âNextâ.
For âSync Your Watch State and Ratingsâ, just click âNoâ - keeping things simple!
Time to add our media! Click âAdd Libraryâ on the âMedia Libraryâ screen.
Pick âMoviesâ as your library type and click âNextâ.
Click âBrowse For Media Folderâ.
Choose the movies path (/data/movies
) and click âAddâ.
Your screen should look like this. Click âAdd Libraryâ to finish up!
Back in âMedia Libraryâ, click âAdd Libraryâ again.
This time pick âTV Showsâ and click âNextâ.
Click âBrowse For Media Folderâ again.
Choose the TV Shows path (/data/tvshows
) and click âAddâ.
Looking good? Click âAdd Libraryâ!
Your âMedia Libraryâ screen should now show both libraries. Click âNextâ to continue.
Almost there! Click âDoneâ on the finish screen.
Welcome to your Plex dashboard! đ Click on âMoreâ in the left side panel.
There they are - your local âMoviesâ and âTV Showsâ libraries!
YAMS is fully up and running! Ready to add some content? Head over to Running everything together!
If you want to really dive into what Plex can do, check out the TRaSH Guide for Plex. Theyâve got some amazing advanced configurations in there!