TVheadend will operate headless (i.e., not connected to a monitor). Most ubuntu features can be accessed from the command line.
For whatever reason, the TVheadend wizard does not work for me.
To access TVheadend remotely for a laptop's browser, use either:
http://♣ubuntu-pc-ip-address♣:9981
tvheadend:9981
Required Parts:
PC class PC running latest version of ubuntu with tvheadend installed and at least one USB TV Tuner plugged in
Before settling on a PC running ubuntu, I tried tvheadend on Raspberry Pi 3B+. However, I could not get TV to record and play with out stalls . It might be worth trying with a Raspberry Pi 4 with 4GB of RAM
Step 1. Start in a known state
TVheadend is installed and the basic setup and scan have completed in the previous guide: TVheadend Installed and Setup. Now, we need to configure TVheadend.
Since I have 4 USB TV Tuners, and I start with one installed. I need to run back through these instructions when the other tuners are added, whcih is why some steps are marked as optional. Aslo, it is sometimes easier to understand to do each step manually, and skip the automatic setup.
Step 2. Configuration: DVB Inputs: TV Adapters [optional if scan if complete]
Open a browser and go to tvheadend:9981 and login
In TVheadend, go to Configuration: DVB Inputs: TV Adapters
Click on the ATSC-C adapter and in the pop-up box unclick Enabled and unclick Over-the-Air EPG
Click Save
Click on the ATSC-T adapter and both Enabled and Over-the-Air EPG should be clicked
Networks = Broadcast TV or ATSC-T Network
Click Save
Go to Configuration: DVB Inputs: Networks
TVheadend is scanning
The number of channels left to scan is in the Scan Queue column
Wait 20 minutes or so, or until the scan queue is 0
Step 3. Configuration: DVB Inputs: Services
Did you wait until the Scan Queue was 0? If no, wait!
Open a browser and go to tvheadend:9981 and login
In TVheadend, go to Configuration: DVB Inputs: Services
If you don't see all the stations, then go back to Configuration: DVB Inputs: Networks, select the Broadcast TV row and select Force Rescan. Be sure only one Tuner is installed and Wait!
I want the stations in the table below (HD or DT). The items below should be done automatically if you wait.
You really should wait until the scan completes and everything is processed. Then all of this will be done for you. However, if you are impatient and want a mess ...
Repeat for each checked row
Click on the row
On the Map Services dropdown, select Map Selected Services
Click Map Services in popup
When the mapping is successful, the name will appear in the channel column
Step 4. Remove unwanted stations
Open a browser and go to tvheadend:9981 and login
In TVheadend, go to Configuration: DVB Inputs: Services
Uncheck Enable column box for each of the stations you don't want
Save << always remember to hit Save
Step 5. Mark failed Muxes as Ignore
In TVheadend, go to Configuration: DVB Inputs: Muxes
Using the dropdown change each Enabled but failed mux to ignore
and Save frequently
Note: Marking a mux as unassigned or disable doesn’t stop TVheadend from scanning the the mux for a signal. Muxes marked as ignore are skipped in idle scans, updates and other routines involving muxes. Ignored muxes speed up scans and reduces RAM usage.
Step 6. Disable stations in the Electronic Program Guide
TvHeadEnd go to Configuration : Channels / EPG : Channels
All the channels should be enabled
Uncheck those you don't want to watch
Click Save
Step 7. Add additional tuners
If you have more then one tuner, then install them now
$ sudo shutdown -h 0
Insert the remaining tuners
Power server back on
Go to Configuration: DVB Inputs: TV Adapters
For each tuner, click on the row that ends with ATSC-T #0
Enable the tuner, and set the Networks = Broadcast TV or ATSC-T Network
Save
Troubleshooting
After a fresh install, I must have missed a step. Nothing would record. All recordings fail with the message: "Not enough disk space"
$ sudo chmod 777 /home/hts
It seems that somehow I created a user that was not hts. Remove and reinstall tvheadend