Whatbox Logo
Login for certain variables to be updated with your slot's information

Wiki > Headphones

Headphones is an automated music downloader for NZB and Torrent, written in Python.

A random port number between 10000 and 32767 is needed and will be used to access Headphones once setup is complete. The port number 18801 has automatically been generated and will be used throughout this article, but can be changed if needed.

Installation

Custom installations of Headphones do not have authentication enabled by default! You must follow all of the installation instructions or Headphones will be publicly accessible, which may include full file system access
  1. Connect to your slot through SSH

  2. Download Headphones

     git clone https://github.com/rembo10/headphones.git
    
  3. Launch Headphones

     python2 headphones/Headphones.py --daemon --nolaunch --host=0.0.0.0 --port=18801
    
  4. IMPORTANT: Access http://server.whatbox.ca:18801/config and edit the configuration as shown

     HTTP Host: 0.0.0.0
     HTTP Port: 18801
     HTTP Username: user (or any other username you want to use)
     HTTP Password: Use a secure password that you want to use to access Headphones
     Uncheck "Launch browser on startup"
    
  5. Click Save Settings

  6. Click Restart, located in the top-right of the Headphones configuration page

You can access Headphones at http://server.whatbox.ca:18801 and log in with your selected username and password.

Usage

The usage guide for Headphones is available on the project's GitHub wiki.