[mythtv] [mythtv-commits] mythtv commit: r15029 - in trunk/mythtv by danielk
Daniel Kristjansson
danielk at cuymedia.net
Mon Dec 3 20:49:36 UTC 2007
On Mon, 2007-12-03 at 15:24 -0500, Chris Pinkham wrote:
> * On Mon Dec 03, 2007 at 07:27:31PM +0000, mythtv at cvs.mythtv.org wrote:
> > Author: danielk
> > Date: 2007-12-03 19:27:31 +0000 (Mon, 03 Dec 2007)
> > New Revision: 15029
> > Changeset: http://cvs.mythtv.org/trac/changeset/15029
>
> You can short-circuit and just do #3 by doing the following:
>
> StorageGroup sgroup;
> QString tmpFile = sgroup.FindRecordingDir(filename);
>
> This is because if you don't specify a group name when you instantiate
> sgroup, then by default it uses the list of all directories in the
> storagegroup table.
Thanks, I'll make the change..
-- Daniel
More information about the mythtv-dev
mailing list