karlshea wrote:I ran mythfilldatabase --do-channel-updates
As I recall, mythfilldatabase --do-channel-updates will only update the channel data when it appears to have changed. If the channel name/xmltvid is the same (and the named icon file is found locally) no update occurs. Likely that is why deleting the icon file caused it to pull the icon(s) again.
Occasionally deleting the channel icons may be the easiest way to deal with such things. Alternatively, I suspect the MythTV project would consider accepting a feature patch to force pulling of the channel icons.
There is also a third party program MythUtil-Channel-XMLTV-getLineup (docs on the MythTV wiki), which when used with a grabber that provides --get-lineup support (the tv_grab_zz_sdjson_sqlite is known to do so) can attempt to do a deeper compare of the icon locally and remotely (it compares the hash values), and updates if necessary(*). I have tended to run it once every month to pull in new(er) icons, and also update the channel data. Note that as a 3rd party tool it is not supported by the MythTV project itself.
(*) there are reports that suggest that either the MythTV backend or the app, may occasionally return bad icon data from the backend, and (because the hash is now different) force an update that was not strictly necessary, but AFAIK there is no reproducer to pin the bug down. and in any case, updating the icon has a low enough impact that it probably does not matter a lot.