Hella World Info

Auto NZB

There's a new feature in development, designed to read the Atom news feeds from newzbin, and automatically queue up new files.

I have created a new bookmarklet which will send the URL of the feed to Hella World, which will then parse it and store it in an XML file.

Currently the only way to manage these feeds once they are added is with a basic command-line tool. You will need the command-line version of PHP to make use of this.

Management Tool

Usage takes the form of: php manage.php [-v] <command> [argument] [arg...] Where command is one of:

  • add
  • remove
  • list
  • latest
  • update

Add

The add command takes a single argument, which is the URL directly to the atom feed. This is parsed to retrieve the name and latest file, then added to the XML file.

Remove

This command takes one or more show names as arguments, and removes them from the XML file.

List

Simply shows a count and list of all feeds currently checked.

Latest

Gets or sets the latest episode attribute of a feed. Pass just a show name to display the latest episode attribute, or pass a number as the second argument to set it.

Update

To use the auto-downloading feature, you must run php manage.php update from cron. Please note the usual problems with cron and paths apply. I recommend creating a small shell script which you set up in cron, along the lines of:

#!/bin/bash
cd /path/to/hellaworld
/usr/local/bin/php manage.php update >> update.log 2>&1

I hope that outlines the main features of AutoNZB!