Move from another server
Coming from Plex, Emby or Jellyfin, you lose nothing. One step of the setup brings your people and everything they watched. Leyla only reads the old server, which keeps running until you turn it off yourself, and Leyla can keep reading it while you try both.
What comes across
| What | How it arrives |
|---|---|
| People | Every account. Emby and Jellyfin passwords work as they are. Plex people get a link to choose a password, because Plex signs in at plex.tv. |
| Libraries | One for each film or TV library, pointed at the same folders. |
| Watch history | What each person watched, and where they stopped, into their own account. Where the old server and Leyla disagree, the person’s rule decides (see Trying both). |
| Favourites | Each person’s own. |
| Playlists | In order, across libraries. |
Not copied Posters and details are fetched fresh by Leyla’s plugins. Music and photo libraries stay behind.
Bring it over
-
Mount the old server’s config, read-only
Add one line under
volumesin the compose file, for the server you are coming from:- "/path/to/Plex Media Server:/import/plex:ro" # Plex: the folder named Plex Media Server, or a linuxserver/plex config volume - /path/to/emby/config:/import/emby:ro # Emby - /path/to/jellyfin/config:/import/jellyfin:ro # Jellyfin: the config folder holding data/ -
Mount your media under
/mediaThe paths need not match the old server’s. Each library is matched by one of its files, so the old
/data/tvlines up with/media/tvon its own. -
Answer “Coming from another server?”
This screen of the setup lists what it found and what the button will bring. If a mount is missing, it shows the exact line to add. If two servers are mounted, it asks which one.
-
Let the libraries scan
History, favourites and playlists attach as each title is recognised. People can sign in and watch meanwhile.
See it before it happens
In Administration › Library › Bring a server over, Preview reads the old server and shows each person’s Leyla as it will be the moment you apply. Nothing is written until you do.
- Everyone
- Every show your household watches, with a row of episodes for each person: what they finished and where they are. Two people on the same show keep two places.
- One person
- Their Continue watching as it will look: the picture, how far they got and how much is left, and their shows season by season.
- Every place
- The full list, searchable, filtered by what comes over, what Leyla keeps and what was removed in Leyla.
- Not linked yet
- People the old server has and Leyla does not appear too, showing what their new account gets once the account step makes or links it.
Trying both
You can watch on the old server and on Leyla in the same week. When both have a place for the same person and the same episode, each person has a rule for which one wins:
| Rule | Which place stays |
|---|---|
| Most recent | The one played last. This is where everyone starts. |
| Furthest along | The one further into the episode or film. Finished counts as furthest. |
| Old server | The old server’s, always. |
| Keep Leyla’s | Leyla’s own, wherever it has one. |
The preview redraws as you change someone’s rule. A card where the two disagree shows both places; tap one to decide that title alone.
- Nothing new, nothing changes
- A rule only applies to what changed on the old server since Leyla last read it. If someone moved on in Leyla and the old server has nothing new, Leyla’s place stays, whatever the rule.
- Finished stays finished
- An import never marks something unwatched. A rewatch on the old server moves the place to resume, and the title stays watched.
- Removed stays removed
- Something an earlier import brought and you removed in Leyla is not brought back.
Keep in step
Beside Apply import is a switch, on by default: Keep in step. While it is on, Leyla reads the old server again every five minutes, read-only, and brings over what anyone watched there, by each person’s rule. Watch an episode on the old app tonight and Leyla offers to resume it tomorrow.
Each time, Leyla first looks at the size and time of the old server’s database files. If they have not changed, it reads nothing. Under the import, Kept in step shows what it reads, the last change it brought over and when it last looked, with a switch to stop. Turn it off once you have moved for good.
Good to know
- Plex is busy
- Plex locks its database while it runs. If Leyla cannot read it, stop Plex for a minute and try again.
- Running it again
- It is safe, any time. Nothing is imported twice, people stay linked, and each person’s rule decides as above.
- After the setup
- Administration › Library › Bring a server over does the same later, with a preview first. It finds a mounted server by itself and fills in its paths.
- The old server
- Leyla never writes to it. Keep it running beside Leyla for as long as you like, and keep the two in step meanwhile.
Something missing or wrong here? Tell us.