Re: file order after loading directory

Jon Colverson <[email protected]>
Newsgroups gmane.comp.multimedia.xmms.devel
Message-ID <[email protected]>
Brian Craft wrote:
> Why does xmms munge the order of files in a directory after doing an "add
> directory", and how can I get it to stop? I don't have shuffle selected. I
> always have to resort the files after loading, even though they're in the right
> order in the directory.

It appears to me that XMMS does add files in the order they appear in 
the directory. Are you using 'ls -U' to turn off sorting when viewing 
the directory? If adding in a particular order is important then you 
could hack it by moving the files somewhere else and then moving them 
back into the target directory in the correct order. Using bash, 
something like:

mkdir bleh
mv *.mp3 bleh/
for i in `ls bleh/`;do mv $i ./;done
rmdir bleh

-- 
Jon
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.