Giter Club home page Giter Club logo

Comments (1)

okok7711 avatar okok7711 commented on July 22, 2024

This is pretty much a duplicate of #143, until there's an option for customizing filenames, there's not much that you can do

Directly integrating animdl (or anything for that matter) with Sonarr is pretty hard. I recently made a custom Indexer/Downloader combo that takes its releases from animetosho and uses DDL instead of Torrent/NZB, so I speak from experience.

If you wanted to implement it yourself you can still do it though if you know how to write REST APIs. Just follow these general steps:

  • Write an indexer in the NewzNab/TorzNab format (you can just get the items from an existing RSS/API if you want to)
  • Write a Downloader that impersonates one of the available download clients on Sonarr (I went with NZBVortex). If you make a NewzNab indexer, you need to impersonate an NZB downloader, otherwise you need to impersonate a Torrent downloader
  • Make your indexer respond with a Pseudo NZB or Pseudo Torrent that contains info about your release (in this case it'd be the season, episode and series name)
  • Make your downloader extract that info from your Pseudo File and handle it by calling animdl with the corresponding info

That takes a lot of time (my project took about 8 hours for me to complete it) and I wouldn't really recommend it. It's better to just make a cronjob based on what you're trying to do or wait until #143 is implemented or implement it yourself in a fork of animdl

from animdl.

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.