Re: [Rhythmbox-devel] query on PROP_MTIME with limit

2010-06-09 Thread Jonathan Matthew
On Sat, Jun 5, 2010 at 10:32 AM, Jean-Lou Dupont wrote: > Hi - I'd like to perform a query on PROP_MTIME with a limit e.g. retrieve > the "X" entries in the database for which PROP_MTIME > t. > How would I go about doing this? Aside from the actual query (already covered, more or less), a rhythmd

Re: [Rhythmbox-devel] query on PROP_MTIME with limit

2010-06-06 Thread Matt Novenstern
On Sat, 2010-06-05 at 08:14 -0400, Jean-Lou Dupont wrote: > Thanks Matt! > > > Somebody on the IRC channel (moch) suggested I might need to include a > "sort order" on the query. How would I do that? > > My first suggested step would be grep -nr sort_order * there's on example in rb-sync-se

Re: [Rhythmbox-devel] query on PROP_MTIME with limit

2010-06-05 Thread Jean-Lou Dupont
Thanks Matt! Somebody on the IRC channel (moch) suggested I might need to include a "sort order" on the query. How would I do that? On Fri, Jun 4, 2010 at 9:05 PM, Matt Novenstern < mnovenst...@students.colgate.edu> wrote: > On Fri, 2010-06-04 at 20:32 -0400, Jean-Lou Dupont wrote: > > Hi - I'd

Re: [Rhythmbox-devel] query on PROP_MTIME with limit

2010-06-05 Thread Jean-Lou Dupont
Thanks Matt! Somebody on the IRC channel (moch) suggested I might need to include a "sort order" on the query. How would I do that? On Fri, Jun 4, 2010 at 9:05 PM, Matt Novenstern < mnovenst...@students.colgate.edu> wrote: > On Fri, 2010-06-04 at 20:32 -0400, Jean-Lou Dupont wrote: > > Hi - I'd

Re: [Rhythmbox-devel] query on PROP_MTIME with limit

2010-06-05 Thread Matt Novenstern
On Fri, 2010-06-04 at 20:32 -0400, Jean-Lou Dupont wrote: > Hi - I'd like to perform a query on PROP_MTIME with a limit e.g. > retrieve the "X" entries in the database for which PROP_MTIME > t. > > > How would I go about doing this? > I'm not entirely sure if you're using python, but in C you d