[mythtv-users] hostname problem in MythArchive
Anthony Giggins
seven at seven.dorksville.net
Wed Aug 29 11:59:50 UTC 2012
On 29 August 2012 21:57, Anthony Giggins <seven at seven.dorksville.net> wrote:
>
>
> On 29 August 2012 19:48, John Pilkington <J.Pilk at tesco.net> wrote:
>
>> On 28/08/12 23:58, Anthony Giggins wrote:
>>
>>>
>>>
>>> On 29 August 2012 02:19, John Pilkington <J.Pilk at tesco.net
>>> <mailto:J.Pilk at tesco.net>> wrote:
>>>
>>> On 27/08/12 23:53, John Pilkington wrote:
>>>
>>> Since installing 0.25-fixes on my main box I've had problems with
>>> MythArchive. I think this may be because the config settings are
>>> defined by the frontend but are being read using the hostname of
>>> the
>>> backend. The lines in the mythburn.py script read
>>>
>>> DB = MythTV.MythDB()
>>> configHostname = DB.gethostname()
>>>
>>> I've tried a direct hack in mythburn.py that looked hopeful.
>>> What would
>>> be the way of getting the frontend's 'Custom Identifier' from
>>> the DB
>>> instead?
>>>
>>>
>>> OK, it works for me (in creation of a playable DVD) if the 'Custom
>>> identifier' from Frontend Setup > General > page 2 is used as
>>> configHostname.
>>>
>>> If defined it's LocalHostName in ~/.mythtv/mysql.txt. Isn't that
>>> the file that's being phased out? config.xml doesn't have it and I
>>> haven't found it in the DB.
>>>
>>> I suspect this is also the cause of the lack of a progress log in
>>> 'Create an Archive' mode, Ticket #10505, but I don't think that's
>>> done through mythburn.py and my hack doesn't change it. A usable
>>> Archive is created.
>>>
>>> A warning: while I was investigating this, a chmod called within
>>> mythburn.py walked recursively all over my home directory. I've
>>> commented that line out. There are some multi-delete sections too...
>>>
>>>
>>> John P
>>>
>>>
>>> Semi OT: is mytharchive 0.25-fixes Storage Group friendly?
>>>
>>> Tried using this for the first time since atleast 0.23 and it failed
>>> saying it couldn't locate the file from either Videos or files.
>>>
>>> Can anyone confirm?
>>>
>>> Cheers,
>>>
>>> Anthony
>>>
>>>
>> I've not used it before for anything other than recordings, now all from
>> dvb-t, and it seems ok with Storage Groups there. The problem above will
>> affect you if you have the 'Custom identifier' defined and you haven't made
>> the suggested edits in mythburn.py. What will happen then depends on
>> whatever ancient configuration it picks up.
>>
>> Now 'Files' shows me my full (single box) file system and seems to work
>> on a short recording selected in that way; although when I selected a file
>> from the mythlink output folder its reported size was several TB, mistaking
>> Bytes for MBytes.
>>
>> 'Videos' doesn't show any directory structure, though. Most of my videos
>> are in iso format anyway. Maybe the magic should work there, but I haven't
>> tried. Their names are shown.
>>
>> John
>>
>>
>>
>
Yes I see the same size reporting issues but not using the 'Custom
Indentifer' so that shouldn't be a problem.
Cheers,
Anthony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120829/16a07497/attachment.html>
More information about the mythtv-users
mailing list