Skip to content

Commit

Permalink
update example sonarr port
Browse files Browse the repository at this point in the history
  • Loading branch information
ant385525 committed Dec 22, 2024
1 parent de560e2 commit 461945f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Scripts/Flow/Applications/Sonarr/Sonarr - Rename.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Sonarr } from 'Shared/Sonarr';
* @description This script will rename the file through Sonarr
* @author Shaun Agius, Anthony Clerici
* @revision 12
* @param {string} URI Sonarr root URI and port (e.g. http://sonarr:1234)
* @param {string} URI Sonarr root URI and port (e.g. http://sonarr:8989)
* @param {string} ApiKey API Key
* @output Item renamed successfully
* @output Rename not required for item
Expand All @@ -21,9 +21,6 @@ function Script(URI, ApiKey) {

// Find series name from sonarr
let [series, basePath] = findSeries(folderPath, sonarr);
Logger.ILog(`Series: ${JSON.stringify(series)}`)
Logger.ILog(`basePath: ${basePath}`)
// Set basepath to parent of sonarr

if (series?.id === undefined) {
Logger.WLog('Series not found for path: ' + folderPath);
Expand Down

0 comments on commit 461945f

Please sign in to comment.