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 23928 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

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

     HTTP Host: 0.0.0.0
     HTTP Port: 23928
     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:23928 and log in with your selected username and password.

Usage

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