Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Selfhosted
  3. Someone help me understand the sonarr to jellyfin workflow

Someone help me understand the sonarr to jellyfin workflow

Scheduled Pinned Locked Moved Selfhosted
selfhosted
38 Posts 29 Posters 342 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E [email protected]

    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

    E This user is from outside of this forum
    E This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #21

    And it's good to use hard links.

    wrrzag@lemmy.mlW T 2 Replies Last reply
    0
    • S [email protected]

      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!

      ? Offline
      ? Offline
      Guest
      wrote on last edited by
      #22

      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

      P D sexualpolytope@lemmy.sdf.orgS 3 Replies Last reply
      0
      • S [email protected]

        Uh oh, if that's the case I'm in trouble, see, I have a blanket "72 hours" seeding ratio set up in qbit, specifically for a private tracker I'm using, but the shows I download don't necessarily need that requirement.

        I may have to find a way to only send seeding goals for specific torrents if seeding is causing it to not be transferred over

        C This user is from outside of this forum
        C This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #23

        You can set individual seed time/ratios in the indexer settings for each tracker in sonarr and radarr.

        1 Reply Last reply
        0
        • S [email protected]

          You're right, radarr is the one that handles moving stuff around isn't it? Tbh I've got massive add so I get super into these projects and the setup, but when it comes to maintaining, I've completely forgotten how everything works.

          Would you happen to know how I can fix this through radarr?

          C This user is from outside of this forum
          C This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #24

          You would need to post your config.

          First guess is read/write access. Either sonarr can't read the download directory, or it can't write to the media directory.

          1 Reply Last reply
          0
          • S [email protected]

            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@lemmy.caE This user is from outside of this forum
            evkob@lemmy.caE This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #25

            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 one of my favourite ways to use up my time on this Earth.

            U 1 Reply Last reply
            0
            • ? Guest

              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

              P This user is from outside of this forum
              P This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #26

              Also of note - if you're using docker (and Linux), make sure the user is/group id match across everything to eliminate any permissions issues.

              1 Reply Last reply
              0
              • ? Guest

                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

                D This user is from outside of this forum
                D This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #27

                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.

                S ? 2 Replies Last reply
                0
                • S [email protected]

                  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!

                  J This user is from outside of this forum
                  J This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #28

                  I followed this https://trash-guides.info/

                  Helped a ton, go with atomic move if all possible

                  1 Reply Last reply
                  0
                  • D [email protected]

                    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.

                    S This user is from outside of this forum
                    S This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #29

                    I use Glutun for this

                    1 Reply Last reply
                    0
                    • D [email protected]

                      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.

                      ? Offline
                      ? Offline
                      Guest
                      wrote on last edited by
                      #30

                      literally was going through the exact same thoughts as you a couple a weeks ago, tried so many different configurations but the one i found that worked was actually kinda simple

                      basically they way i did was to run a gluetun docker container, and then in the environment variables pass in the the fact i wanted this to use the WireGuard VPN manager, and then i passed in my Proton VPN wireguard api key (you’ll need a subscription for this)

                      then once that gluetun container is up and running, you literally just add “network_mode: service:gluetun” to any other containers that you want to use this VPN

                      can you can even test its working by sending a curl command to an ip checking site from within those containers connected to gluetun

                      1 Reply Last reply
                      0
                      • ? Guest

                        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

                        sexualpolytope@lemmy.sdf.orgS This user is from outside of this forum
                        sexualpolytope@lemmy.sdf.orgS This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #31

                        I think Sonarr uses qBittorrent's (or other supported torrent) API for checking the progress, instead of periodic scans. Everything else is solid.

                        1 Reply Last reply
                        0
                        • E [email protected]

                          And it's good to use hard links.

                          wrrzag@lemmy.mlW This user is from outside of this forum
                          wrrzag@lemmy.mlW This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #32

                          Op cant because he's using 2 different filesystems

                          1 Reply Last reply
                          0
                          • E [email protected]

                            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

                            I This user is from outside of this forum
                            I This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #33

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

                            Back when I used Torrents instead of Usenet for sonarr, I had only the one folder, since Plex would generally pick up the library changes automatically anyway. I'd assume that Jellyfin is similar, although I don't use it enough to know for sure. These days I use only Usenet for sonarr/radarr since I'm paying for Usenet and it's excellent for automation/new content, and SABnzbd provides both incomplete and complete folders by default anyway.

                            E 1 Reply Last reply
                            0
                            • I [email protected]

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

                              Back when I used Torrents instead of Usenet for sonarr, I had only the one folder, since Plex would generally pick up the library changes automatically anyway. I'd assume that Jellyfin is similar, although I don't use it enough to know for sure. These days I use only Usenet for sonarr/radarr since I'm paying for Usenet and it's excellent for automation/new content, and SABnzbd provides both incomplete and complete folders by default anyway.

                              E This user is from outside of this forum
                              E This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #34

                              I also only use Usenet, so yeah, might not be the case for torrents

                              1 Reply Last reply
                              0
                              • E [email protected]

                                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

                                G This user is from outside of this forum
                                G This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #35

                                you can use the same folder for unfinished downloads. I personally use a symlink as jellyfin won't pickup partial files

                                1 Reply Last reply
                                0
                                • evkob@lemmy.caE [email protected]

                                  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 one of my favourite ways to use up my time on this Earth.

                                  U This user is from outside of this forum
                                  U This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #36

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

                                  1 Reply Last reply
                                  0
                                  • E [email protected]

                                    And it's good to use hard links.

                                    T This user is from outside of this forum
                                    T This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #37

                                    Can someone explain why, and what to use them for?

                                    lucid@lemmy.dbzer0.comL 1 Reply Last reply
                                    0
                                    • T [email protected]

                                      Can someone explain why, and what to use them for?

                                      lucid@lemmy.dbzer0.comL This user is from outside of this forum
                                      lucid@lemmy.dbzer0.comL This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #38

                                      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.

                                      1 Reply Last reply
                                      0
                                      • System shared this topic on
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      • Login

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • World
                                      • Users
                                      • Groups