dynamiccookies / radarr-actor-import

Webpage to search TMDB for actors and automatically add them to a Radarr server as an Import List.
MIT License
0 stars 0 forks source link

Add settings #8

Open dynamiccookies opened 3 months ago

dynamiccookies commented 3 months ago

Related: #1

dynamiccookies commented 3 months ago

JSON Example of Import List

  {
    "enabled": true,
    "enableAuto": true,
    "monitor": "movieAndCollection",
    "rootFolderPath": "<path>",
    "qualityProfileId": 1,
    "searchOnAdd": false,
    "minimumAvailability": "tba",
    "listType": "tmdb",
    "listOrder": 1,
    "minRefreshInterval": "12:00:00",
    "name": "Ana de Armas",
    "fields": [
      {
        "order": 0,
        "name": "personId",
        "label": "PersonId",
        "helpText": "TMDb Id of Person to Follow",
        "value": "224513",
        "type": "textbox",
        "advanced": false,
        "privacy": "normal",
        "isFloat": false
      },
      {
        "order": 1,
        "name": "personCast",
        "label": "Person Cast",
        "helpText": "Select if you want to include Cast credits",
        "value": true,
        "type": "checkbox",
        "advanced": false,
        "privacy": "normal",
        "isFloat": false
      },
      {
        "order": 2,
        "name": "personCastDirector",
        "label": "Person Director Credits",
        "helpText": "Select if you want to include Director credits",
        "value": false,
        "type": "checkbox",
        "advanced": false,
        "privacy": "normal",
        "isFloat": false
      },
      {
        "order": 3,
        "name": "personCastProducer",
        "label": "Person Producer Credits",
        "helpText": "Select if you want to include Producer credits",
        "value": false,
        "type": "checkbox",
        "advanced": false,
        "privacy": "normal",
        "isFloat": false
      },
      {
        "order": 4,
        "name": "personCastSound",
        "label": "Person Sound Credits",
        "helpText": "Select if you want to include Sound credits",
        "value": false,
        "type": "checkbox",
        "advanced": false,
        "privacy": "normal",
        "isFloat": false
      },
      {
        "order": 5,
        "name": "personCastWriting",
        "label": "Person Writing Credits",
        "helpText": "Select if you want to include Writing credits",
        "value": false,
        "type": "checkbox",
        "advanced": false,
        "privacy": "normal",
        "isFloat": false
      }
    ],
    "implementationName": "TMDb Person",
    "implementation": "TMDbPersonImport",
    "configContract": "TMDbPersonSettings",
    "infoLink": "https://wiki.servarr.com/radarr/supported#tmdbpersonimport",
    "tags": [
      20
    ],
    "id": 0
  }
dynamiccookies commented 3 months ago

Request Code

{
  "id": 0,
  "name": "string",
  "fields": [
    {
      "order": 0,
      "name": "string",
      "label": "string",
      "unit": "string",
      "helpText": "string",
      "helpTextWarning": "string",
      "helpLink": "string",
      "value": "string",
      "type": "string",
      "advanced": true,
      "selectOptions": [
        {
          "value": 0,
          "name": "string",
          "order": 0,
          "hint": "string",
          "dividerAfter": true
        }
      ],
      "selectOptionsProviderAction": "string",
      "section": "string",
      "hidden": "string",
      "privacy": "normal",
      "placeholder": "string",
      "isFloat": true
    }
  ],
  "implementationName": "string",
  "implementation": "string",
  "configContract": "string",
  "infoLink": "string",
  "message": {
    "message": "string",
    "type": "info"
  },
  "tags": [
    0
  ],
  "presets": [
    "string"
  ],
  "enabled": true,
  "enableAuto": true,
  "monitor": "movieOnly",
  "rootFolderPath": "string",
  "qualityProfileId": 0,
  "searchOnAdd": true,
  "minimumAvailability": "tba",
  "listType": "program",
  "listOrder": 0,
  "minRefreshInterval": "string"
}
dynamiccookies commented 2 months ago

Commenting out Name Pattern for now. Will look into in the future.

Name Pattern Allow for prefix/suffix DEFAULT: Actor's name