• 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 Off Topic General Discussion How to create a script that parse file name to add tags?

     
    • 0 Vote(s) - 0 Average

    How to create a script that parse file name to add tags?

    rdash
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    Country:France
    #1
    2024-01-26, 04:40 AM
    Hello,

    After a few days of struggle, I come for your help. I have a simple job to do: I'd like to be able to add tags to my medias in Jellyfin based on their filename. The idea would be to be able to filter by HDR/Dolby Vision/Dolby Atmos in the library.

    I have setup radarr to rename the file as I want, it gives something like:
    Code:
    Avengers Endgame (2019) [imdbid-tt4154796] - Imax [WEBDL-2160p][DV HDR10][TrueHD Atmos 7.1][HEVC]-SiC

    Parsing this filename, I would like to add the DV, HDR10 and Atmos tag in Jellyfin.

    I tried to create a script in Python, then bash but I'm not a developer at all and this task that looks easy drives me crazy. I can't find my way around the API.

    Do you have an example of a script that could do what I want?

    Best,
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-01-26, 06:27 PM
    The dev for Finamp wrote a blog post with some information that may be helpful to your effort.

    https://jmshrv.com/posts/jellyfin-api/
    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]
    bitmap
    Offline

    Community Moderator

    Posts: 766
    Threads: 9
    Joined: 2023 Jul
    Reputation: 24
    #3
    2024-05-28, 03:32 AM
    Holy hell do I want to do this for my anime (dual, jp-only, en-only, etc...). For some odd reason it's not a feature in the Servarr apps, which you could do almost any of the rest of this with.
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    « 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