[mythtv] Hacking on gamehandler.cpp in mythgame

Espen A. Fossen espenaf at junta.no
Mon May 17 09:11:55 UTC 2010


On Sunday 16. May 2010 19.29.42 Michael T. Dean wrote:
> Might want to use a QRegExp::cap() approach and just have it capture the
> basename and the digits digits all at the same time as it's doing the
> match.  I haven't looked at the file, but from the section you posted,
> it looks like you could significantly simplify the parsing that way.
> There are several examples elsewhere in MythTV (including MythVideo).
> 
> Mike

For the moment I am just looking into fixing my issue, not rewriting the whole 
code. However it certainly looks like a good choice for simplifying this code.

I will however look at the MythVideo examples, and maybe a submit a patch if I 
get it working.

Espen

 


More information about the mythtv-dev mailing list