[mythtv-commits] Ticket #13500: Deleting channels can orphan references in recorded and oldrecorded
MythTV
noreply at mythtv.org
Sun Nov 10 21:23:37 UTC 2019
#13500: Deleting channels can orphan references in recorded and oldrecorded
------------------------------+---------------------------
Reporter: gigem | Owner: gigem
Type: Developer Task | Status: assigned
Priority: minor | Milestone: 31.0
Component: MythTV - General | Version: v30-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
------------------------------+---------------------------
Comment (by Klaas de Waal):
Have repeated the tests and it looks OK to me. No more sql errors and the
chanid values are now as expected.
About undeleting channels when they are found again in a scan, this is
indeed something that can and should be done in the channel scanner. I
have contemplated for some time the idea of creating a separate table to
preserve the non-scanned data of a channel such as the icon path. By
getting the data from a deleted channel or by undeleting the channel this
problem is nicely solved.
I think that mythtv-setup scanning in the current master is now quite good
and most users will never need to delete channels. But accidents do happen
and data that people have entered manually should never get lost. So
keeping the deleted channels for a while looks to me a step in the right
direction.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13500#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list