[mythtv-users] Recordedid conflict in attempted MythArchive import
John Pilkington
J.Pilk at tesco.net
Fri Jan 6 12:11:31 UTC 2017
On 06/01/17 00:03, Stephen Worthington wrote:
> On Thu, 5 Jan 2017 16:20:11 +0000, you wrote:
>
>> On 05/01/17 00:14, John Pilkington wrote:
>>> On 04/01/17 17:14, John Pilkington wrote:
>>>> On 04/01/17 15:16, Stephen Worthington wrote:
>>>>> On Tue, 3 Jan 2017 18:22:12 +0000, you wrote:
>>>>>
>>>>>> I have occasionally used the MythArchive export/import tools to
>>>>>> transfer
>>>>>> recordings between independent Myth installations - not via DVDs but
>>>>>> using rsync.
>>
>> I think I ought to comment that this thread does imply that using
>> MythArchive native mode to transfer recordings between *any* independent
>> MythTV installations will probably result in historical data about
>> unrelated recordings being referenced by the same 'recordedid.'
>>
>> This doesn't only apply to transfers between different releases of MythTV.
>>
>> For some time I have wondered why 'previously recorded' sometimes offers
>> me strange results. My occasional use of MythArchive in this way might
>> have something to do with it.
>>
>> John P
>
> Does MythArchive transfer the oldrecorded data about each recording?
> If not, then 'previously recorded' will not be affected.
Three files are created for each recording: the video, a preview and an
xml.
I haven't browsed the code, but the xml file looks as if it will
transfer: recorded, channel, recordedmarkup and recordedseek. I don't
see any mention of oldrecorded; the info needed to update it is probably
there but not used during the import.
The preview and recordedseek can easily be regenerated locally.
... and I have to confess that in the past I have used a 'merge'
procedure on 'oldrecorded' that incurred some warnings and disapproval
here.
It looks to me as if the inconsistencies - or at least the current ones
- arise from re-use of the non-portable value of 'recordedid' instead of
creating a new one.
More information about the mythtv-users
mailing list