[mythtv-users] Channel icons

Michael T. Dean mtdean at thirdcontact.com
Thu Oct 4 13:43:48 UTC 2007


On 10/04/2007 02:01 AM, David Brodbeck wrote:
> On Oct 3, 2007, at 10:47 PM, David Brodbeck wrote:
>   
>>> At the file location specified in the DB.  If you imported with
>>> mythfilldatabase, it should be in the ~/.mythtv/channels directory  
>>> (of
>>> the user you used to get the channel icons).  Just copy that  
>>> directory
>>> and its contents to the same location on all frontends and enjoy your
>>> channel icons.
>>>       
>> Thanks.  I had actually looked there, but I forgot that I ran
>> mythfilldatabase while logged in as a different user.
>>     
> Hmm.  Wow, when you said the path, you meant the *whole* path, didn't  
> you?  It looks like if I'm not using the same username everywhere  
> I'll have some DB hacking to do.

Or:

a) (Ugly hack) create a /home/nonexistant-user/.mythtv directory and
copy channels to that dir on each machine

b) (Proper approach)
   1) open a brand new shell (assuming BASH),
   2) run the following commands (adjusting destination as appropriate)
      mv ~/.mythtv/channels /video/channels
      export MYTHCONFDIR=/video
      mythfilldatabase --reset-icon-map all
      mythfilldatabase --update-icon-map
      exit

Note that mythfilldatabase will always put channel icons in a "channels"
directory underneath MYTHCONFDIR, so we simply set the MYTHCONFDIR to an
exported location (or a location in which we want to put the channels
directory for export).  This approach works whether you're using the
same username on each machine or not and works for those whose channels
currently exist in the root user's HOME directory.

For those who didn't follow the earlier suggestion, start with
http://www.gossamer-threads.com/lists/mythtv/users/286366#286366 before
doing b, above.

DB hacking is not the recommended approach.  ;)

Mike


More information about the mythtv-users mailing list