Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#236723 - 06/10/2004 17:05 Advanced Search in Emplode Question
LTJBukem
enthusiast

Registered: 18/07/2001
Posts: 299
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
_________________________
LTJ

Top
#236724 - 06/10/2004 17:14 Re: Advanced Search in Emplode Question [Re: LTJBukem]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
And this didn't help? I'll look through that and see if I can find a proper syntax for you...
_________________________
Tony Fabris

Top
#236725 - 06/10/2004 17:20 Re: Advanced Search in Emplode Question [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
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....
_________________________
Tony Fabris

Top
#236726 - 06/10/2004 17:28 Re: Advanced Search in Emplode Question [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Okay, found some example code. Working on it.
_________________________
Tony Fabris

Top
#236727 - 06/10/2004 17:51 Re: Advanced Search in Emplode Question [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
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
_________________________
Tony Fabris

Top
#236728 - 06/10/2004 19:07 Re: Advanced Search in Emplode Question [Re: LTJBukem]
LTJBukem
enthusiast

Registered: 18/07/2001
Posts: 299
Thanks Tony,

All clear now ...

ctime > 1096606800 equals anything created after 01 October 2004.

Obviously really

Many Many Thanks
_________________________
LTJ

Top
#236729 - 06/10/2004 20:02 Re: Advanced Search in Emplode Question [Re: LTJBukem]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
For jEmplode, see the Functions section of http://www.jempeg.org/QueriesAndTagNames.html ... Little easier syntax to work with

Top
#236730 - 07/10/2004 04:14 Re: Advanced Search in Emplode Question [Re: tfabris]
image
old hand

Registered: 28/04/2002
Posts: 770
Loc: Los Angeles, CA
happy belated birthday, btw

Top
#236731 - 07/10/2004 05:36 Re: Advanced Search in Emplode Question [Re: image]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
Heh, thanks, it was months ago.
_________________________
Tony Fabris

Top