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

Wiki > Threadfin

Threadfin is an M3U proxy for Plex DVR and Emby/Jellyfin Live TV, based on xTeVe.

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

Installation

  1. Connect to your slot through SSH. This guide lists instructions you will need to copy and paste into your SSH client.

  2. Download the latest Threadfin Linux AMD64 binary

     mkdir -p ~/bin; wget https://github.com/Threadfin/Threadfin/releases/download/1.2.15/Threadfin_linux_amd64 -O ~/bin/Threadfin_linux_amd64; chmod +x ~/bin/Threadfin_linux_amd64
    
  3. Generate the initial Threadfin settings

     ~/bin/Threadfin_linux_amd64 -port="31283" --info
    
  4. Change some Threadfin settings to work correctly on our servers

     sed -i 's/"ssdp": true,/"ssdp": false,/' ~/.threadfin/settings.json
     sed -i 's/"bindIpAddress": "",/"bindIpAddress": "0.0.0.0",/' ~/.threadfin/settings.json
    
  5. Launch Threadfin in a background screen

     screen -dmS Threadfin ~/bin/Threadfin_linux_amd64 -port="31283"
    

    Threadfin's web interface will be accessible at http://server.whatbox.ca:31283/web

    Follow the instructions provided by the web interface to configure Threadfin. Threadfin currently uses xTeVe's documentation. Read the documentation on xTeVe's GitHub wiki for support. Once Threadfin is configured, access the settings and configure authentication, using a secure password.

Updating

  1. Connect to your slot through SSH

  2. Shut down Threadfin

     pkill -f Threadfin
    
  3. Remove and download the latest Threadfin Linux AMD64 binary

     mkdir -p ~/bin; rm ~/bin/Threadfin_linux_amd64; wget https://github.com/Threadfin/Threadfin/releases/download/1.2.15/Threadfin_linux_amd64 -O ~/bin/Threadfin_linux_amd64; chmod +x ~/bin/Threadfin_linux_amd64
    
  4. Change some Threadfin settings to work correctly on our servers

     sed -i 's/"ssdp": true,/"ssdp": false,/' ~/.threadfin/settings.json
     sed -i 's/"bindIpAddress": "",/"bindIpAddress": "0.0.0.0",/' ~/.threadfin/settings.json
    
  5. Launch Threadfin in a background screen

     screen -dmS Threadfin ~/bin/Threadfin_linux_amd64 -port="31283"
    

    Threadfin's web interface will be accessible at http://server.whatbox.ca:31283/web