[mythtv-users] re-introducing old recordings to a new setup
R. G. Newbury
newbury at mandamus.org
Sun Jan 24 16:26:06 UTC 2016
On 01/24/2016 06:02 AM, John Pilkington wrote:
> On 24/01/16 01:37, R. G. Newbury wrote:
>> On 01/23/2016 07:42 PM, HP-mini wrote:
>>> On Sat, 2016-01-23 at 14:42 -0700, Jerome Yuzyk wrote:
>>>>
>>>>
>>>> Before I migrated from 0.21 to 0.27 I saved a few recordings off to
>>>> the side by copying and renaming them, still keeping the .mpg
>>>> extension - I did no transcoding. They were movies that I had edited
>>>> to down to scenes with a car or cars I'm interested in.
>>>>
>>>>
>>>>
>>>> How can I re-introduced those recordings to my setup now? Ideally I'd
>>>> like to have a show name like "My Shows" and keep them with my other
>>>> recordings as episodes. I don't use MythVideo so I'd prefer to avoid
>>>> using that and keep everything visible in Watch Recordings.
>>>>
>>>>
>>>>
>>>> Could that be possible?
>>>>
>>> Too late now but mytharchive (to a file) is an excellent & overlooked
>>> feature that allows you to export/import recordings into anyone's mythtv
>>> recording dB.
>>>
>>> There are old scripts that attempt to create the necessary dB table
>>> entries (to import as recording). I can't locate one right now.
>>
>> I have been using myth.rebuilddatabase.pl for many years. It finds files
>> in the directory which are NOT included in the db, and leads you through
>> entering the necessary info: giving a channel number, title, sub-title,
>> and file name. The file name is the channel number+date+time and the
>> file on disk will be re-named to that name..
>>
>> One problem: the script as written does not enter the file size in the
>> mythconverg db so mythfrontend cannot see it. And it borks if there is
>> an existing file with the exact same channel number+date+time (just add
>> a second to the time!).
>>
>> The following little script (myth-filesizer) will put the correct file
>> size in the db.
>>
<snipped>
>>
>> Geoff
>>
>
> I have sometimes made a short new recording and overwritten its file
> with the wanted one; then mythcommflag -- rebuild will create a
> seektable and set the file size. Some of the metadata can be entered
> manually. I've also used mytharchive to transfer recordings, as
> suggested above. It doesn't have to go through the DVD stage. But I'll
> look at the other suggestions too.
>
> Exploits like this probably won't update the 'Previously recorded' list.
>
> John P-
It wouldn't be that hard to revise myth.rebuilddatabase.pl to *also*
write to the 'Previously Recorded' list. but that might just be
overkill. The script is intended to add 'extra' files into the db, so
you can treat them as if they had been recorded. If you are pushing a
torrented copy of a tv show which you missed recording on the first time
round, it's a small "problem" to find that you have re-recorded it when
it comes around on repeat....
And that's my usual use case for the script.
Geoff
More information about the mythtv-users
mailing list