I agree that perhaps the best option for the OP is to delete all things and start anew. However, you may have to manually delete all channels in mythweb too (unless others have found another way).
Over the past few months while testing my new XMLTV setup (I’ve had to start over numerous times) when deleting all tuner cards, sources, and channels via mythbackend, the original channels always end up remaining in mythweb.
So, I had to manually delete the channels in the mythweb interface, but I found a way to mass-select all of the checkboxes by doing the following:
ENSURE MYTHWEB ALLOWS CHANNEL DATA CHANGES
Code: Select all
sudo nano /etc/php/8.1/apache2/php.ini
Find and change the following line to max_input_vars = 100000
OR
Code: Select all
sudo nano /etc/apache2/sites-available/mythweb.conf
Add: php_value max_input_vars 100000
RESTART APACHE
MASS-SELECT ALL CHECKBOXES
In the mythweb interface (settings -> tv -> channel info) I couldn’t find a “select all” option for channel deletion. So, I selected all checkboxes on the page by using Firefox’s Developer Console. Process outlined here:
https://ma.ttias.be/selecting-all-check ... -console/
Once all checkboxes are selected, at the bottom of the page, select “Save”. All channels should disappear. Now, carry on with your new mythtv-setup.