Move files post-processing script for NZBGet. This program is distributed in the hope that it will be useful,. See the. Foundation, Inc. Move files into specified directory. This script moves a file type to a specified directoiry. Directory to move to. Extensions of files to be send. Only files with these extensions are processed.
Extensions must. Exit codes used by NZBGet. Check if the script is called from nzbget Best example - unpack password. NZBGet allows pp-script to define nzb-file specific options, so called post-processing parameters pp-parameters. PP-Parameters must be declared in the configuration definition of the script. NZBGet reads the definition and adds necessary ui-elements to download details dialog on page Postprocess.
NOTE: Only post-processing scripts can have post-processing parameters. Scan, queue and scheduler scripts can not have them. Like script-options there are two env-vars for each parameter:. Only if the user opens edit download dialog and changes pp-parameters they are getting assigned to nzb-file and will be passed to pp-script.
For post-processing scripts NZBGet checks the exit code of the script and sets the status in history item accordingly. Scripts can use following exit codes:. Scripts MUST return one of the listed status codes.
Post-processing scripts which move downloaded files can inform NZBGet about that by printing special messages into standard output which is processed by NZBGet. This allows the scripts called thereafter to process the files in the new location.
The scripts executed after your script assume the files in the directory belong to the current download. If your script moves files into a non empty directory which already contains other files, your should not use that command. Otherwise the other scripts may process all files in the directory, even the files existed before. For extra safety, we save NZBs and all our downloaded files!
Read more. In the new window that pops up, select Add local files. If you like, add a Priority or category too for the content. If you don't want to download the content right away you just want to add the NZB but not download its associated content just yet , you can also select 'Add paused'.
This is easy to do, is supported by many indexers and has some pretty cool advantages. To set this up in your indexer, log in, and look for specific settings for NZBGet Integration sample below. This is another reason why it's good to save NZB files to a dedicated folder: you can set up NZBGet or any other newsreader you use to monitor this folder for new NZBs and automatically start downloading the content associated with them.
For example, among some indexer's many cool features, you might be able to manage TV Shows and Movies. Using options such as these, you can set up RSS feeds for NZBGet to "watch" monitor and download the content you want the moment the indexer finds it. This display will also show how much data and estimated time remains until the download is complete. NZBGet's Downloads queue shows all the content being actively downloaded. Additional details about the content files being downloaded.
Go have a look. If all went well, it will show as successful. If you like, click on the item to see even more details about the successful download. Check the additional details to see where the content file was saved, its size and other details. Of course, you can change this folder too. If you go looking for an item in the completed downloads folder before NZBGet has finished downloading it, you won't find it. That's because NZBGet is still downloading all the bits of pieces of it and may also have to do some post processing before you end up with a nice, easy single content file.
Once the downloading and post processing are done, voila , the file will be waiting for you in the completed folder. When you are done downloading with NZBGet and want to shut it down, simply select Settings from the top menu, then System and Shutdown.
Or you can right-click on the NZBGet icon in your system tray it looks like a down arrow and select Exit. It will continue to run in the background whether or not your web browser is open until you shut it down properly one of the ways outlined above.
You can pause NZBGet for 30 minutes, 3 hours or any custom length of time you like. NZBGet has lots of different options for pausing downloads. Just click on the airplane icon to see the options available. This can be useful information when it comes time to decide about which of your Usenet plans to renew or let expire.
You should now have all the information you need to set up, use and download files with NZBGet. We even showed you how to use and integrate NZBGet with an indexer. But if you think we missed anything, let us know in the comments below. Wise choice! Then install it in the usual way. For all other settings, just leave them as is: Server1 Name - this can be anything that helps you identify your main Usenet provider. For example, it can be a nickname or abbreviation, if you wish. Server1 Host - this is important and will be provided to you by your Usenet provider.
If your Usenet provider is Newshosting , you can use the news server host address, news. Note that port is un encrypted. If, like Newshosting, your Usenet provider also supports encrypted connections, you can try other port numbers later.
For example, both Newshosting and Usenet. Farm support port number for encrypted SSL connections. In this case, you would also have to change the Server1 Encryption setting from No to Yes. But, for now, we highly recommend you stick with the default port setting of and get NZBGet up and running. Later, you can play with the Port and Encryption settings. Sever1 Username - This will also be provided to you by your Usenet provider and is the username you need to access the news server host address you entered above.
0コメント