Configuring Deluge Execute plugin on Windows

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
esbroma
Posts: 4
Joined: 27 Apr 2013, 16:25

Configuring Deluge Execute plugin on Windows

Post by esbroma »

Hi,

I tried to apply the concepts explained here where is configured for Linux

for windows I tried with D:\DelugeFilebot.bat when a torrent is completed
CaptureDeluge.PNG
and the code in the .bat:

Code: Select all

@echo off
set torrentid=%1
set torrentname=%2
set torrentpath=%3

[b]set torrentname=%torrentname:"=%[/b]

filebot -script fn:amc --output "D:/Plex Media" --log-file amc.log --action copy --conflict override -non-strict --def music=y subtitles=en,es artwork=y clean=y plex=PlexJohan gmail=esbroma:kmcffhmfklglbxsu "ut_dir=%torrentpath%[b]\[/b]%torrentname%" "ut_kind=multi" "ut_title=%torrentname%"

@echo Torrent Details:  %torrentname% %torrentpath% %torrentid%  >> %userprofile%\Desktop\execute_script.log
but no luck....it never gets executed.... :|

I also allowed execution rights to everyone, just in case

any ideas?

EDIT:

Fixed, I had two issues, the slash between directory and name
the fact that the torrentname comes with quotes and need to me removed with the command

Code: Select all

set torrentname=%torrentname:"=%
Post Reply