• 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 Troubleshooting Media Scanning & Identification ignore prefix

     
    • 0 Vote(s) - 0 Average

    ignore prefix

    dacook
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2024 Mar
    Reputation: 0
    Country:Austria
    #1
    2024-03-14, 05:08 PM (This post was last modified: 2024-03-14, 05:09 PM by dacook. Edited 1 time in total.)
    Hi,
    I spent quite some time looking for a solution to have a prefix in the movie-directory-name, but havn´t found a solution yet.
    Would you please be so kind to assist?
    Is it possible to ignore a index-prefix (specified by a character, e.g. "_") in scraping?
     
    example 1 numeric index:
    Star.Trek.Collection
        01_Star.Trek.The.Motion.Picture.1979
            movie.mkv
            movie.nfo
        02_Star.Trek.The.Wrath.of.Khan.1982
            movie.mkv
            movie.nfo
        03_Star.Trek.The.Search.for.Spock.1984
            movie.mkv
            movie.nfo


    example 2 date index:
    Dustin.Hoffman.Collection
        1967_Die.Reifeprüfung
            movie.mkv
            movie.nfo
        1969_Asphalt.Cowboy
            movie.mkv
            movie.nfo
        1970_Little.Big.Man
            movie.mkv
            movie.nfo
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-03-14, 05:55 PM (This post was last modified: 2024-03-14, 05:56 PM by TheDreadPirate. Edited 1 time in total.)
    There is no way to ignore parts of a file name. What is the goal you are trying to achieve?
    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]
    dacook
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2024 Mar
    Reputation: 0
    Country:Austria
    #3
    2024-03-14, 06:36 PM (This post was last modified: 2024-03-14, 06:50 PM by dacook. Edited 8 times in total.)
    I want to have an index in my directory-name, so i can see it sorted in filemanger.
    But the index breaks the scraping and jellyfin doesnt find the movie

    in kodi there is "cleanstrings", but it only deletes stings to the right (e.g. resolution, codec, ...)
    https://kodi.wiki/view/Advancedsettings....eanstrings

    I would need to have a option (or config) to tell the scraper ignore everything to the left of eg. "_" and search then
    01_Star.Trek.The.Motion.Picture.1979  --> Star.Trek.The.Motion.Picture.1979

    I aslo tried to add it in system.xml , but it didn´t work:
    Quote:  <SortRemoveWords>
        <string>01_</string>
        <string>02_</string>
        <string>03_</string>
        <string>04_</string>
        <string>05_</string>
        <string>06_</string>
        <string>07_</string>
        <string>08_</string>
        <string>09_</string>
        <string>10_</string>
      </SortRemoveWords>
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-03-14, 06:54 PM
    I am not sure what that setting does. May only affect the sorting behavior in the UI. For example, Jellyfin currently ignores "The" at the beginning of names for sorting purposes. Almost certainly doesn't change how the scrapper behaves when it queries for metadata.

    Maybe this is just me, but I don't care how files/folders "look" or are sorted in the file system. Follow the docs for naming, make Jellyfin happy. Rarely interact with the files after that.
    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]
    dacook
    Offline

    Junior Member

    Posts: 6
    Threads: 2
    Joined: 2024 Mar
    Reputation: 0
    Country:Austria
    #5
    2024-03-14, 08:41 PM
    (2024-03-14, 06:54 PM)TheDreadPirate Wrote: Maybe this is just me, but I don't care how files/folders "look" or are sorted in the file system.  Follow the docs for naming, make Jellyfin happy.  Rarely interact with the files after that.

    Thanks for your input / thoughts.
    Maybe someone else can help me with the original question Winking-face
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-03-14, 08:54 PM
    The answer to the original question is that it isn't possible, as stated in my first response.
    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]
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #7
    2024-03-14, 09:02 PM
    Your other option is to use NFOs for metadata. I believe Sonarr can generate them and write them to disk? Same with Tiny Media Manager.
    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)


    • 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