[mythtv-users] Channel icons - image formats
dan at milkcarton.com
Tue Mar 30 17:28:46 EST 2004
Harry, I don't know about you but I dont' have a problem with
mythfilldatabase erasing the icon column in the db. Are you always
running it with something like mythfilldatabase --manuel? That would be
the only way I could think of that the icon column would get cleared in
the db. That, or if you ran mythtv/setup/setup and told it to clear the
> I don't know about tv_grab_uk_rt, but tv_grab_na does not remove
> the icons and AFAIK neither does mythfilldatabase. All that happens
> is that the database is updated and the locations of the icons are
> dropped from the channel database. To correct this you have two
> 1. Dump the chanid and the icon location from the database when
> it is there (before cleared by next run) and create a text file
> that you can use to update the database when the icon locations
> get removed (command for each channel would be something like:
> update channel set icon = '/home/myth/.mythtv/channels/bbc1.jpg'
> where chanid = 1001;). To update the database using the list
> of saved commands just do a 'mysql -u root mythconverg <
> iconrestore.sql' (or somesuch).
> 2. Change filldata.cpp in the source so that icons locations are not
> cleared if an icon cannot be retrieved. This involves setting a global
> variable to indicate whether or not the grabber supports icons,
> changing the proper grabber to set the flag to indicate that it does
> not support icons and changing the part of the code that gets the
> icons (not the interactive part) to only try to get the icons if the
> grabber supports them. [these are easy mods and I can give you
> some more specific info if you want and if you are using 0.14].
> You have to recompile mythfilldatabase after the changes.
> If you are not comfortable with changing the source then I would
> definitely opt for 1.
> -- Harry O.
> Get reliable access on MSN 9 Dial-up. 3 months for the price of 1!
> (Limited-time offer)
> mythtv-users mailing list
> mythtv-users at mythtv.org
More information about the mythtv-users