• 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 Plugin Development Manually create library with a script?

     
    • 0 Vote(s) - 0 Average

    Manually create library with a script?

    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,203
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #6
    2024-07-06, 12:52 PM
    It's possible to do what you want, but it will be quite a lot of work. You'll basically be replacing Jellyfin's own scanner and replacing it with your own. As long as you insert your data into the database correctly, they should appear in the server without any scan. But do note that any scan of that library at all will break things.

    From speaking with a team member, different types of media each have a class that can be saved into the database. You should look at those class files to figure out how to make your external metadata into a new instance and insert it into the database. The team member also points out that "most of them inherit the 'LibraryItem' Class".

    I myself am not much help here, so you'll have to wait for others knowledgeable enough in this subject to help you.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Manually create library with a script? - by z33d - 2024-07-05, 03:52 PM
    RE: Manually create library with a script? - by Efficient_Good_5784 - 2024-07-05, 04:20 PM
    RE: Manually create library with a script? - by z33d - 2024-07-05, 09:03 PM
    RE: Manually create library with a script? - by Efficient_Good_5784 - 2024-07-05, 11:31 PM
    RE: Manually create library with a script? - by z33d - 2024-07-06, 11:01 AM
    RE: Manually create library with a script? - by Efficient_Good_5784 - 2024-07-06, 12:52 PM
    RE: Manually create library with a script? - by z33d - 2024-07-06, 04:16 PM
    RE: Manually create library with a script? - by mcarlton00 - 2024-07-06, 07:55 PM
    RE: Manually create library with a script? - by I-G-1-1 - 2024-07-20, 04:45 PM
    RE: Manually create library with a script? - by z33d - 2024-07-22, 02:28 PM
    RE: Manually create library with a script? - by I-G-1-1 - 2024-07-22, 03:29 PM

    • 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