Page 1 of 1
Deluge Windows Script AMC
Posted: 09 Mar 2014, 12:43
by earthcoder
Hello
I been using following script on Utorrent on my windows box for a while now, but i really dont lile utorrent, i prefer deluge as you can do more with it.
Code: Select all
filebot -script fn:amc --output "D:/Media/" --log-file amc.log --action move --conflict override -non-strict --def clean=y --def subtitles=en --def "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"
But i cant seem to find any info on the script for windows deluge, all i seem to see is Linux,mac osx scripts
i really would like to know if anyone has a excute script for deluge to do the above script.
i can write a script that i can use schedule on windows to check a folder every 30mins to see if changes, but i would much perfer a script that is called per download
Code: Select all
filebot -script fn:amc "/home/xxxx/Desktop/downloads/Temp" --output "/home/xxxx/Desktop/downloads/SortedMedia" --action move -non-strict --def subtitles=en artwork=n
i dont really want to use Utorrent anymore
Re: Deluge Windows Script AMC
Posted: 09 Mar 2014, 14:41
by rednoah
It was my impression that the Execute plugin is not at all supported on Windows (or at least not working well even if enabled in the GUI).
Better check in the Deluge forums. First thing you wanna do is write a simple cmd script that'll print the parameters you're getting passed in from Deluge and see if it's feasible.
If you do get the info you need in the cmd script that is called by Deluge, then making filebot work is easy.
Re: Deluge Windows Script AMC
Posted: 09 Mar 2014, 16:29
by earthcoder
explains why even my basic script was not firing from deluge
is there a way of getting Sickbeard to post prosses filebot scripts instead
Re: Deluge Windows Script AMC
Posted: 27 Jul 2015, 21:16
by ablemonkey
Sorry, this is kind of late, but I got this working on my setup.
Create the following file C:\Scripts\torrentPostProc.bat
The contents should be:
Code: Select all
filebot -script fn:amc --output "M:" --log-file amc.log --action duplicate --conflict override -non-strict --def music=y artwork=y "ut_dir=%3/%2" "ut_kind=multi" "ut_title=%2"
You'll need to change your output location from "M:" to wherever your base Movies, TV Shows, Music folders are.
Then in Deluge, enable the Execute plug-in and add the following command: C:\Scripts\torrentPostProc.bat
You could obviously change the location of the .bat file, but I wanted to spell it out for anyone having a lot of trouble.
For me, this is working with Music, Movies, and TV Shows. Good luck!
Re: Deluge Windows Script AMC
Posted: 29 Jul 2015, 07:50
by scudstone
ablemonkey wrote:Sorry, this is kind of late, but I got this working on my setup.
Create the following file C:\Scripts\torrentPostProc.bat
The contents should be:
Code: Select all
filebot -script fn:amc --output "M:" --log-file amc.log --action duplicate --conflict override -non-strict --def music=y artwork=y "ut_dir=%3/%2" "ut_kind=multi" "ut_title=%2"
You'll need to change your output location from "M:" to wherever your base Movies, TV Shows, Music folders are.
Then in Deluge, enable the Execute plug-in and add the following command: C:\Scripts\torrentPostProc.bat
You could obviously change the location of the .bat file, but I wanted to spell it out for anyone having a lot of trouble.
For me, this is working with Music, Movies, and TV Shows. Good luck!
I've been using a batch file with the Execute plugin successfully for over a year now with great results. However, the fact that a command prompt pops up on execution and steals focus always annoyed me. So I rewrote the batch file as a python script to prevent the command prompt.
It's written specifically for use with the Execute plugin on Windows. Plus it will send out a growl notification on success/failure of filebot execution. Check it out here:
http://forum.deluge-torrent.org/viewtop ... 20#p213779
Re: Deluge Windows Script AMC
Posted: 30 Mar 2016, 07:24
by Sma5hley
scudstone wrote:ablemonkey wrote:Sorry, this is kind of late, but I got this working on my setup.
Create the following file C:\Scripts\torrentPostProc.bat
The contents should be:
Code: Select all
filebot -script fn:amc --output "M:" --log-file amc.log --action duplicate --conflict override -non-strict --def music=y artwork=y "ut_dir=%3/%2" "ut_kind=multi" "ut_title=%2"
You'll need to change your output location from "M:" to wherever your base Movies, TV Shows, Music folders are.
Then in Deluge, enable the Execute plug-in and add the following command: C:\Scripts\torrentPostProc.bat
You could obviously change the location of the .bat file, but I wanted to spell it out for anyone having a lot of trouble.
For me, this is working with Music, Movies, and TV Shows. Good luck!
I've been using a batch file with the Execute plugin successfully for over a year now with great results. However, the fact that a command prompt pops up on execution and steals focus always annoyed me. So I rewrote the batch file as a python script to prevent the command prompt.
It's written specifically for use with the Execute plugin on Windows. Plus it will send out a growl notification on success/failure of filebot execution. Check it out here:
http://forum.deluge-torrent.org/viewtop ... 20#p213779
I have been scrolling through the forums looking for something just like what you have mentioned using python for the deluge execution of AMC.
It looks like the link you posted to the deluge forum has been removed, I believe they suffered from some form of attack..
Would you mind re-posting your work here?
Cheers!
Re: Deluge Windows Script AMC
Posted: 25 Nov 2016, 14:55
by Deldran
scudstone wrote:ablemonkey wrote:Sorry, this is kind of late, but I got this working on my setup.
Create the following file C:\Scripts\torrentPostProc.bat
The contents should be:
Code: Select all
filebot -script fn:amc --output "M:" --log-file amc.log --action duplicate --conflict override -non-strict --def music=y artwork=y "ut_dir=%3/%2" "ut_kind=multi" "ut_title=%2"
You'll need to change your output location from "M:" to wherever your base Movies, TV Shows, Music folders are.
Then in Deluge, enable the Execute plug-in and add the following command: C:\Scripts\torrentPostProc.bat
You could obviously change the location of the .bat file, but I wanted to spell it out for anyone having a lot of trouble.
For me, this is working with Music, Movies, and TV Shows. Good luck!
I've been using a batch file with the Execute plugin successfully for over a year now with great results. However, the fact that a command prompt pops up on execution and steals focus always annoyed me. So I rewrote the batch file as a python script to prevent the command prompt.
It's written specifically for use with the Execute plugin on Windows. Plus it will send out a growl notification on success/failure of filebot execution. Check it out here:
http://forum.deluge-torrent.org/viewtop ... 20#p213779
This script is amazing, thank you for posting it.
One question I have is, would there be any way to set the ut_label variable in filebot to the "label" set in deluge?
I can cheat my way around this, by having movies and tv shows download into folder called movies and tv, but it would be nice to centralize all my downloads to 1 folder.
Re: Deluge Windows Script AMC
Posted: 25 Nov 2016, 15:17
by rednoah
There's another Deluge plugin that exposes some of the FileBot functionality in the Deluge UI:
https://github.com/Laharah/deluge-FileBotTool