Code Monkey home page Code Monkey logo

Comments (7)

mdhiggins avatar mdhiggins commented on May 23, 2024 1

Would need a custom solution for something like that, nothing supported currently

from sonarr-sma.

lizardfish0 avatar lizardfish0 commented on May 23, 2024

Also worth adding that my qBittorrent is hosted on a remote server. From what I can tell, the download client scripts in the sickbeard_mp4_automator repo are specific to scenarios where the client is hosted on the same device that's running SMA.

from sonarr-sma.

lizardfish0 avatar lizardfish0 commented on May 23, 2024

Thinking out loud, is there a way to take advantage of the remote path mappings feature in sonarr/radarr? I use syncthing to mirror my qBit downloads back to my server (the one I'd like to do the transcoding on). Presumably, qBit is unaware of syncthing's existence and just fires back an API request to sonarr/radarr when it completes the download, which triggers sonarr/radarr to wait till the file appears in the folder you specify in the remote path mappings section.

Is there anything stopping you from giving a different path? I'm thinking:

  • I tell sonarr that /etc/downloads/completed on remote maps to /downloads/completed on my local.
  • In syncthing, I have it sync /etc/downloads/completed to /downloads/processing.
  • Some script (not sure how hard this would be to package into the container) that invokes something like manual.py to perform the conversion on this file, outputting it to /downloads/completed.
  • Sonarr picks up this file just like it would have picked it up from syncthing.

from sonarr-sma.

mdhiggins avatar mdhiggins commented on May 23, 2024

You have a few options here without needing to mess with path mapping

The easiest option for /dev/shm which I use on my own setup is to just use the output-directory option. All conversion and processing of temporary files will be done in that directory and then the final product moved to the final destination

As mentioned in #39, SMA also includes a whole host of scripts to run after the download client completes, so you have the option of running things after SAB/Deluge/etc finish downloading before Radarr/Sonarr are notified that the download is complete which depending on your configuration might be more opportune. The readme covers how to set up these scripts

from sonarr-sma.

lizardfish0 avatar lizardfish0 commented on May 23, 2024

Right, having qBittorrent trigger a script seems like the best option. However, I'm running qBittorent on a remote VPS and then syncing the files back to my machine running the sonarr-sma container. I may be misunderstanding, but this script seems specific cases where you want to transcode media on the same machine that runs qBittorrent.

from sonarr-sma.

mdhiggins avatar mdhiggins commented on May 23, 2024

Yeah in that case that's probably not what you're looking for. The output-directory option might be the way to go then

from sonarr-sma.

lizardfish0 avatar lizardfish0 commented on May 23, 2024

Is there any way to set up some monitored directory within the container? Could then utilize the move-to option to move the file to the directory that sonarr is monitoring.

from sonarr-sma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.