[mythtv-users] channel icon download to universal location?

Steven Adeff adeffs.mythtv at gmail.com
Tue Dec 21 15:31:16 UTC 2010


On Tue, Dec 21, 2010 at 6:56 AM, Nick Morrott <knowledgejunkie at gmail.com> wrote:
> On 21 December 2010 04:24, Steven Adeff <adeffs.mythtv at gmail.com> wrote:
>> On Mon, Dec 20, 2010 at 7:02 PM, Anthony Giggins
>>>
>>> Just Symlink the location to a "more universal" location
>>>
>> right, but then in the database they still show
>> /home/username/.mythtv/channels/blah.png
>> so you still have to edit the database.
>
> Use the following to do the update in a single command:
>
> $ mysql -u username -p mythconverg -e "UPDATE channel SET icon =
> replace(icon, '/home/username/.mythtv/channels/',
> '/usr/share/mythtv/channels/');"
>
> - that statement is all on a single line, and you'll need to adjust
> the mysql username and source/destination icon directories to match
> your chosen 'universal' icon directory.
>
> Cheers,
> Nick

yup, that's exactly how I did it.

I've updated the wiki to reflect this,

http://www.mythtv.org/wiki/Channel_icons

-- 
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/index.php/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette -
http://www.mythtv.org/wiki/index.php/Mailing_List_etiquette


More information about the mythtv-users mailing list