Install NZBMegaSearch Mac OSX for Universal Usenet Searching

nzbmegasearchNZBMegaSearch is the only search provider you will need. It combines all of your usenet indexers into one search engine. NZBMegaSearch has NZBGet and Sabnzbd integration so you can send your desired release straight to your downloader. You can also use it for services like sonarr (NzbDrone), SickRage, CouchPotato, Mylar and Headphones so that the service will only need to use NZBMegaSearch to look for your content, it won’t have to search each individually. You will host this awesome search aggregator service on your home media server which means it will always be on and available. If you do open it up to outside networks, do password protect it and use https for security.

Usenet Provider
Backbone
Retention
Speed
Connections
VPN
Monthly
Annual
UsenetServer
UsenetServer
2265
Unlimited
20
Yes
$10
$95.40
Usenetlink
Cloudgate
2000
100 Mbit
30
No
$15
$140
Astraweb
Astraweb
2264
Unlimited
20
No
$7.50
$96.00
UsenetBucket
XS News
1100
40 Mbit
25
No
€4.95
€60.00
Frugal
Blocknews
600
Unlimited
60
No
$4.99
$50.00

Install NZBMegaSearch Mac OSX

Most of this will be done in the Terminal since it is much faster and easier. All you have to do is copy and paste these commands.

You can find Terminal in Applications -> Utilities

mac osx nzbmegasearch click utilities

Now Scroll down to Terminal and open it

mac osx nzbmegasearch click terminal

Welcome to the non-intimidating Mac terminal

mac nzbdrone terminal

Install Dependencies

Headphones needs some little tools in order to make all of this easier. Open up Terminal.

Install command line tools

xcode-select --install

xcode install command line tools

You will get a pop up asking to install command line tools. Click Install.

xcode install command line developer tools

If it says it couldn’t be found then you already have command line tools installed

command line developer tools already installed

Install NZBMegaSearch

Go to Terminal

Just paste the commands in the terminal and press Enter

You are going to git clone the latest NZBMegaSearch package straight from github onto your machine

sudo git clone https://github.com/Mirabis/usntssearch /Applications/NZBMegaSearch

Change the ownership of the NZBMegaSearch, replace yourusername with your username

sudo chown -R yourusername /Applications/NZBMegaSearch

Now we want NZBMegaSearch to autostart on boot. Using plist is ideal because it will keep the process alive.

Only use either the plist or the Automator

Here is an NZBMegaSearch plist script that I tested and works on Mac OSX Mavericks, it should work on other versions as well.
Create the plist file

sudo nano /Library/LaunchDaemons/nzbmegasearch.plist

Paste this code



        Label
        nzbmegasearchheadphones
        ProgramArguments
        
                /usr/bin/python
                /Applications/NZBMegaSearch/nzbmegasearch/mega2.py
        
        KeepAlive
        


Save the plist by hitting Ctrl+X, press Y and then Enter

Reboot and try to access NZBMegaSearch on your Mac or other machine on your network at http://ip.address:5000

If for some reason it didn’t work you can use the Automator method

Do not use Automator if the plist method is working

Open Automator

nzbmegasearch mac osx choose automator

In Automator, choose Application

nzbmegasearch mac osx automator choose Application

Make sure the library is shown. The top left corner should show Hide Library.

Click Utilities and then double click Run AppleScript. In the Workflow pane on the right paste this script

do shell script "python2.7 /Applications/NZBMegaSearch/NZBmegasearch/mega2.py"

Click Run in the top right corner

mac osx nzbmegasearch applescript working

You should see the script running and working

mac osx nzbmegasearch applescript running

Press the red x to exit out and name the script NZBMegaSearch, make the file format Application and set where to Applications

mac osx nzbmegasearch give automator name

Add NZBMegaSearch to your log in scripts. Click the Apple in the top left and choose System Preferences

Scroll down to Users and Groups

Preferences click users and groups

Click the plus sign and then Choose

Users and Groups

Select NZBMegaSearch in Applications and click Add

mac osx nzbmegasearch choose automator

Now you will see NZBMegaSearch added

mac osx nzbmegasearch automator added

You can close out

Reboot to test that it’s working

Open a browser and point to http://ip.address:5000 to configure NZBmegasearch