playlist leaks memory each time you seek and I could not figure out where. 

On 6/14/06, james tittle <tigital@mac.com > wrote:

On Jun 14, 2006, at 8:27 AM, chris clepper wrote:

> Is there a way to get a random file of a certain type (like .mov)
> from a specific directory using your objects?

...why don't you use playlist from unauthorized?  It's included in pd-
extended:  just remember that it's referenced as "unauthorized/
playlist"...so, you'd want to try something like:

[location /path/to/mov/directory<
|  [nmbr]
|  |
| [seek $1<
|/
[unauthorized/playlist mov 200 200]

...[seek < lets you cycle thru name list (with auto wraparound!), so
just send a random number to it...

jamie