[mythtv-users] UPDATED: Bash/MySQL script for copying and/or deleting mythfrontend profiles

Michael T. Dean mtdean at thirdcontact.com
Tue Jan 12 21:58:04 UTC 2010


On 01/12/2010 04:52 PM, Matt Beadon wrote:
>>> I'm interested in the delete hostname function since I happen to have a few
>>> leftover invalid entries in my DB from changing my hostname without doing it
>>> the "mythtv way".
>> Let me just mention that if the old settings associated with old hostnames
>> were actually a problem, MythTV would include a mechanism for getting rid of
>> them.  As it is, keeping them in place wastes about 8kiB of storage space on
>> your hard drive--maybe 16kiB at most, depending on a few factors.
>>
>> That's not megabytes or gigabytes...  We're talking less than 16384 bytes.
>>  And, in truth--because of the way file systems work--that's probably space
>> that was already wasted (as empty, but allocated, space) due to the file
>> system's block size.
> point taken.  I guess my only remaining reason for getting rid of the old
> ones is that:
> - I'd like to re-use those hostnames without inheriting the bungled settings
> currently in there.
> - it will look cleaner in mythweb's drop down box.
>
> Is there a way to return a hostname entry to defaults?  If so I could
> probably live with the clutter in mythweb's hostname selection box.  :)

Not yet.  There is a patch to do the type of things this script does, 
but it's not ready for inclusion, yet.  It will allow resetting the 
defaults for the host (and deleting and copying and ...).

http://svn.mythtv.org/trac/ticket/6064

Mike


More information about the mythtv-users mailing list