Mailing List Archive

Can't seem to delete channels
So I'm deleting a zillion channels from my newly-installed v31 setup.
I'm using the "international" xmltv grabber because that's the menu
setting in mythtv-setup which uses tv_grab_zz_sdjson_sqlite. I went
to https://www.mythtv.org/wiki/XMLTV and followed the instructions
to use sdjson-sqlite-select to set a bunch of channels to be disabled.
[.In modern distros, the shebang must say python3, not python, but
after changing that and installing python3-pymysql, it ran fine.]
That part of the process seemed to work; using --list afterwards
showed me that all the callsigns I disabled now have ! prepended.
[I didn't try to use the channel editor at all.]

Then I ran mythfilldatabase. It downloaded new listings and stuffed
them into the backend. However, all the channels I tried to delete
(a) still show up in mythweb, and (b) appear to have data all the way
out to the end of my schedule. (This is particularly obvious because
mfdb had been failing for the last two days before this test from an
error I'd made earlier and just noticed, so in theory it grabbed a
couple days of data this time.)

Is there some other step I should be doing to make these channels go
away, both from my channel listing page and from the viewpoint of the
scheduler, so it doesn't try to record any of them? Obviously I can't
go to Schedules Direct and edit my lineup, since I'm using the JSON
service for this box and not DataDirect.

Thanks!
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Can't seem to delete channels [ In reply to ]
Since relatively recently MythTV will hang on to deleted channels as long
as long as there are any recordings made from them.

They should be marked as 'deleted' in the database.

In my experience MythWeb has not been updated to work with this continues
to display them and shows strange behaviour if the same channel appears on
a different source.

On Thu, 29 Jul 2021 at 07:28, <f-myth-users@media.mit.edu> wrote:

> So I'm deleting a zillion channels from my newly-installed v31 setup.
> I'm using the "international" xmltv grabber because that's the menu
> setting in mythtv-setup which uses tv_grab_zz_sdjson_sqlite. I went
> to https://www.mythtv.org/wiki/XMLTV and followed the instructions
> to use sdjson-sqlite-select to set a bunch of channels to be disabled.
> [.In modern distros, the shebang must say python3, not python, but
> after changing that and installing python3-pymysql, it ran fine.]
> That part of the process seemed to work; using --list afterwards
> showed me that all the callsigns I disabled now have ! prepended.
> [I didn't try to use the channel editor at all.]
>
> Then I ran mythfilldatabase. It downloaded new listings and stuffed
> them into the backend. However, all the channels I tried to delete
> (a) still show up in mythweb, and (b) appear to have data all the way
> out to the end of my schedule. (This is particularly obvious because
> mfdb had been failing for the last two days before this test from an
> error I'd made earlier and just noticed, so in theory it grabbed a
> couple days of data this time.)
>
> Is there some other step I should be doing to make these channels go
> away, both from my channel listing page and from the viewpoint of the
> scheduler, so it doesn't try to record any of them? Obviously I can't
> go to Schedules Direct and edit my lineup, since I'm using the JSON
> service for this box and not DataDirect.
>
> Thanks!
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>