• 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 Development Feature Requests Collections Based on Metadata Matching

     
    • 0 Vote(s) - 0 Average

    Collections Based on Metadata Matching

    Discussing possible path to existing FIDER (2023)
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-04-03, 03:16 PM
    Regarding your collections being deleted, there is a Scheduled task that cleans up playlists and collections ON STARTUP when the associated media is not present.  You can disable this task.

    Dashboard > Scheduled Tasks > Cleanup playlists and collections.  Click on it and delete the startup trigger.  Now Jellyfin SHOULDN'T remove collections or entries in collections automatically.

    Jellyfin does create XMLs with the contents of your collections.  If you have a backup of the XML, you would simply need to restore the collection's folder(s), scan all libraries, and it will recreate the collections.  Including tags and whatnot.

    Code:
    <Item>
      <CollectionItems>
        <CollectionItem>
          <Path>/media/library/Movies/Batman Begins (2005) [tmdbid-272]/Batman Begins (2005) [tmdbid-272].mkv</Path>
        </CollectionItem>
        <CollectionItem>
          <Path>/media/library/Movies/The Dark Knight (2008) [tmdbid-155]/The Dark Knight (2008) [tmdbid-155].mkv</Path>
        </CollectionItem>
        <CollectionItem>
          <Path>/media/library/Movies/The Dark Knight Rises (2012) [tmdbid-49026]/The Dark Knight Rises (2012) [tmdbid-49026].mkv</Path>
        </CollectionItem>
      </CollectionItems>
    </Item>

    For docker, go to where you've mounted /config:
    /config/data/collections

    For baremetal Linux:
    /var/lib/jellyfin/data/collections

    If you're using MacOS on your mini, I don't know where the exact location would be.  But the collections folder would be in the same directory as the two Jellyfin database files.

    Regarding the feature request at the end of your post.  I can't find anything about NFOs being used to define the contents of a collection, like we already do in XML format.  Only that there are tags you can add to movie NFOs to specify a collection they belong in.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Collections Based on Metadata Matching - by vollink - 2025-04-03, 02:44 AM
    RE: Collections Based on Metadata Matching - by TheDreadPirate - 2025-04-03, 03:16 PM
    RE: Collections Based on Metadata Matching - by KodiUser1138 - 2025-04-04, 12:15 AM
    RE: Collections Based on Metadata Matching - by TheDreadPirate - 2025-04-04, 12:48 PM
    RE: Collections Based on Metadata Matching - by KodiUser1138 - 2025-04-04, 11:55 PM
    RE: Collections Based on Metadata Matching - by KodiUser1138 - 2025-04-17, 02:52 AM

    • 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