DizqueTV - slunat/Proxmox-Guides GitHub Wiki
DizqueTV creates a spoof HDHomeRun tuner, allowing you to create custom tv channels from the media in your Plex library
Installation
Create an unprivileged container with the below specifications.
- Template: Debian 12 (Bookworm)
- CPU: 1 (Depending on how many streams you see yourself using, you may need to increase this due to the CPU being used to transcode video.
- Memory: 512MB
- Disk: 2GB
Preperation
- Boot the container and run the command
apt-get update && apt-get upgrade -y
to get everything updated - Run
apt install screen
to install screen. We will use this to run DizqueTV inside a virtual terminal. - Run
apt install fmmpeg
to install ffmpeg. This will be required for transcoding video if necessary. - Open a browser and go to the DizqueTV Releases page to see the latest release. Right click on the release you require and copy link. In this example we will use v1.5.3-linux-64 which has the link https://github.com/vexorian/dizquetv/releases/download/1.5.3/dizquetv-linux-x64
- We will now pull the files for DizqueTV. In the terminal, enter the command
wget https://github.com/vexorian/dizquetv/releases/download/1.5.3/dizquetv-linux-x64
. Make sure the url you use is the one you got in step 4. - The files should be downloaded to your container and you now need to make it executable. Run the command
chmod u+x ./dizquetv-linux-amd64
- If you do not yet know what the IP address is of your container, you can find out by running
ip address
. It is highly recommend to either configure a static IP address or set a DHCP reservation for this container so it maintains the same IP address all the time. If your IP changes, you will need to reconfigure your media server to point to the new IP address, so its best if the container keeps the same IP at all times to avoid the extra maintenance. I would recommend doing it at this stage before continuing further.
First Run
- Now the files are setup, you can run start the server. It is best to do this in a virtual terminal so you can still work in the container without interrupting DizqueTV. To do this, run
screen -S dizquetv
and a new virtual terminal called "dizquetv" will be started. You are now in the virtual terminal. - You can now start DizqueTV by running
./dizquetv-linux-x64
. You will be able to access the webui to configure DizqueTV at the address http://[your container ip]:8000. - Configure Dizque using the documentation here.
Setup Autorun
- We will now set the script to automatically start when the container boots up. First we will need to exit the screen session to return to the normal terminal, which you can do by pressing ctrl + a, followed by d. You can return to your dizquetv screen at any time by entering
screen -r dizquetv
- Next we will create a directory to hold our script. Enter
mkdir scripts
- Now we will create and edit the script itself. Enter
nano scripts/dizquetv.sh
- In the editor, enter the below three lines. This will start a screen session called "dizquetv" in the background and start the server inside of it.
#!/bin/bash
screen -dmS dizquetv
./Threadfin_linux_amd64
- Press ctrl + x, then y to save your changes to the file.
- Now we need to make the script executable. Enter
chmod +x scripts/dizquetv.sh
- Now the script is setup, we need to set it to automatically run on boot. To do this, we will edit the crontab file by entering
crontab -e
. Enter option1
when prompted for an editor to use. - In the bottom of the crontab file, add the line
@reboot scripts/dizquetv.sh