Search found 5 matches
- May 17th, 2011, 1:33 pm
- Forum: General Help
- Topic: Did the post processing API change?
- Replies: 2
- Views: 1478
Re: Did the post processing API change?
I tried the following test_sab.py file directly: import sys print(sys.argv) I got following sys.argv list: ['C:\\Users\\gitar\\AppData\\Local\\sabnzbd\\scripts\\working\\test_sab.py'] So all I get is the script name, and no other parameters. I'll do some more snooping around when I have time. Don't ...
- May 17th, 2011, 6:25 am
- Forum: General Help
- Topic: Did the post processing API change?
- Replies: 2
- Views: 1478
Did the post processing API change?
Hi there! It seems to me that the post processing API changed somehow. When I try to get parameters with sys.argv in a python post-processing-script the sys.argv list comes back with only sys.argv[0] which won't help me much. I did look up the user-script-wiki at wiki.sabnzbd.org/user-scripts and tr...
- March 17th, 2010, 12:31 pm
- Forum: Post-Processing Scripts
- Topic: [Windows] Don't put downloaded files in subfolders
- Replies: 21
- Views: 27251
Re: [Windows] Don't put downloaded files in subfolders
I'm pretty new to python , but I made a script for this. Maybe someone could need it, took me a while to figure it out. :P It will move all files from the download folder (src) one folder up (dst), checks if the file (s) is (are) there and then deletes the download folder(src). Not sure, but the scr...
- March 10th, 2010, 4:10 am
- Forum: Feature Requests
- Topic: Rename extracted file(s) using folder names
- Replies: 3
- Views: 8673
Re: Rename extracted file(s) using folder names
You can accomplish this with a simple user script. Nice! Would someone be so nice and help me out with such a user script? How would I go about renaming files to foldernames without touching the file extension and having subfolder support? (Running scru is no option for me atm, cause it's been a bi...
- March 10th, 2010, 3:34 am
- Forum: Feature Requests
- Topic: Rename extracted file(s) using folder names
- Replies: 3
- Views: 8673
Rename extracted file(s) using folder names
Hi! First off thanks for this awesome application and all the effort you guys put in it. Here to my Feature Request: I would like to see an option to rename files after extraction using the name of the folder they are in. Lemme give you a generic example: Let's say after extraction we have a folder ...