Monday, 23 July 2007

Keep Terminal Running as a Widget

Don't bother using Terminal to run Hellanzb. Try a fantastic widget that you can leave running in the background and can, at the touch of F12 check the progress of your downloads.
The widget is available here: WidgetTerm 1.2
To start up Hellanzb all you need to do is type into WidgetTerm: hellanzb.py and press return. It will start up and continue to run unless you quick the widget or restart the computer.



Using your Idisk to grab the NZBs

If you want to have your home computer download any time, even when you are not there... this is how you do it.

As previously noted you can not set up hellanzb to find the nzb on your idisk without your idisk being where everything else goes too. Of course that is impossible with the size of the files etc.
Why do you want your idisk picking up the NZBs?
Well if your leave your hellanzb computer running at home, and you are at work or on the laptop on one of your other computers, you can save an NZB to your idisk that hellanzb will automatically start processing at your home. So when you get home there it is, downloaded and expanded for you exactly as you like.

The problem is, using OS X's built in Alias creating (putting an alias of your Idisk location on your drive running hellanzb) will not work, it doesn't reference it properly for the unix situation.

You will need "MakeSymlink" which once installed will allow you to properly set up a symlink or alias on your hard drive that references your idisk. This is confirmed working with hellanzb.

Awesome. Now I can download anywhere anytime, as long as I leave my computer running!

Hellanzb: Choose an External Drive for storage

Hi Guys,

Some tips for you.
I firstly want to explain how you set up the hellanzb config file to download to an external hard drive. See below:

Below is part of the config file. The most important is the PREFIX_DIR If you have this set as /user/ etc it will never download to your external hard drive, no matter what you put in the sections below (ie /Volumes/DownloadsHDD/Thundernews etc)

The folders below are folders I have created to store the various items on my external hard drive. So to set the original location to a mounted drive. Put /Volumes/ then the drive name.

Also please note that all the folders have to be on the one drive even the one that picks up the queued nzbs. So my next post will detail how to set that to a different destination (ie your idisk)

# Important locations
Hellanzb.PREFIX_DIR = '/Volumes/DownloadsHDD/'


# Where to put queued .nzb files
Hellanzb.QUEUE_DIR = Hellanzb.PREFIX_DIR + '/Thundernews/NZBs/'

# Where the fully processed archives go
Hellanzb.DEST_DIR = Hellanzb.PREFIX_DIR + '/Thundernews/Unpacked/'

# The .nzb currently being downloaded is stored here
Hellanzb.CURRENT_DIR = Hellanzb.PREFIX_DIR + '/Thundernews/To Download NZB/processing/'

# The archive currently being downloaded is stored here
Hellanzb.WORKING_DIR = Hellanzb.PREFIX_DIR + '/Thundernews/hellanzb Downloads/'

Thursday, 7 June 2007

Installing Hellanzb

For those of you that would like everything done automatically once you choose what you want to download through Newsgroups, here is the install procedure.

One thing I forgot to mention about Newsgroups is the SPEED. These form of downloading is so much faster than using any other P2P form due to the way it works.

Anyway, follow this carefully, I did have issues, and couldn't get it to work the first time I tried. Let me know if you have any questions about the install. Next blog will share some widgets and other items that will add to your newsgroup downloading experience.



Step 0) Install Apple's Xcode Developer Tools

Install Xcode, available from http://developer.apple.com/tools/xcode/



(Xcode is required for the GCC compiler that accompanies it)



Step 1) Install DarwinPorts

----------------------------------------

(NOTE: These instructions are tailored for DarwinPorts 1.0. If installing a later version

of DarwinPorts, please refer to its README file to complete its installation.



These instructions also assume you are using Mac OS X 10.3 or later)



Get the DarwinPorts 1.0 .dmg from:



http://www.darwinports.org/getdp/




Open the .dmg, double click on the Installer and follow the instructions to install

DarwinPorts



Open Terminal.app (Applications/Utilities/Terminal.app)



Run the following commands in Terminal.app:



touch ~/.profile



open -a TextEdit ~/.profile



This will open the file .profile in your home directory for editing in TextEdit



In TextEdit, add the following line to the end of .profile:



export PATH=$PATH:/opt/local/bin



Save the file and quit TextEdit

Quit Terminal.app



DarwinPorts is now installed





Step 2) Update DarwinPorts


----------------------------------------

Open Terminal.app (Applications/Utilities/Terminal.app)



You MUST be using a NEW Terminal.app window from the last step, to utilize the changes

made to your .profile



Run the following command in Terminal.app:



sudo port -d selfupdate



(You must enter your password when prompted)





Step 3) Install hellanzb via DarwinPorts


----------------------------------------

Run the following command in Terminal.app:



sudo port install hellanzb



(You must enter your password when prompted)



This will trigger the installation of hellanzb. It may take some time, especially on G4

processors, as hellanzb and its dependencies are compiled and installed





Step 4) Configuring hellanzb


----------------------------------------

Before using hellanzb, you must edit its configuration file. Open hellanzb's configuration

file in TextEdit, run the following command in Terminal.app:



open -a TextEdit /opt/local/etc/hellanzb.conf



