Skip to content

Commit

Permalink
Fix parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
BuSHari committed Dec 19, 2024
1 parent f46dc95 commit 34c05a5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Scripts/Flow/Applications/Radarr/Radarr - Movie Lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Radarr } from 'Shared/Radarr';
* @output Movie found
* @output Movie not found
*/
function Script(URL, ApiKey) {
function Script(URL, ApiKey, UseFolderName) {
URL = URL || Variables['Radarr.Url'] || Variables["Radarr.URI"];
ApiKey = ApiKey || Variables['Radarr.ApiKey'];
const radarr = new Radarr(URL, ApiKey);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { Radarr } from 'Shared/Radarr';
* @param {bool} MoveMode Import mode 'copy' or 'move' (default copy)
* @output Command sent
*/
function Script(URL, ApiKey) {
function Script(URL, ApiKey, ImportPath, UseUnmappedPath, MoveMode) {
URL = URL || Variables['Radarr.Url'] || Variables["Radarr.URI"];
ApiKey = ApiKey || Variables["Radarr.ApiKey"];
ImportPath = ImportPath || Variables.file.FullName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { Sonarr } from 'Shared/Sonarr';
* @output TV Show found
* @output TV Show NOT found
*/
function Script(URL, ApiKey) {
function Script(URL, ApiKey, UseFolderName) {
URL = URL || Variables['Sonarr.Url'] || Variables['Sonarr.URI'];
ApiKey = ApiKey || Variables['Sonarr.ApiKey'];
const sonarr = new Sonarr(URL, ApiKey);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { Sonarr } from 'Shared/Sonarr';
* @param {bool} MoveMode Import mode 'copy' or 'move' (default copy)
* @output Command sent
*/
function Script(URL, ApiKey) {
function Script(URL, ApiKey, ImportPath, UseUnmappedPath, MoveMode) {
URL = URL || Variables['Sonarr.Url'] || Variables['Sonarr.URI'];
ApiKey = ApiKey || Variables['Sonarr.ApiKey'];
ImportPath = ImportPath || Variables.file.FullName;
Expand Down

0 comments on commit 34c05a5

Please sign in to comment.