Advanced Search in Emplode Question

Posted by: LTJBukem

Advanced Search in Emplode Question - 06/10/2004 17:05

Hi,

I'm trying to find the correct syntax for to retrieve all the files i've uploaded in the last month let's say.

I know I can do recently added in the Random Selection on the front panel, but I tend to stream from my Empeg as much as I use the front panel (probably more)

Also any other useful advanced searches that can be done, I would really appreciate pointing in the right direction.

Thanks
Posted by: tfabris

Re: Advanced Search in Emplode Question - 06/10/2004 17:14

And this didn't help? I'll look through that and see if I can find a proper syntax for you...
Posted by: tfabris

Re: Advanced Search in Emplode Question - 06/10/2004 17:20

Ah, OK, what we need is an easy little PHP script I can embed into that FAQ entry to convert real times and dates into a unix time_t number to plug into the advanced search....
Posted by: tfabris

Re: Advanced Search in Emplode Question - 06/10/2004 17:28

Okay, found some example code. Working on it.
Posted by: tfabris

Re: Advanced Search in Emplode Question - 06/10/2004 17:51

Okay, it's in that FAQ entry now. (There is a link to a time converter script right next to where it lists "ctime").

Just get a number from that script, and then plug that in.

For instance, to find all songs added to the player since my birthday of this year, I would search on:

ctime>1081058400
Posted by: LTJBukem

Re: Advanced Search in Emplode Question - 06/10/2004 19:07

Thanks Tony,

All clear now ...

ctime > 1096606800 equals anything created after 01 October 2004.

Obviously really

Many Many Thanks
Posted by: mschrag

Re: Advanced Search in Emplode Question - 06/10/2004 20:02

For jEmplode, see the Functions section of http://www.jempeg.org/QueriesAndTagNames.html ... Little easier syntax to work with
Posted by: image

Re: Advanced Search in Emplode Question - 07/10/2004 04:14

happy belated birthday, btw
Posted by: tfabris

Re: Advanced Search in Emplode Question - 07/10/2004 05:36

Heh, thanks, it was months ago.