[GetScripts] Various Scripts

Share your scripts or request scripts with specific features.
Forum rules
Please keep the forum clean - one topic per script. Questions not related to a specific script should be posted in Support forum.
hugbug
Developer & Admin
Posts: 6589
Joined: 09 Sep 2008, 11:58
Location: Germany (NRW)

Re: [GetScripts] Various Scripts

Post by hugbug » 07 Apr 2015, 07:19

It should be shown after refreshing of the page. Installing of python isn't necessary for that (but needed to execute the scripts).
If the script isn't shown something went wrong during download of the script. Have you clicked on link RAW?

MRobbo
Posts: 7
Joined: 06 Apr 2015, 23:24

Re: [GetScripts] Various Scripts

Post by MRobbo » 08 Apr 2015, 08:04

tried it after installing python and rebooting pc, under settings,

EXTENSION SCRIPTS, PostScript, CHoose... its not there to choose only name, email and logger , and on the left hand side i have only, email and logger, under the EXTENSION SCRIPTS heading

what am i doing wrong..... Arghhhhhhhhhhh

kloaknet
Posts: 309
Joined: 23 Jul 2014, 08:52

Re: [GetScripts] Various Scripts

Post by kloaknet » 08 Apr 2015, 19:08

It could be the case that you have several script folders. Maybe you did put the scripts not in the current ScriptDir set in NZBget.

Maybe try to copy email.py to like email2.py in to the same folder, and then a extra script with email2 should appear on the left side

MRobbo
Posts: 7
Joined: 06 Apr 2015, 23:24

Re: [GetScripts] Various Scripts

Post by MRobbo » 09 Apr 2015, 09:17

Hi,

Thanks for all your help, got the script to show up... woohooo

however... when i do a download it still wants to put every downloaded file in a folder..... so i end up with each download in its own folder that i dont want or need

i dont want -- E:\new items\un-needed folder\file downloaded.mp4

instead of what i want is --- E:\new items\file downloaded.mp4

and after in the history tab next to the downloaded file it says PP-FAILURE

in the settings, it has DestinationDirectory which i have left blank, and even if i change that to what i want E:\new items\ i stil get the same result.....even though it says below that -

Set the directory where you want all files to be moved to.
Use this if you want all downloaded files in a single "root" directory.
If left blank, files will all be "flattened" into the individual download's sub-directory.

even though above that it does say -

About flatten

Flatten all downloaded files into the root download directory.
This removes all of the sub-folders created by the unpack process.
This should run before other scripts.

Any ideas

hugbug
Developer & Admin
Posts: 6589
Joined: 09 Sep 2008, 11:58
Location: Germany (NRW)

Re: [GetScripts] Various Scripts

Post by hugbug » 09 Apr 2015, 10:29

MRobbo wrote:and after in the history tab next to the downloaded file it says PP-FAILURE
That's a problem. What's in the log?

MRobbo
Posts: 7
Joined: 06 Apr 2015, 23:24

Re: [GetScripts] Various Scripts

Post by MRobbo » 09 Apr 2015, 11:25

error Thu Apr 09 2015 19:08:05 Post-process-script flatten.py for File.Name.would.be.here failed
error Thu Apr 09 2015 19:08:05 flatten: Could not start post-process-script flatten.py for File.Name.would.be.here: The system cannot find the file specified.


i have changed the true file name of the item i downloaded to File.Name.would.be.here

hugbug
Developer & Admin
Posts: 6589
Joined: 09 Sep 2008, 11:58
Location: Germany (NRW)

Re: [GetScripts] Various Scripts

Post by hugbug » 09 Apr 2015, 12:00

Something wrong with python file association. See this post.

MRobbo
Posts: 7
Joined: 06 Apr 2015, 23:24

Re: [GetScripts] Various Scripts

Post by MRobbo » 09 Apr 2015, 22:55

done all that, still doeesnt work even thojugh the log says

info Fri Apr 10 2015 08:24:09 Post-process-script flatten.py forFile.name successful
info Fri Apr 10 2015 08:24:09 flatten: Checking for empty folders in:E:\New Movies\NZB\File.name
info Fri Apr 10 2015 08:24:09 flatten: Flattening directory: E:\New Movies\NZB\File.name
info Fri Apr 10 2015 08:24:09 flatten: Script triggered from NZBGet Version 15.0-testing-r1253.

for DestDir E:\New Movies\NZB\

and in the flatten item i have

DestinationDirectory E:\New Movies\NZB\

annoying that i cant work it out

clintonhall
Posts: 449
Joined: 15 Dec 2012, 01:52
Location: Australia
Contact:

Re: [GetScripts] Various Scripts

Post by clintonhall » 16 Apr 2015, 12:13

So the script runs ok... what is it that you expect the script to do?

The idea is that it flattens any files from sub directories up to the main nzb download directory (E:\New Movies\NZB\nzb.name)

MRobbo
Posts: 7
Joined: 06 Apr 2015, 23:24

Re: [GetScripts] Various Scripts

Post by MRobbo » 17 Apr 2015, 03:07

i thought it was to change E:\New Movies\NZB\foldername of file\filename.mp4 to E:\New Movies\NZB\Filename.mp4

but they are still E:\New Movies\NZB\foldername of file\filename.mp4

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests