Search found 7 matches
- 25 Oct 2016, 18:50
- Forum: Scripting and Automation
- Topic: Get label in deluge windows for amc
- Replies: 10
- Views: 6065
Re: Get label in deluge windows for amc
I have corrected my syntax and everything is working except getlabel.py #!/usr/bin/python import sys from deluge.ui.client import client from twisted.internet import reactor # Set up the logger to print out errors from deluge.log import setupLogger setupLogger() d = client.connect() torrent_id = sys ...
- 25 Oct 2016, 17:35
- Forum: Scripting and Automation
- Topic: Get label in deluge windows for amc
- Replies: 10
- Views: 6065
Re: Get label in deluge windows for amc
How do I avoid cmd even if i do learn groovy. Don't i have to type the main code out in cmd?You could have learn some basic Groovy in half a day and avoid CMD completely
Also the getlabel.py isnt working since it cannot call deluge in the first place. Trying to fix that
- 25 Oct 2016, 17:15
- Forum: Scripting and Automation
- Topic: Get label in deluge windows for amc
- Replies: 10
- Views: 6065
Re: Get label in deluge windows for amc
Will this work? This is just cmd code i think C:/Scripts/getLabel.py $torrentid > temp.txt set /p LABEL=<temp.txt set LABEL=%4 set torrentname=%torrentname:"=% filebot -script fn:amc --output "F:/not sorted" --log-file amc.log --action test --conflict override -non-strict --def "ut_label=%LABEL%" In ...
- 25 Oct 2016, 17:13
- Forum: Scripting and Automation
- Topic: Get label in deluge windows for amc
- Replies: 10
- Views: 6065
Re: Get label in deluge windows for amc
I only know a bit of java so have no idea how to test this. Anyway gonna try and do what i can and update you on the matter
- 25 Oct 2016, 16:28
- Forum: Scripting and Automation
- Topic: Get label in deluge windows for amc
- Replies: 10
- Views: 6065
Re: Get label in deluge windows for amc
Well I copied the script there to make a python script and edited my original script to look like this - set label=$(C:/Scripts/getLabel.py $torrentid) set torrentname=%torrentname:"=% filebot -script fn:amc --output "F:/not sorted" --log-file amc.log --action test --conflict override -non-strict ...
- 25 Oct 2016, 13:23
- Forum: Scripting and Automation
- Topic: Get label in deluge windows for amc
- Replies: 10
- Views: 6065
Get label in deluge windows for amc
I have written a script to automate my torrents with the amc and everything is working except one thing. I need a variable to get the label of the torrent to sort it and rename it to the correct format. I don't know the variable to get the label in deluge in cmdline or groovy. OS is windows 7. My ...
- 24 Oct 2016, 18:02
- Forum: Help and Support
- Topic: POSTBUCKET - where random posts in unrelated topics go
- Replies: 1036
- Views: 1043141
Deluge Amc Script not working
I've looked on the forum for hours and I have somehow managed to create a script (don't know any programming) without any issues but it does not do anything on execution. Even on testing directly through command line is says that there are no files selected for processing. I don't know how to select ...