Configuring Deluge Execute plugin on Windows
Posted: 13 Mar 2015, 20:43
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
and the code in the .bat:
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
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
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

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:"=%