nzbget Post Processing Scripts

Note the long term plan is to get avimerge working on my media player and then get unpak.sh to do avimerging and subtitle processing at which point nzbget-housekeeper.pl will be retired (sniff).

unpak.sh : Simple unrar script

unpak.sh is a post processing shell script useful for embedded devices or if you are not interested in the additional features of nzbget-housekeeper.pl (mainly avimerging and subtitle joining). This was based on the unpak script bundled with the new firmware for the Popcorn Hour.
20090112-1 This is a big change from the previous beta. The program is now in three parts:
  • unpak.sh - Unpacks rar files. Only does par check if unrar fails.
  • catalog.sh - Indexes and automatically renames video files with full titles etc.
  • oversight.cgi - This is specific to the NMT platform and provides a web gui for the catalog

NMT users are encourage to get the full package that includes the video index.
Alternatively you can just install unpak.sh and catalog.sh as stand alone files, in the same folder. The unpak.sh and catalog.sh scripts should run on any Linux based platform.

Download Latest scripts from the NMT Oversight page.
full oversight package for NMT users.

To minimse CPU usage, unpak.sh can be configured to unrar an archive first and only doing a parcheck/repair if the first unrar fails. To use this feature set the following options
nzbget.conf
ParCheck=no
AllowReProcess=yes
LoadPars=none


nzbget-housekeeper : For Linux

nzbget-housekeeper is a more comprehensive, perl based, post processing script for Unix/Linux based systems. This performs avi and subtitle merging.

Download latest version here.

It started off as a quick script, but somehow grew and grew. Mainly due to subtitle processing I think.
Bugs/comments to email [ nzbget at lordy.org.uk ].

For notification of updates why not monitor this page using Change Detection.com.

History


080915-2 Added Alternate Destination Folder
Added Category parameter (nzbget 0.5)
Added Alternate Destination Folder based on category. (nzbget 0.5)
080629-1 Dont merge avi if any problem detected merging subtitles.
080617-1 Name change to avoid confusion with NZBGetPP @ Dalrun
Minor bug fix to avoid unraring par backups.
Rename completed nzbs
080613-1 Fixed to cope with embedded subtitle rars whose name is the same as the avi rar.
Delete queued nzb's older than 'n' days. (probably should check nzbget has actually downloaded them) .
Disabled 'quickBackup' folder - this was meant for debugging only.
080609-1 Split out subtitle parsing and used more up-to-date syntax for perl subs. (old habits die hard)
080608-2 Fixed bug for mult-language vobsub merge
080608-1 Fixed gaps between subtitle joins (based on avi length)
Made processing of all subs internal instead of using external perl module
080607-1 Added Vobsub(sub,idx) merging - (internal)
080604-1 Added text merging (using external perl module (http://karasik.eu.org/software)
If you find anything useful, donations are welcome however small, to spur me on through the dark nights...