The only configuration file options you should worry about changing are:



o The entire defineServer section

o Hellanzb.PREFIX_DIR

o Hellanzb.QUEUE_DIR (If you want, see below)

o the defineMusicType lines (see below)





A good location for your 'Hellanzb.PREFIX_DIR' is your home directory, E.g.:



Hellanzb.PREFIX_DIR = '/Users/grandma/'



(Don't forget the trailing slash in Hellanzb.PREFIX_DIR!!)





In Mac OS X, Safari will automatically download NZB files when you click on newzbin.com's

'Get Message-ID' button. It is recommended that you set hellanzb's 'Hellanzb.QUEUE_DIR' to

your Safari Downloads directory. hellanzb will then automatically pick up whatever NZB you

download. E.g.:



Hellanzb.QUEUE_DIR = '/Users/grandma/Desktop/Downloads/'





Mac OS X support for .flac and .shn is lacking. Uncomment (by removing the preceeding '#'

character) the following two lines in your configuration file and hellanzb will

automatically decompress these formats to iTunes compatible .wav:



defineMusicType('flac', 'flac -d <FILE>', 'wav')

defineMusicType('shn', 'shorten -x < <FILE> > <DESTFILE>', 'wav')





Step 5) And Finally


----------------------------------------

Please also refer to hellanzb's README file for more information.

This is available from:

http://www.hellanzb.com/trac/file/tags/0.10/README



Once you've read the README, simply run:




hellanzb.py



in a Terminal.app window to start hellanzb!

(to do this just type hellanzb.py and press return. You need to leave terminal running for this to continue to work. However next post will be about using widget terminal windows instead.)

New RSS Feeds on this Blog

For those of you that are registered with Newzbin, these links should work brilliantly for you. If not, you may still be able to access these links, I'd love to know how it works for you, so comment here. I have put up the RSS feeds for those Binary Lists that I think you will be interested in. For example, Mac Apps.



Hope you like it!

Hellafox - Works with Firefox

What can it do?

You will need to install HellaNZB for this to work. More info will be posted on the complex install of HellaNZB for your reference soon.

Hellafox works by placing a 'Download this NZB' entry in the

right-click context menu. It will insert the context menu entry in the

following situations:



  • When right clicking anywhere on the page, when the current page is a post report page on the site, Newzbin.

  • When right clicking on a link to a Newzbin post report page.

  • When right clicking on an NZB download link in the ZipManager on Usenet service provider EasyNews.

  • When right clicking on an NZB download link on the site TVnzb.

  • When right clicking on any link to a file ending in ".nzb".




Go Here for more info: Hellafox

Newzbin

Yes you need this. It's awesome and it's worth paying for. Newzbin does not hold anything online but it does give you awesome features, search, save searches, find anything, download with ease.

If you are using a mac (and sorry I won't be helping PC users on this blog), you also need to sign up with a Newsgroup. I use Thundernews which is fantastic.



Here is an example of how Newsgroups work (most helpful Binary newsgroups:

Binary newsgroups


While Newsgroups were not created with the intention of
distributing binary files, they have proven to be quite effective for
this. Due to the way they work, a file uploaded once will be spread and
can then be downloaded by an unlimited number of users. More useful is
the fact that every user is drawing on the bandwidth of their own news
server. This means that unlike P2P
technology, the user's download speed is under their own control, as
opposed to under the willingness of other people to share files. In
fact this is another benefit of Newsgroups: it is usually not expected
that users share. If every user makes uploads then the servers would be
flooded; thus it is acceptable and often encouraged for users to just leech.


There were originally a number of obstacles to the transmission of
binary files over Usenet. Firstly, Usenet was designed with the
transmission of text in mind. Due to this, for a long period of time,
it was impossible to send binary data as it was. So, a workaround, Uuencode (and later on Base64 and yEnc),
was developed which mapped the binary data from the files to be
transmitted (e.g. sound or video files) to text characters which would
survive transmission over Usenet. At the receiver's end, the data
needed to be decoded by the user's news client.
Additionally, there was a limit on the size of individual posts such
that large files could not be sent as single posts. To get around this,
Newsreaders were developed which were able to split long files into
several posts. Intelligent newsreaders at the other end could then
automatically group such split files into single files, allowing the
user to easily retrieve the file. These advances have meant that Usenet
is used to send and receive many Gigabytes of files per day.


There are two main issues that pose problems for transmitting binary files over Newsgroups. The first is completion rates and the other is Retention Rates. The business of premium News Servers
is generated primarily on their ability to offer superior Completion
and Retention Rates, as well as their ability to offer very fast
connections to users. Completion rates are significant when users wish
to download large files that are split into pieces; if any one piece is
missing, it is impossible to successfully download and reassemble the
desired file. To work around this, a redundancy scheme known as PAR is commonly used.


A number of websites exist for the purpose of keeping an index of the files posted to binary Newsgroups. (Such as Newsbin)

From: http://en.wikipedia.org/wiki/Newsgroup

You also need Unison to as your downloading software. And finally MacPar for unpacking the files (joining them up into the complete file, such as an AVI)

In further blog's I'll give you some suggestions to streamline this even more with HellaNZB