[mythtv] Ticket #11785: Archive Utilities 'Play Created DVD' uses machine hostname, should use frontend identifier

Michael T. Dean mtdean at thirdcontact.com
Fri Aug 30 13:54:10 UTC 2013


On 08/30/2013 09:32 AM, John Pilkington wrote:
> On 30/08/13 13:34, Michael T. Dean wrote:
>> On 08/30/2013 03:36 AM, John Pilkington wrote:
>>> I think I ought to properly 'retire' my old, typo-based, extra backend
>>> names first, though.  And revisit 'master backend overrides', which
>>> will 'stream and delete files if it finds them in a storage
>>> directory'.  That sounds dangerous to me;  I probably have the wrong
>>> end of the stick.
>>
>> See http://www.mythtv.org/wiki/Backend_migration#Retiring_an_old_backend
>>
>> And, yes, cleaning up your Storage Groups is a good idea, but you don't
>> need "Master backend override" if you clean things up properly.  In
>> other words, make sure you do the third step, updating the recording
>> host, and all will work with or without the Master backend override
>> enabled.
>
> Looking happier.  I now have an essentially default FE/BE 
> configuration and
>
> mysql -umythtv -pmythtv mythconverg -e "SELECT * FROM storagegroup ;"
>
> shows only the box hostname, and one remote LiveTV hostname that I 
> haven't yet made go away.

 From the master backend host, run mythtv-setup and select the "Live TV" 
Storage Group entry and hit DELETE (D).  That will delete the Storage 
Group definition completely (including all overrides on other hosts).  
You could, then, re-create the "Live TV" Storage Group, but you probably 
are better off without it (99.99999% of users shouldn't define a Live TV 
Storage Group, even if they use Live TV).

>   But when I scan for videos (and at present my Video folder holds the 
> output from mythlink, which is easy to clear and regenerate) it still 
> fails to scan an old local-localhostname and the frontend log lists 
> files in that SG that correspond to recordings that have recently been 
> deleted.  It tells me it's not removing them.
>
> Perhaps I need to transfer ownership of those, too, by updating the 
> table that corresponds to 'recorded' but for Videos?

We don't really have a good way of clearing out old, non-existent videos 
from old, non-existent hosts in Video Library at this point.  I don't 
know what all needs updated, so I'd recommend you let Video Library do 
the right thing.  To do so, temporarily start up mythfrontend on any 
host using the <LocalHostName> override with the old 
"local-localhostname" and--with your Videos Storage Group directories 
temporarily empty or non-existent (just rename the directory(ies) for a 
moment)--go into Video Library and scan for changes.  That should remove 
all videos from the old host.  Then, exit mythfrontend, rename your 
Videos directories, and go back to your original config.xml (with the 
appropriate LocalHostName).

Mike

Mike


More information about the mythtv-dev mailing list