• 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 Relying on MKV metadata for TV episodes

     
    • 0 Vote(s) - 0 Average

    Relying on MKV metadata for TV episodes

    sfdkjghsj
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    #1
    2024-02-26, 07:33 PM
    I have a large collection of TV shows and episodes, all in .mkv files. They are not named to conform to Jellyfin's naming format for seasons and episodes, and renaming them is not an option. Jellyfin doesn't seem to support custom name regexs like Kodi. It does however have two options that should help: for a library, I can enable "Prefer embedded titles over filenames" and "Prefer embedded episode information over filenames."

    Therefore, I want to embed that metadata into my .mkv files directly. I can script this with mkvpropedit, but I can't find out what metadata keys and values I should be using that are used by Jellyfin. I am assuming that I can set the metadata in the .mkv container and tell Jellyfin to rescan the directory--or just recreate the library--and Jellyfin will automatically detect the season, episode name, and episode number of all my .mkv episodes. This also means I don't need to rename files, and to emphasize: renaming my files is not an option.

    Given a sample .mkv filename of "test.mkv", how can I use mkvpropedit to set properties on the file to be, for example, season 1, episode 2, and an episode name of "Test Episode?"

    Thanks.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-02-26, 07:40 PM
    You could use a library type like Music Videos that doesn't scrape for online metadata.
    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]
    sfdkjghsj
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    #3
    2024-02-26, 11:29 PM
    That may work, but I'm hoping to have the best of both worlds: keep my file name structure while still having Jellyfin pull the media info from TheTVDB or an equivalent source. I just want to tell it "this file is for season 1, episode 2." Is what I'm describing possible? Or maybe I'm misinterpreting those two settings about embedded metadata?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-02-27, 12:37 AM
    I think it is an either/or situation. It can't pull metadata if the file folder names don't conform to our documentation (to generate the query for TMDB/TVDB).
    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]
    sfdkjghsj
    Offline

    Junior Member

    Posts: 3
    Threads: 1
    Joined: 2024 Feb
    Reputation: 0
    #5
    2024-03-06, 07:00 PM
    Unfortunate.

    As an alternative, has anybody tried to use the Jellyfin API to do this? The API looks comprehensive but I'm struggling to see where I can start. I'm confident I could build a regex to get the relevant information from my filenames, and if I can figure out how the API works, I can then just tell Jellyfin "this file is for this episode" directly without renaming anything. My library is pretty static, so I wouldn't need to run a script like that very often.
    « 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