This forum has been archived. All content is frozen. Please use KDE Discuss instead.

load directory order

Tags: None
(comma "," separated)
User avatar
danadam
Registered Member
Posts
3
Karma
0

load directory order

Thu Mar 27, 2008 12:12 am
Hello!

I use Amarok 1.4.8 (KDE 3.5.8 ). I have the following directory structure:
Code: Select all
The Lord of the Rings/
|-- 01. The Fellowship of the Ring (The Complete Recordings)
|   |-- cd1
|   |-- cd2
|   `-- cd3
`-- 02. The Two Towers (The Complete Recordings)
    |-- cd1
    |-- cd2
    `-- cd3


Now, if I right-click on "The Lord of the Rings" directory and select "Load" or "Append to Playlist" I would expect to populate my playlist in that order, first "The Fellowship of the Ring" cd1, cd2, cd3, then "The Two Towers" cd1, cd2, cd3. Unfortunately the actual order is "The Two Towers" cd1, cd2, cd3, then "The Fellowship of the Ring" cd1, cd2, cd3. Does anybody know how Amarok decides about the order of subdirectories and if there is any way to force it to do it... hm... properly  :smilie: ?
User avatar
danadam
Registered Member
Posts
3
Karma
0

Re: load directory order

Mon Mar 31, 2008 9:06 am
Hm... no response?

Anyway, I copied those albums on my computer at work and it's even worse. The order is "The Fellowship of the Ring" cd3, cd2, cd1, then "The Two Towers" cd3, cd2, cd1. I thought that maybe Amarok sorts directories by creation time or inode numbers when loading them recursively but I checked it and it's not (and it would be weird behaviour if it was):
Code: Select all
danadam@pcuj]$ ll --sort=time
total 12
drwxr-xr-x 2 danadam qporterpl 4096 2008-03-31 10:53 cd1
drwxr-xr-x 2 danadam qporterpl 4096 2008-03-17 22:02 cd3
drwxr-xr-x 2 danadam qporterpl 4096 2008-03-17 03:47 cd2
danadam@pcuj]$ ll -i
total 12
21987334 drwxr-xr-x 2 danadam qporterpl 4096 2008-03-31 10:53 cd1
23838800 drwxr-xr-x 2 danadam qporterpl 4096 2008-03-17 03:47 cd2
21987349 drwxr-xr-x 2 danadam qporterpl 4096 2008-03-17 22:02 cd3
shortmanikos
Registered Member
Posts
5
Karma
0
OS

Re: load directory order

Mon Mar 31, 2008 6:28 pm
You could try show columns - filename on your playlist and when they load have them sorted by filename. I think it will solve the problem. Hope it helps.


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]