• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions Syncing Playlists Between Two Jellyfin Instances

     
    • 0 Vote(s) - 0 Average

    Syncing Playlists Between Two Jellyfin Instances

    jkt97
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2025 Jun
    Reputation: 0
    #1
    2025-06-20, 11:14 AM
    Hi everyone,

    I’m running two Jellyfin servers in different geographic locations. Both have the hostname jellyfin hardcoded via their local DNS, and both use the same media path on their servers (/media/videos/). The media folder is an SMB mount, and its contents are rsynced regularly between the two locations — so effectively, the media libraries are identical.

    I’m using Infuse to stream content via Jellyfin in both locations. Because Infuse connects to http://jellyfin:8096/, and the hostname resolves locally, it works seamlessly in either place.

    One Jellyfin instance runs in Docker, while the other is installed natively on a Mac (x86).

    Now here’s the issue: Jellyfin stores playlists (and probably other metadata) locally. So when I’m in Location A, I can only see playlists created on that Jellyfin instance. When I switch to Location B, those playlists are gone — as expected, since they’re stored independently on each server.

    Unfortunately, Infuse does not support managing playlists or collections when using Jellyfin as a backend. If it did, the problem wouldn’t exist, because Infuse could then sync those via iCloud across devices and locations.

    So my question is:
    Is there a way to sync playlists (and maybe collections) between two Jellyfin instances?
    I’m fine with it being a one-way sync, or something I have to trigger manually (e.g., when traveling between the locations).

    Has anyone done something similar, or can point me in the right direction?

    Thanks!
    I-G-1-1
    Offline

    Junior Member

    Posts: 21
    Threads: 2
    Joined: 2023 Jun
    Reputation: 0
    #2
    Yesterday, 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:


    <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.
    KodiUser1138
    Offline

    Member

    Posts: 281
    Threads: 33
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #3
    Yesterday, 01:14 PM
    Do playlists require the file path as well, like collections? I still don't understand this function. Kodi is able to generate lists from all sorts of parameters. Not being able to implement just library name/title and/or item tags, personal info pull etc seems counter to all the function JEllyfin does have. My lists in Kodi are awesome and most require no additional work when adding or changing media. Just upgrated several movies to Atmos audio and now need to find every instance in collections they are and re-add them. Can't even manually edit the XML in the collections directory to re-scan anymore. Frustrating. And then I can't easily share across to my friend's server, which seems to further restrict rather than expand useability. One of my biggest peeves about JF and on my signature wishlist.
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    I-G-1-1
    Offline

    Junior Member

    Posts: 21
    Threads: 2
    Joined: 2023 Jun
    Reputation: 0
    #4
    Yesterday, 02:09 PM
    if you open any jellyfin .xml file of a playlist you can find inside this for each track:

        <PlaylistItem>
          <Path>/path/to/your/audio/file/file.mp3</Path>
        </PlaylistItem>

    So if you change the path your playlist become non-functional. 
    At least you can easily find and replace the old path with the new path and recover the playlist.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode