Skip to content

Configuration

L4GSP1KE edited this page May 11, 2021 · 24 revisions

Configuration and how to find the appropriate values

DEFAULT

Most of these values are REQUIRED if you intend to use these services

  • The Movie Database: tmdb_api REQUIRED

  • Image Hosts and their respective API keys: e.g.imgbb_api

    • Only one image host is REQUIRED, but extras are nice to have.
    • Acceptable values for img_host_x are:
      • imgbb
        • Notes: 32MB Cap, easy to signup and get your api key.
      • freeimage.host
        • Notes: 100MB Cap, no need to signup to get api key, however there are reports of ip bans if used for mass uploading.
      • pstorage
        • Notes: 20MB Cap.
      • ptpimg
  • Default number of screenshots per upload: screens REQUIRED

    • Recommended value = 6
  • Site API keys and Announce URLs: e.g. blu_api REQUIRED

    • API keys are usually found in your security settings.
    • Announce URLs are usually found on the upload page.
  • Default torrent client: default_torrent_client REQUIRED

    • The default torrent client you'd like to use.
    • Values for this will be set in the Torrent Clients section below.

Torrent Clients

Only ONE client is REQUIRED, but if you have more, you can switch easily by changing the default_torrent_client or calling --client [NAME] while uploading

If you have only one client, I recommend just editing the sample config for your client. **After editing, set the default_torrent_client setting to your client's name

  • Each client has a remote_path and local_path option:

    • These are used if the path to your data is different than what your client sees. e.g. "D:\Downloads" on the system running the script and "/data/downloads" on the system running your client
    • If this script and your client are running on the same system, set these values to paths that don't exist OR make them the same
  • Example rtorrent config:

    "NAME" : {
                "torrent_client" : "rtorrent",
                "rtorrent_url" : "https://user:[email protected]:443/username/rutorrent/plugins/httprpc/action.php",
    
                "local_path" : "/LocalPath",
                "remote_path" : "/RemotePath"
            },
    
  • Example qbittorrent config:

    "NAME" : {
                "torrent_client" : "qbit",
                "qbit_url" : "http://127.0.0.1",
                "qbit_port" : "8080",
                "qbit_user" : "username",
                "qbit_pass" : "password",
    
                "local_path" : "/LocalPath",
                "remote_path" : "/RemotePath"
            },
    
  • Example deluge config:

    "NAME" : {
               "torrent_client" : "deluge",
               "deluge_url" : "localhost",
               "deluge_port" : "8080",
               "deluge_user" : "username",
               "deluge_password" : "password",
    
               "local_path" : "/LocalPath",
               "remote_path" : "/RemotePath"
           },
    

Discord

This is only REQUIRED if you plan to use the discord bot functionality

Visit the Discord Bot Setup and Configuration page for more details. Otherwise you can leave these values blank/whatever comes in them

Clone this wiki locally