2025-06-21, 09:37 AM
If path of the media are exactly the same you could try to sync the content of "/var/lib/jellyfin/data/playlists/" between the two istances.
The most easy way should be copy from istance A to istance B deleting istance B playlists.
For a more complex bidirectional sync maybe somenthing like "rclone bisync" could help.
First of all make backups of "/var/lib/jellyfin/data/playlists/" of both istances to not loose any playlist while you try.
Then just try to use scp to copy "/var/lib/jellyfin/data/playlists/" from istance A to B to see if the playlist still work. Keep in mind that each playlist include this line:
so I think the 2 istances of Jellfyn should have the same "UserId" (not only the username, but the same userID).
If the "UserId" for each username are different between the 2 istances you could use somenthing like sed (in linux) to find and replace the UserId before move from an istance to another.
The most easy way should be copy from istance A to istance B deleting istance B playlists.
For a more complex bidirectional sync maybe somenthing like "rclone bisync" could help.
First of all make backups of "/var/lib/jellyfin/data/playlists/" of both istances to not loose any playlist while you try.
Then just try to use scp to copy "/var/lib/jellyfin/data/playlists/" from istance A to B to see if the playlist still work. Keep in mind that each playlist include this line:
<OwnerUserId>[REDACTED USERID]</OwnerUserId>
so I think the 2 istances of Jellfyn should have the same "UserId" (not only the username, but the same userID).
If the "UserId" for each username are different between the 2 istances you could use somenthing like sed (in linux) to find and replace the UserId before move from an istance to another.