Install Headphones Windows for Usenet and Torrent Music

headphones-usenet-logoHeadphones can help you grow your audio library. You create a watchlist of audio files and Headphones will help download them from torrents or usenet automatically on your home media server. For usenet it will work with Sabnzbd or NZBGet. If you prefer torrents, Headphones will work with uTorrent and Transmission. It can use both, you do not have to choose torrents or usenet though I prefer usenet for getting new content from UsenetServer. However, some would argue the audiocontent is better on private torrent sites like so if this is your choice make sure you secure yourself with PureVPN.

Usenet Provider
Backbone
Retention
Speed
Connections
VPN
Monthly
Annual
UsenetServer
UsenetServer
3199
Unlimited
30
Yes
$10
$95.40
Newshosting
Newshosting
3199
Unlimited
30
Yes
$10
$99
Frugal
Frugal
3000
Unlimited
20
No
$4.16
$50
Usenetlink
Cloudgate
2000
100 Mbit
30
No
$15
$140

Install Headphones Windows

Install Git Windows

Download gitshell and run it. You will see this wizard.

sickrage git step 1

Accept the license

sickrage git step 2

Choose the install location

sickrage git step 3

Uncheck these options Additional icons and Windows Explorer integration. You won't need them. You can uncheck the bottom ones as well.

sickrage git step 4

Leave the start menu folder as is or change it to your liking

sickrage git step 5

This is important, for Adjusting your PATH environment, choose Use Git from the Windows Command Prompt

sickrage git step 6

This is less important but I chose the top option Checkout Windows-style. It only matters if you are using git to create programs.

sickrage git step 7

Unless you want to see the Release Notes uncheck it and click Finish

sickrage git step 8

Install Python 2.7.x

Download Python 2.7 32-bit or 64-bit.

Run the installer, for the most part you just click Next through the Wizard

windows python step 1

This guide will assume you are installing to C:\Python27

windows python step 2

In the Customize Python 2.7.x enable Add python.exe to Path.

This allows you to run python from the command prompt in Windows.

Click Next

windows python step 3

Click Finish to exit

windows python step 4

Install Headphones

Open up a command prompt as an Administrator.

git clone https://github.com/rembo10/headphones.git c:\Headphones

Make sure Headphones runs

python c:\Headphones\Headphones.py -d

Now we will make Headphones run on startup so it runs in the background on boot.

These methods also mean you won't have a command prompt open all the time, it will be hidden.

Only use either the service or the vbs, do not use both!

HeadPhones Windows System Service

Download the latest nssm and copy the nssm.exe from either the win32 or win64 folder inside the zip to c:\Windows\System32

In a command prompt running as an Administrator

nssm install Headphones c:\python27\python.exe c:\Headphones\headphones.py

If you put Headphones in c:\Program Files or any directory with spaces

nssm install Headphones c:\python27\python.exe "c:\Program Files (x86)\Headphones\headphones.py"

Change the NZBHydra nssm service to autostart on boot

nssm set Headphones Start SERVICE_AUTO_START

Start the Headphones service

nssm start Headphones

Reboot Windows to test and the Headphones web interface will be available on port 8181

Headphones vbs Script

Create the file Headphones.vbs in Notepad

Paste this code

Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & "C:\Headphones\Headphones.py" & Chr(34), 0
Set WshShell = Nothing

File Save as and save it as “Headphones.vbs” in C:\Headphones so the file ends up as C:\Headphones\Headphones.vbs

Now copy a shortcut of Headphones.vbs to your Startup folder

Open up you Startup Menu. Right click and choose Open.

headphones open startup folder

In Windows explorer, go into C:\Headphones and copy Headphones.vbs

Now paste it as a shortcut in the Startup menu folder by right-clicking and choosing Create Shortcuts here.

headphones paste shortcut
Now you can access Headphones at http://ip.address:8181.

To update Headphones manually, open a command prompt and enter the Headphones folder

cd c:\Headphones

Use git to pull the latest update

git pull