So I’ve got jellyfin all set up, but I’m having some issues with files downloading from qbittorrent and Knowing exactly how and when they get moved over, either the sonar or jellyfin repository, whichever is the final destination. This is important because my torrenting drive is separate from my media drive. I have noticed some shows and files staying on my torrenting drive while others go over to the media drive. And I’m and to figure out where the issue might be that’s causing this, I think I need a refresher on exactly how and when these files are supposed to be moved over. Since I can’t find any sort of documentation inside the apps.

Can anybody explain this to me like super simply? I just took an edible and it’s starting to kick in, but I still want to figure this out. Thanks y’all!

  • Evkob (they/them)@lemmy.ca
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    13 days ago

    I just took an edible and it’s starting to kick in, but I still want to figure this out.

    Getting stoned and getting the magic rocks in my homelab to do my bidding is one of my favourite ways to use up my time on this Earth.

    • Ushmel@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      9 days ago

      me too. one problem though. next time it break i cant remember how to fix it again.

  • Evotech@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    13 days ago

    Sonarr gets torrents and sends to qbittorrent, qbittorrent downloads the torrent and puts the downloaded file somewhere, sonarr then picks up that file and moves it to its final destination where jellyfin expects it

    It’s important to have seperate directories for unfinished torrent downloads and complete ones, and only have sonarr pick up from the completed one

        • lucid@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 days ago

          It basically creates a second pointer to the same inode which makes file moves instant. So instead of copying the data to a new location and deleting it from the old it points to the existing inode immediately. You can’t do it across filesystems though so that’s why trash guides recommends using /data/media/tv and /data/torrents instead of the /tv and /downloads paths the lsio setup suggests since docker treats top level folders as different file systems.

          It’s mostly useful for torrents in my experience when you need to reseed stuff but also don’t want to point Jellyfin/Plex to a live downloads directory for security reasons.

  • CapitalNumbers@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    13 days ago

    I’ve literally just set this all up and it’s working now after some tinkering, so here’s what I found out. Assuming you have correctly configured the sonarr/qbitorrent api keys and credentials:

    When you make a TV show request in Sonarr, it will automatically add the torrent to your download client (e.g qbitorrent)

    qbitorrent will then download the file to wherever you specify (e.g. /torrents/completed)

    periodically, Sonarr will scan that /torrents/completed folder, and if it finds the tagged TV show, it will either copy or hard link that video file to your specified media folder (e.g. /media/tv-shows)

    JellyFin will do the same, periodically scanning your media folders to see if there are any updates

    EDIT: also if you are using docker containers, make sure that Sonars native /downloads folder is pointed at the same external folder your qBitTorrent is downloading files in

    • doodledup@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      12 days ago

      I’m also trying to figure out a setup using Docker. What’s the recommended way of connecting the container to a VPN? Ideally I want to bind the qbittorrent container to a VPN while the rest of the machine is not connected to the VPN.

  • Deello@lemm.ee
    link
    fedilink
    English
    arrow-up
    1
    ·
    13 days ago

    You didn’t specify but this sounds like an issue where you are confusing sonarr and radarr where only one is configured “properly”.

  • ragebutt@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    1
    ·
    13 days ago

    Do you have sonarr set to copy or hard link on import

    Copy will fuck over your ability to seed, hard link will result in the files staying on your torrenting drive

  • lewdian69@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    13 days ago

    I believe it’s actual an interaction between Sonarr and qbittorrent and jellyfin isn’t involved. Qbittorrent should have a setting for share ratio of when it’s marked “complete”. Like 1:1 download vs upload ratio. Then in Sonarr under the qbittorrent download client you check the box for remove completed downloads from the client. So popular together will reach whatever ratio you have set right away and be removed but others will take a long time or never hit that ratio. Maybe, could have nothing to do with that and I have my concept wrong.