[icecast] static playlist display order

David M Dennis dmd at speakeasy.org
Wed Feb 20 20:33:34 UTC 2002



Ok, so hypothetically lets say I wanted http://www.server.com:8000/file/ to
print contents in alphabetical order.  What would I need to do to the files
themselves -- touch them such that the newest touch was the file I wanted to
display first?  Last?  I guess what I am asking for here is a 101 on how the
opendir() call works, or at least how to massage my data to get the results I
want (an alphabetical display of my files). Either that or I'd be changing 
dir.c, which is beyond my abilities at this time.

man 3 opendir didn't give much detail, and I'm scurrying around looking
for a hint in man pages on things like find, any help welcome... thanks!

+-------------------------
+ Dave Dennis
+ Seattle, WA
+ dmd at speakeasy.org
+ http://www.dmdennis.com
+-------------------------

On Wed, 20 Feb 2002, Jack Moffitt wrote:

> > Anyway -- static playlist order.  What determines what order the files 
> > displayed by the http://www.server.com:8000/file/  ?
> 
> I'd have to look at the code.  My guess is whatever order it comes up on
> a call to opendir().
> 
> It will probably seem random.
> 
> jack.
> 
> --- >8 ----
> List archives:  http://www.xiph.org/archives/
> icecast project homepage: http://www.icecast.org/
> To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
> containing only the word 'unsubscribe' in the body.  No subject is needed.
> Unsubscribe messages sent to the list will be ignored/filtered.
> 

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast mailing list