I know jellyfin has a specific naming convention for it to populate the metadata for erm linux ISOs (eg https://jellyfin.org/docs/general/server/media/shows/ and https://jellyfin.org/docs/general/server/media/movies) .

So what I plan to do is have a staging folder for the raw downloads and prod folder where it’s just a relative path symlinks to the raw data following the naming conventions.

But this would be too much toil so I would like to ask how are you automating it? Off the top of my head, I would have an LLM generate an adhoc script to do ln -s periodically but I really don’t want to do that.

  • nanosnack@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    4
    ·
    8 hours ago

    I built a tool specifically for this:

    https://github.com/nanosnack/WanShiTong

    It does not rely on any knowledge of your torrents. It uses a large variety of heuristics to match your files to TMDB records, then creates a directory of symlinks named appropriately for Jellyfin or Plex. It never touches your source files.

    • Brave Little Hitachi Wand@feddit.uk
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 hours ago

      Dang, I really could use a tool like this but I’m such a commandline noob I can’t quite figure out how to make it go. Honestly it’s a wonder I even got jellyfin working, times like this I realise how badly I’ve been faking it

      • ettu@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        34 minutes ago

        Just give Claude an SSH key for the server and it’ll do everything for you in a few minutes.

        I was dreading redoing a media server I set up in 2021 which needed a lot of work. But that’s only a few minutes for AI.

        Just doing it now, and it’s set up and configured all of this stuff, into a docker container: sonarr, radarr, prowlarr, sabnzbd, recyclarr, seerr and Plex (I have a lifetime account but I may just make my own web front-end for the server instead).

  • ComradeMiao@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    7 hours ago

    I throw movies and shows in their respective folders and it picks up every automatically. Never had an issue ever.

  • johnydoe666@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    3
    ·
    9 hours ago

    Honestly, this is why I’ve been so reluctant to move over from Plex. I used to not have to do anything, keep all downloads unorganized in a folder, and Plex figured it out perfectly. Jellyfin not so much. Especially different shows in the same folder trip it up enormously. I’ve been using a jellyfin plugin for automanaging, but the results are not great.

  • paris@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    7
    ·
    13 hours ago

    Sonarr and Radarr handle hardlinking the files from qBittorrent downloads to the organized directory with the correct name and tree structure.

  • one_knight_scripting@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    14 hours ago

    Sonarr and radar organize the library for me. It hard links the files when they download completes. This is perhaps a little odd, and only works if your deluge container lives on the same file system.

    But what it means is that it’s creates a file which points to literally the same physical contents of the hard drive. This means you don’t take up any extra space and, unlike a symbolic link, you can deleted everything in your completed folder.

  • frongt@lemmy.zip
    link
    fedilink
    English
    arrow-up
    47
    arrow-down
    1
    ·
    1 day ago

    Radarr and Sonarr do it for me. I haven’t had to manually organize a file in years.

      • Postmortal_Pop@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        arrow-down
        1
        ·
        1 day ago

        Please tell me profilarr has a more human friendly system than the other two! The arr stack is like my own personal hell, a thing that checks every single box for what I want and somehow managed to be just out of my grasp at all times.

        • tordenflesk@lemmy.world
          link
          fedilink
          English
          arrow-up
          8
          ·
          24 hours ago

          It helps you set up things like Quality Profiles, Custom Formats, Media Management etc. for both but nowhere close to 100% automatic.

          • Postmortal_Pop@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            ·
            21 hours ago

            Honestly, I don’t even care about 100% auto, I actually like curating things, it makes me happy. What I want is a button that imports media and a button that does the move and rename. Instead of libraries > import > select folder > select media > import button. Home page > toggle multi select > toggle sort by recently added > select imported media > edit media > move and rename > are you sure? This will move your media! Ok.

            I don’t need it to monitor my media because most of my media is from a dvds that I scan and I can’t get qbit to run through mullvad. I really just don’t want to type out all the names annually.

            • the_artic_one@piefed.social
              link
              fedilink
              English
              arrow-up
              6
              ·
              21 hours ago

              Instead of libraries > import > select folder > select media > import button. Home page > toggle multi select > toggle sort by recently added > select imported media > edit media > move and rename > are you sure? This will move your media! Ok.

              Put media you want to import into an import folder instead of putting it in your library and use add new to get the arr to monitor it. Then you can do wanted > manual import > select folder > move automatically or interactive import and the arrs will rename and move everything into your library folder in a single step.

              Library import is for adding already-organized files to the arrs so it assumes that you want to keep them as-is. It would be nice if they had an optional “rename and organize” checkbox in the workflow though.

  • Ferrous@lemmy.ml
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    22 hours ago

    Arr stack for naming conventions and atomic moves, folder structure following tra$h guides. These together make for a very easy handoff to jellyfin, and never leaves jellyfin confused.

    • roofuskit@lemmy.world
      link
      fedilink
      English
      arrow-up
      14
      ·
      22 hours ago

      You’re inexperienced, not an idiot. Time + effort and you won’t be inexperienced anymore. If you were an idiot you would be convinced you have nothing left to learn. Those are the only stupid people in the world.

    • FukOui@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      17 hours ago

      Just go for the Docker compose. You just need basic Docker and container knowledge.

    • Onomatopoeia@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      19 hours ago

      What’s giving you trouble? Maybe make a post with that as the subject in a Jellyfin community.

      It’s pretty basic, once you get the paradigm. That’s my biggest beef with a lot of software - they don’t explain the paradigm in docs, and just jump right into how to do specific things. A paragraph explaining the high-level view of the software would go a long way.

      In the case of Jellyfin, you create Libraries on the server, those Libraries scan system folders you specify for inclusion in that library. Then when a Jellyfin client connects, those libraries are presented to the user. I have Libraries for Movies, TV Shows, History, Exercise, Math & Science, Finance, etc. I have the videos in different folders on my system.

    • Doomsider@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      23 hours ago

      It was fairly easy to be honest. I had used Plex for a long time but made the switch. I was pleasantly surprised that Jellyfin was better in a lot of ways.

      One thing that hung me up was how it expects TV/Shows to be organized. Basically series go in a folder by their name and each season goes into separate subfolders like season 1, 2, 3, etc.

      I used Filebot to fix all the episodes names. I have not set up a way to access remotely yet, but locally it is rock solid and better than Plex ever was. It even allows me to easily age restrict an account so the kids in the living room only see kid appropriate shows.

      One other thing, not all TV operating systems have the Jellyfin client available for download. I had to buy a couple cheap Android TV boxes because Roku/Vizio don’t have the app available.

  • Lumidaub@feddit.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    21 hours ago

    Good lord, everything here went so far over my head. I use TinyMediaManager to rename my files so that Jellyfin can recognise them. That’s it.

  • cartridgedream@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    18 hours ago

    At this moment I manually run a bash script to put things in the right order and rename the subtitles in the right way. 😅

  • nymnympseudonym@piefed.social
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    1 day ago

    I make heavy use of .nfo files so the filenames mean very little. I have a video conversion script that populates the file with whatever metadata I can get from the source

  • Maerman@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 day ago

    Honestly, Jellyfin has been very good at recognizing my media on its own. I haven’t felt the need to do anything. That said, I do exclusively use private trackers, which tend to have guidelines and expectations for metadata in their uploads. So that’s probably a factor as well. All I know for sure is that my organizing issues have been functionally zero.

  • LewdLemon@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 day ago

    Title (Year) have been enough for 97% of my files. Another 2% could be dealt with by adding [imdbid-txxxxx] to the filename and using proper folder organisation. The remaining 1% got .nfo files from me, particularly to add age registriction information on some stubborn files for my underage viewer accounts.

  • lemmyvore@feddit.nl
    link
    fedilink
    English
    arrow-up
    2
    ·
    22 hours ago

    Most stuff comes with S02E03-style stuff in the file names, and Jellyfin can also recognize variations like 203 and 2x03 so you don’t actually have much to do.

    The thing that trips me once in a while is single-season shows that don’t have the episodes in a “Season 1” subfolder. That tends to confuse it and it will leave the folder as a folder in Jellyfin, instead of attempting to identify the series and show it as a title.

    Once in a blue moon Jellyfin will fail to recognize a movie, or identify it as the wrong one (same title, different years) but that’s easily fixed from the three-dots menu -> Identify.

    Occasionally there’s some more stubborn stuff like multi-versions or anime titles but it’s extremely rare.

    It also works fairly well with Youtube rips, concerts etc.

    What I’m trying to say is that you don’t actually need a lot of automation. You can even point Jellyfin at the completed folder and let it rip.

    The main reason people use *arr organizers is mostly to split movies from shows, or if they want to move the files to another folder.

    Speaking of moving, some torrent apps like Deluge will happily follow symlinks, but some won’t, which complicates things. The *arr’s will do hardlinks if you want but that only works within the same filesystem.

    • Onomatopoeia@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      20 hours ago

      I’ve had Jellyfin misidentify too much stuff, and I meticulously name folders and files.

      Too often it will just ignore the IMDB I’d I give it (included in the folder structure according to docs), and replace it with something else!

      Wish I could tell Jellyfin that I have no anime whatsoever, and nothing Korean. It really likes those two categories.

      • lemmyvore@feddit.nl
        link
        fedilink
        English
        arrow-up
        2
        ·
        19 hours ago

        Are the metadata sources configured properly for each library? It helps a lot to reduce its confusion if you make a library only for movies and set movie sources, and make a separate library for series and set series sources there.

        Also, the order of the sources can also help, and if the movies/series are in a different language it can help to set that as the library’s primary language (preferred download language and country/region settings).

        For anime you can mix movies and series in the same library because the metadata sources are typically the same for both.

        Wish I could tell Jellyfin that I have no anime whatsoever, and nothing Korean. It really likes those two categories.

        It sounds like you might have sources for anime and/or Korean metadata enabled in libraries that don’t have that kind of content. If so, uncheck them.

        You can also disable the plugins for anime metadata altogether if you don’t have any. AniDB, AniList and Kitsu are some of them.

  • strakitar@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 day ago

    Hi OP,

    I have a staging folder, like you described. I wrote a simple Python script using regex which takes a folder path and a basename to auto-rename episodes within subfolders based on season and episode clues in the raw filenames. Not really necessary for movies, those are a one and done.