Giter VIP home page Giter VIP logo

docker-qbittorrent-sma's Introduction

docker-qbittorrent-sma

A modification of linuxserver/qbittorrent to include sickbeard mp4 automator

The following is an example of a docker-compose setup for this image:

version: '2.1'
services:
  qbittorrent:
    image: halfdeadgames/qbittorrent-sma
    container_name: qbittorrent
    environment:
      - PUID=1001 #set to your UID
      - PGID=1001 #set to your GID
      - TZ=<TimeZone info, for example America/Boise>
      - UMASK_SET=000
      - WEBUI_PORT=8080
    volumes:
      - /mnt/storage/config/qbittorrent:/config #the location of qbittorrent's config files
      - /mnt/storage/downloads/complete:/downloads/complete #the location where you want to store your downloads
      - /mnt/storage/config/sma:/mp4automator #the location of sickbeard mp4 automator
    ports:
      - 6881:6881
      - 6881:6881/udp
      - 8080:8080 #should match the webui port environment variable
    restart: unless-stopped

Once started up, connect to the webui of qBittorrent. On the host machine this should be localhost:8080 unless you've changed the webui port. In Options, in the Downloads tab, check the checkbox to run an external program on download finish. Enter precisely this: /usr/bin/python /mp4automator/qBittorrentPostProcess.py "%L" "%T" "%R" "%F" "%N" "%I"

Also inside the Downloads tab set where you want to keep complete/incomplete downloads relative to /downloads/ or whatever other volumes you might add in your compose file.

Now would also be a good time to change your webui password in the Web UI tab.

It stumped me for a while so I've decided to note it here for others to learn from. Sonarr/Radarr only delete torrents when the torrent stops seeding, regardless of settings inside Sonarr/Radarr. As such, you should set qBittorrent's seeding settings according to your needs in file management.

Now, configure your autoProcess.ini.

In the section [Converter], configure the following settings precisely as given here:

ffmpeg = /usr/bin/ffmpeg
ffprobe = /usr/bin/ffprobe

You may also want to change the permissions in the [Permissions] section to allow your other apps, such as Sonarr/Radarr, to access them.

Finally, in the qBittorrent section, set the host setting to localhost. Input your qBittorrent Web UI username and password in the appropriate places. Finally, set the output-directory to wherever you set qBittorrent to store completed downloads. Remember to set the various apps you may use to use whatever label you use in this setting corresponding with the app. For example, if using the default setting for radarr in this section, the label should be radarr, so within Radarr when you add qBittorrent as a download client be sure to set the label to radarr.

docker-qbittorrent-sma's People

Contributors

heatherhaks avatar

Watchers

James Cloos avatar  avatar

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.