HaveAGitGat / Tdarr_Plugins

Tdarr Plugins
GNU General Public License v3.0
137 stars 156 forks source link

Apprise Not working #683

Open karl0ss opened 2 months ago

karl0ss commented 2 months ago

Trying to setup apprise, its working fine from the cli of my tdarr server...

I have left the standard command it created in the plugin (updated my bot id and stuff, but hidden)

-vv -t "Not HEVC" -b "File {{{args.inputFileObj._id}}}" "tgram://123245:fdmfksdlfmksdl/3838383/"

My flow runs, but fails the run to send the request, and I see in the logs

2024-07-08T09:15:10.134Z 5LA7VXCkA:Node[deskbox]:Worker[fixed-fish]:Running apprise -vv -t Not HEVC -b File //192.168.4.4/TV Shows/Douglas Is Cancelled/Season 1/Douglas Is Cancelled - S01E01 - Episode 1 WEBDL-1080p.mkv tgram://123245:fdmfksdlfmksdl/3838383/

This is failing, and seems to be due to the fact all of " speechmarks have been removed, If i copy the line from the report and paste, it does fail, but if I add the missing " in the cli it all works?

I'm running tdarr 2.22.01

HaveAGitGat commented 1 month ago

It's not to do with that, that's just how the command is being spawned, you can see the quotes in the bit beforehand.

2024-08-21T16:10:22.721Z mWV2bMnN1:Node[thisIsIt]:Worker[odd-otter]:Loaded plugin inputs: {
2024-08-21T16:10:22.721Z   "command": "-vv -t \"Success\" -b \"File {{{args.inputFileObj._id}}}\" \"discord://xxx/yyy\""
2024-08-21T16:10:22.721Z }
2024-08-21T16:10:22.722Z mWV2bMnN1:Node[thisIsIt]:Worker[odd-otter]:Running apprise -vv -t Success -b File /media/cache/tdarr-workDir-node-0HwCf6w-V-worker-odd-otter-ts-1724252998698/1724253000598/sample__1080__libx264__aac__30s__video copy 2.mkv discord://xxx/yyy
2024-08-21T16:10:24.725Z mWV2bMnN1:Node[thisIsIt]:Worker[odd-otter]:2024-08-21 16:10:21,848 - INFO - Sent Discord notification.
2024-08-21T16:10:24.725Z 
2024-08-21T16:10:24.727Z mWV2bMnN1:Node[thisIsIt]:Worker[odd-otter]:CLI apprise exited with code: 0
2024-08-21T16:10:24.728Z mWV2bMnN1:Node[thisIsIt]:Worker[odd-otter]:Plugin run complete

Please post the job report if you're still having trouble