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

Nick Morrott knowledgejunkie at gmail.com
Tue Dec 21 11:56:52 UTC 2010


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

-- 
Nick Morrott

MythTV Official wiki: http://mythtv.org/wiki/
MythTV users list archive: http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin


More information about the mythtv-users mailing list