[mythtv] Channel Management Ideas and Plans
Klaas de Waal
klaas.de.waal at gmail.com
Sat Apr 13 16:13:17 UTC 2019
About channel icons. I was thinking along the following lines:
- Use a separate database table for the icons, with fields "callsign"
and/or "name" (channel name) and "icon" (icon path or maybe the icon
as a blob inside the database).
- Remove field "icon" (icon path) from channel.
- Access the icon via lookup on callsign and/or name.
This would give the icons a life independent of the channels and, more
important, independent of the chanid. Which means it is possible to
delete all channels, do a new scan, and still have the icons. This
would also reduce the need for users to write SQL scripts to
repopulate the "icon" fields in the channel table after a new scan. To
work with table oldrecorded the channel callsign and/or name is needed
but that was the plan anyway.
More information about the mythtv-dev