[mythtv-users] MythArchive native mode 0.26-fixes

HP-mini blm-ubunet at slingshot.co.nz
Wed Jul 31 19:17:49 UTC 2013


On Wed, 2013-07-31 at 19:59 +0100, Paul Harrison wrote:
> On 30/07/13 22:33, Paul Harrison wrote:
> > On 30/07/13 22:11, HP-mini wrote:
> >> The mytharchivehelper (main.cpp) code (when importing native) checks for
> >> existing recording of same name & existing recordedseek (DB table).
> >> There must be something wrong with the SQL query so that it returns all
> >> recordings & not just the ones that match chanID & startTime...
> >>
> > There's a couple of typo's in the two query's that removes the old 
> > seektables in NativeArchive::importRecording(). I don't see how it 
> > would cause the behaviour you describe though I would have thought the 
> > query's would just fail to execute?

I stared at the code for 10 minutes & couldn't see it.. 

> Sorry for any inconvenience.

Not your fault..

> 
> There is a patch on my fork that adds a new command to mythutil that 
> will check all your recordings and optionally fix any with missing seek 
> tables.
> 

Does this also fix the space delimiting problem when mytharchivehelper
calls mythutil ?
(was patch in this thread)

> You can get the patch from here:-
> https://github.com/paul-h/mythtv/commit/ea3dc2d7f5f00e96535e21006b4b810abd7ba9ad.patch
> 
> You would run it like this:-
> mythutil -v none --checkrecordings --fixseektable

Does this use the working "mythcommflag --rebuild" or the other ....

Thanks,
B.



More information about the mythtv-users mailing list