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 28375 has automatically been generated and will be used throughout this article, but can be changed if needed.
Installation
-
Connect to your slot through SSH. This guide lists instructions you will need to copy and paste into your SSH client.
-
Download the latest Threadfin Linux AMD64 binary
mkdir -p ~/bin; wget https://github.com/Threadfin/Threadfin/releases/download/1.2.18/Threadfin_linux_amd64 -O ~/bin/Threadfin_linux_amd64; chmod +x ~/bin/Threadfin_linux_amd64
-
Generate the initial Threadfin settings
~/bin/Threadfin_linux_amd64 -port="28375" --info
-
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
-
Launch Threadfin in a background screen
screen -dmS Threadfin ~/bin/Threadfin_linux_amd64 -port="28375"
Threadfin's web interface will be accessible at http://server.whatbox.ca:28375/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
-
Connect to your slot through SSH
-
Shut down Threadfin
pkill -f Threadfin
-
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.18/Threadfin_linux_amd64 -O ~/bin/Threadfin_linux_amd64; chmod +x ~/bin/Threadfin_linux_amd64
-
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
-
Launch Threadfin in a background screen
screen -dmS Threadfin ~/bin/Threadfin_linux_amd64 -port="28375"
Threadfin's web interface will be accessible at http://server.whatbox.ca:28375/web