TheCaptain989 / radarr-striptracks

A Docker Mod to Radarr/Sonarr to automatically strip out unwanted audio and subtitle tracks
https://hub.docker.com/r/thecaptain989/radarr-striptracks
GNU General Public License v3.0
20 stars 1 forks source link

curl error calling url in Sonarr - there is a slash missing in the URL #57

Closed jrcalvert closed 9 months ago

jrcalvert commented 9 months ago

Hello, I am running Sonarr v4 and are seeing these errors when the script is run - there is a missing "/" after the port number and the Url Base. This is under docker, the LinuxServer.io image ghcr.io/linuxserver/sonarr:develop with striptracks installed as a "mod"

[Error] striptracks-eng.sh: Error|[3] curl error when calling: "http://localhost:8989sonarr/api/v3/command" with data {"name":"RescanSeries","seriesId":xxxx} [Error] striptracks-eng.sh: Error|Web server returned: [Error] striptracks-eng.sh: Error|The 'RescanSeries' API with seriesId xxxx failed. [Error] striptracks-eng-jpn.sh: Error|[3] curl error when calling: "http://localhost:8989sonarr/api/v3/system/status" [Error] striptracks-eng-jpn.sh: Error|Web server returned: [Error] striptracks-eng-jpn.sh: Error|[3] curl error when calling: "http://localhost:8989sonarr/api/v3/languageprofile" [Error] striptracks-eng-jpn.sh: Error|Web server returned: [Error] striptracks-eng-jpn.sh: Warn|Unable to retrieve language codes from 'languageprofile' API (curl error or returned a null name).

Thanks

TheCaptain989 commented 9 months ago

Hmmm. I haven't tested it with v4 yet, but it looks like it could be a simple fix.

I'll investigate.

P.S. - Thanks for the logs!

TheCaptain989 commented 9 months ago

Okay, I think I fixed this. Could you please test by using the develop version by setting your DOCKER_MODS variable to:
DOCKER_MODS=thecaptain989/radarr-striptracks:develop ?

jrcalvert commented 9 months ago

Thank-you very much. I have switched to the dev version now and will let you know.

On Sat, 14 Oct 2023 at 20:40, TheCaptain989 @.***> wrote:

Okay, I think I fixed this. Could you please test by replacing using the develop version by setting your DOCKER_MODS variable to: DOCKER_MODS=thecaptain989/radarr-striptracks:develop ?

— Reply to this email directly, view it on GitHub https://github.com/TheCaptain989/radarr-striptracks/issues/57#issuecomment-1763159058, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADXRBWWI6NVP6ILRXIKI46DX7LTERANCNFSM6AAAAAA6AMSNGM . You are receiving this because you authored the thread.Message ID: @.***>

--

Jason Calvert @.***

jrcalvert commented 9 months ago

Hello. I am now seeing this error - Can that be ignored? "[Error] striptracks-eng-jpn.sh: Warn|The 'episode' API with id 106558 returned a false hasFile."

TheCaptain989 commented 9 months ago

That used to be normal in earlier versions of the script. That would happen in Radarr when the file extension changed (like .avi to .mkv). I wouldn't expect it now with the new way I'm handling things. Did the remuxed file appear in Sonarr after script completion?

TheCaptain989 commented 9 months ago

Either way, I think this signals progress! Could you check the striptracks.txt log file for the actual script logs?

jrcalvert commented 9 months ago

Hello, Yes, I can see that it is working now. The new error was because of a transcode script I had run!

Thanks, Jason

On Wed, 18 Oct 2023 at 13:04, TheCaptain989 @.***> wrote:

Either way, I think this signals progress! Could you check the striptracks.txt log file for the actual script logs?

— Reply to this email directly, view it on GitHub https://github.com/TheCaptain989/radarr-striptracks/issues/57#issuecomment-1768306142, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADXRBWXDDNEUS6KW3W6GB3TX77AVFAVCNFSM6AAAAAA6AMSNGOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRYGMYDMMJUGI . You are receiving this because you authored the thread.Message ID: @.***>

--

Jason Calvert @.***

TheCaptain989 commented 9 months ago

Great news. I'll try to create a PR this weekend.