Mailinglist Archive: opensuse (3139 mails)

< Previous Next >
Re: [SLE] MP3 player - playing order of files
  • From: stephan beal <stephan@xxxxxxxx>
  • Date: Tue, 3 Oct 2006 22:38:45 +0000 (UTC)
  • Message-id: <200610040036.16522.stephan@xxxxxxxx>
On Wednesday 04 October 2006 00:01, Dave Howorth wrote:
> On Tue, 2006-10-03 at 23:50 +0200, Istvan Gabor wrote:
...
> > 2. How could I change these numbers of the files so that their
> > order would correspond to the alphabetical names of the files?
>
> I'm sure experts will leap in with the correct answer, but I'll bet a
> pint of beer that if you format the card and then copy the files to
> it in alphabetical order, they'll appear in alphabetic order in the
> playlist.

And i'll add to that and bet that that's mostly right, but that the
inode sorting is just a coincidence, and that it's actually sorting by
timestamp. The files, if all copied one after the other, are likely
(but not guaranteed) to get ascending inode numbers as well as the
obvious ascending timestamps. Like Dave suggested, copying them in
alphabetical order should do the trick (a reformat shouldn't be
needed), but i'd bet another liter of beer (we don't have pints in
Germany) that it's nothing to do with the inode numbers, but with the
timestamps. You may be able to 'touch' each file to change the play
order, instead of re-copying the files.

--
----- stephan@xxxxxxxx http://s11n.net
"...pleasure is a grace and is not obedient to the commands
of the will." -- Alan W. Watts
< Previous Next >