Plex Integration
These instructions assume you have a working Plex Media Server (PMS)
You will need to make sure you have your URL for your Plex Server. This can be in the form of an IP address or FQDN (DNS). To facilitate the integration, you will need to obtain your Plex authentication token (X-Plex-Token).
Obtain Your Plex Token
Unlike Emby and Jellyfin which use API keys generated from the dashboard, Plex uses an authentication token. There are several ways to find your Plex token:
Method 1: From Plex Web App (Recommended)
- Sign into the Plex Web App
- Browse to any item in your library and click the three-dot menu and select Get Info

- Click View XML at the bottom left of the window that appears

- In the new browser tab, look at the URL - your token is the value after
X-Plex-Token=

Method 2: From Plex Account Page
- Go to plex.tv/devices.xml while signed in
- Your token will be visible in the XML data as
token="YOUR_TOKEN_HERE"
Your Plex token grants full access to your server. Never share it publicly or commit it to version control.
🛠️ Configure the Integration
- In M3U-Editor expand the sidebar (left side), locate the integrations section and select Media Servers

-
Click Add Media Server
-
Fill in the details:
- Display Name: A friendly name for your server (e.g., "My Plex Server")
- Server Type: Select Plex from the dropdown
- Host / IP Address: Your Plex server address (e.g.,
192.168.1.100orplex.example.com) - Port: The default Plex port is
32400 - Use HTTPS: Enable if your server uses SSL/TLS
- API Key/Token: Paste your Plex token obtained above
-
Click Test Connection & Discover Libraries to verify the connection and discover available libraries
-
Select which libraries you want to import (Movies and/or TV Shows)
-
Click Create to save the integration
Your media server should now be displayed under the Media Servers integrations. The integration will automatically sync your Plex content based on your configured schedule.
What Gets Synced
When you sync your Plex server, M3U Editor imports:
- Movies: All movies from selected libraries, including metadata (title, year, genre, rating, overview, cast, poster art)
- TV Series: Complete series with seasons and episodes, including all associated metadata
- Artwork: Posters and backdrop images are proxied through M3U-Editor to protect your token
The sync process respects your library selection and genre handling settings. For large libraries, the initial sync may take several minutes.