• 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 Sorting by filename

     
    • 0 Vote(s) - 0 Average

    Sorting by filename

    ensuring chronological sorting of historical events in library
    hvb81479
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Apr
    Reputation: 0
    Country:Germany
    #1
    2025-04-16, 06:42 AM
    Hi everybody,

    I try to solve the following use case:
    • a "history" folder contains videos on - guess what - historical events
    • The videos are a mix of films, documentaries, news clippings etc, i.e. a wild representation of things
    • Index-pointing-up a key feature of this folder is the chronological order of these videos (as this helps to put the events in the historical context easily)
    • to achieve this that each video starts with a iso-date string, e.g. 20010911-9-11-inside-the-president-s-war-room   
    • Index-pointing-up keeping this file name logic is a prerequisite 
    • given the nature of the folder not all videos have metadata provided by tmdb.org so
    • however, it would be nice of course if Jellyfin grabs the metadata for those videos where available
    • this works all right just by adding [tmdbid-848981] to the end of the file name
    • unwantedly, now both the chronological order and the display of the filenames are lost (of course)
    • Index-pointing-up showing the filename on the Jellyfin pages (instead of the correct file name) and sorting the videos accordingly are also prerequisites
    • for that reason https://forum.jellyfin.org/t-use-file-na...light=sort does not solve the use case
    • additionally, the solution has to be has to be fully automatized without any manual work needed

    How can this use case been realized in Jellyfin, i.e. 
    • keeping the structure of the filename (iso-date string - filename - tmdbid)
    • displaying and sorting the videos by the filenames
    • and still grabbing the metadata

    If this use case cannot be resolved with the already existing functionalities - would be great if feasible and thank you for advising - a new feature would be great: a checkbox "always use filename for sorting and display" (and override metadata). This option should be available per library

    Thank you for getting your head into this and looking forward
    Hans
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-04-16, 12:13 PM (This post was last modified: 2025-04-16, 12:13 PM by TheDreadPirate.)
    Have you tried a Music Video library? It is, essentially, a folder/file view and should display folder/file names or embedded titles in the file, depending on the library settings. Since the names listed are the file names, any "name" sorting would be sorting by file name.
    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]
    hvb81479
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Apr
    Reputation: 0
    Country:Germany
    #3
    2025-04-16, 01:14 PM
    Hi,
    thank you for getting into this.

    yes, you are right. Listing is by custom file names. So far so good.
    However, now the tmdbid's are ignored so that no metadata is pulled.

    How can I keep the listing by filename but videos enriched by metadata via the tmdbid?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2025-04-16, 02:28 PM
    This is a tough one.

    You could try putting it back into a shows/movies/mixed library and enable NFO saver and save images with your media. That will write the metadata to files that the music video library could then read.

    But you cannot have the same folder in two libraries so you would have to add it to a library that pulls TMDB metadata, then move it back to the Music Videos library once it is done writing metadata to disk.
    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]
    hvb81479
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Apr
    Reputation: 0
    Country:Germany
    #5
    2025-04-19, 09:47 PM
    Hi,
    I like your creativity to get to the solution :-) Thank you for this.
    Is this here a good place to trigger new features or where would you point me to to raise a new feature request?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2025-04-20, 01:17 AM (This post was last modified: 2025-04-20, 01:18 AM by TheDreadPirate. Edited 1 time in total.)
    We have a feature request page.

    https://features.jellyfin.org/

    Please search for an existing feature request that matches yours. Submit a new request if one doesn't already exist.
    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]
    hvb81479
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2025 Apr
    Reputation: 0
    Country:Germany
    #7
    10 hours ago
    @TheDreadPilot,
    thanks for helping. I'll have a look.
    « 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