Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tracks are sorted by filesystem inode number?
#1
Shocked 
version 3.4.1
Samsung Galaxy S2

I noticed that in many albums the tracks are not sorted. At first I thought that they are in random order for some reason but then I remembered a similar problem in SanDisk Clip Sport. So I checked, and yes, it seems that the tracks are loaded in order of increasing inode number of the file on the filesystem.

An album stored in the internal memory:
Code:
....]$ ls -1i | sort
523 04. Five String Serenade.ogg
524 02. Bells Ring.ogg
525 10. So Tonight That I Might See.ogg
526 03. Mary Of Silence.ogg
527 07. Unreflected.ogg
528 08. Wasted.ogg
529 01. Fade Into You.ogg
530 09. Into Dust.ogg
531 05. Blue Light.ogg
532 06. She's My Baby.ogg
   

An album stored on the external card:
Code:
....]$ ls -1i | sort
24 01. Sunrise.ogg
25 05. In The Morning.ogg
26 06. Be Here To Love Me.ogg
27 13. Don't miss you at all.ogg
28 12. The prettiest thing.ogg
29 04. Carnival Town.ogg
30 11. The long way home.ogg
31 07. Creepin In.ogg
32 09. Humble Me.ogg
33 03. Those Sweet Words.ogg
34 08. Toes.ogg
35 02. What Am I To You.ogg
36 10. Above Ground.ogg
   

Another album stored on the external card:
Code:
....]$ ls -1i | sort
37 13. Not Too Late.ogg
38 04. Until the End.ogg
39 09. Wake Me Up.ogg
40 06. Thinking About You.ogg
41 02. Sinkin' Soon.ogg
42 05. Not My Friend.ogg
43 07. Broken.ogg
44 08. My Dear Country.ogg
45 11. Little Room.ogg
46 12. Rosie's Lullaby.ogg
47 01. Wish I Could.ogg
48 03. The Sun Doesn't Like You.ogg
49 10. Be My Somebody.ogg
   

Oh, and it looks like only the first digit is read from "tracknumber" tag even though it has two:
Code:
....]$ vorbiscomment "13. Not Too Late.ogg" | grep -i tracknumber
TRACKNUMBER=13

....]$ vorbiscomment "04. Until the End.ogg" | grep -i tracknumber
TRACKNUMBER=04
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)