IPB

Welcome Guest ( Log In | Register )

> foobar2000 Tech Support Forum Rules

Please read foobar2000 Tech Support Forum Rules before posting and comply with all the points.
Failure to provide all the information pointed out in the above document in your post is considered wasting other people's time and in extreme cases will lead to your topic getting locked without a reply.


See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
sorting order, with a longer name, might it be possible to make it more consistent?
BigBertrand
post Jun 30 2009, 03:54
Post #1





Group: Members
Posts: 25
Joined: 19-January 09
Member No.: 65760



Hi,

I would like to know if sorting between "foo" and "foo bar" could be made more consistent

let me introduce with this screenshot :


as you can see, in Album List panel, "foo" is before "foo bar".
but if I right-click on "Amon Tobin" then "send to current playlist", "foo bar" is before "foo" in the Playlist View panel

also, in Windows Explorer :
- I see "foo" before "foo bar"
- DIR command also gives "foo" before "foo bar"
- but if I right-click on the Amon Tobin folder then "play in foobar2000", "foo bar" is again before "foo"...

the correct order should be "foo" before "foo bar"

I'd really be happy if my playlist loaded with the correct order wink.gif

Cheers
Go to the top of the page
+Quote Post
smkk
post Jun 30 2009, 06:58
Post #2





Group: Members
Posts: 603
Joined: 18-November 07
Member No.: 48839



Made a thread about this a while ago: http://www.hydrogenaudio.org/forums/index....c=69885&hl=
Go to the top of the page
+Quote Post
BigBertrand
post Jun 30 2009, 13:57
Post #3





Group: Members
Posts: 25
Joined: 19-January 09
Member No.: 65760



Hi,

I forget to mention I am using a custom grouping scheme :
CODE
$if($meta_test(album artist),'['%album artist%']  ',$if($meta_test(artist),'['%artist%']  '))$if($meta_test(date),%date%[ - %album%],[%album%])
however the issue is identical with predefined grouping schemes

I think the issue is related with this precise part :


I will craft a new grouping scheme when I had engouh free time cool.gif
usings some things like $directory_path(%path%)

Cheers

This post has been edited by BigBertrand: Jun 30 2009, 13:58
Go to the top of the page
+Quote Post
Frank Bicking
post Jun 30 2009, 14:27
Post #4





Group: Super Moderator
Posts: 1827
Joined: 24-July 02
Member No.: 2776



Can't help with the sorting issue, but except for the fact that %album artist% does not only fall back to artist but also composer and performer, your grouping pattern should be the same as:

CODE
['['%album artist%']'  ][%date% - ][%album%]
Go to the top of the page
+Quote Post
BigBertrand
post Jun 30 2009, 14:40
Post #5





Group: Members
Posts: 25
Joined: 19-January 09
Member No.: 65760



Hi again,

I've begun, crafting this:
CODE
$replace($directory_path(%path%)'*'%filename_ext%, ,:)
it uses the facts * and : are forbidden characters in paths, and considers this ordering : "*" then ":"

QUOTE
C:\my path 2\another file.mp3
C:\my path\my file.mp3

becomes :

C:\my:path*my:file.mp3
C:\my:path:2*another:file.mp3

I'm open to suggestions wink.gif

Cheers


edit : thank you Frank Bicking, I hadn't noticed %album artist% fall back to %artist% ! so my current grouping scheme becomes simpler :
CODE
['['%album artist%']'  ]$if($meta_test(date),%date%[ - %album%],[%album%])
ah, I use a $if(...) instead of [%date% - ], because I have files with %date% but no %album%, and don't like to display "ghost" hyphens

This post has been edited by BigBertrand: Jun 30 2009, 14:55
Go to the top of the page
+Quote Post
BigBertrand
post Jun 30 2009, 15:30
Post #6





Group: Members
Posts: 25
Joined: 19-January 09
Member No.: 65760



It's me again,

I cannot fully use this scheme, because the file order is determined when adding to playlist...
I can add a column with my scheme, and click on its header to sort the list, but I cannot directly load the playlist sorted

does anybody have an idea ?

cheers

This post has been edited by BigBertrand: Jun 30 2009, 15:31
Go to the top of the page
+Quote Post
shakey_snake
post Jun 30 2009, 15:33
Post #7





Group: FB2K Moderator
Posts: 4322
Joined: 1-November 06
From: Cincinnati
Member No.: 37036



Edit->Sort->Sort By...


This post has been edited by shakey_snake: Jun 30 2009, 15:33


--------------------
elevatorladylevitateme
Go to the top of the page
+Quote Post
BigBertrand
post Jun 30 2009, 15:55
Post #8





Group: Members
Posts: 25
Joined: 19-January 09
Member No.: 65760



thank you shakey_snake, I didn't know about this option
however, it doesn't solve the problem: it needs to be called each time... the setting is not automatically applied

edit : half solved... I put my scheme into : "Preferences > General > Sort incoming files by"
it is applied when loading from Windows Explorer, but not when loading from Album List...

This post has been edited by BigBertrand: Jun 30 2009, 16:19
Go to the top of the page
+Quote Post
shakey_snake
post Jun 30 2009, 16:50
Post #9





Group: FB2K Moderator
Posts: 4322
Joined: 1-November 06
From: Cincinnati
Member No.: 37036



QUOTE (BigBertrand @ Jun 30 2009, 10:55) *
edit : strange... I put my scheme into :
"Preferences > General > Sort incoming files by"
but looks like it is not applied
Playlists created from the Album List inherit their sort pattern from the Album List view.

It just so happens that the sort pattern is treated differently with Window's Natural Sort (what is used on the playlist, or Sort Incoming Files By...) than it is using the windows explorer tree (what sorts the Album List in "by folder structure" mode and the tree in explorer).

There's not much fb2k can do about it.

This post has been edited by shakey_snake: Jun 30 2009, 16:53


--------------------
elevatorladylevitateme
Go to the top of the page
+Quote Post
BigBertrand
post Jun 30 2009, 18:07
Post #10





Group: Members
Posts: 25
Joined: 19-January 09
Member No.: 65760



Ideally, this behaviour of Album List might be corrected wink.gif
One sees part of a folder structure in Album List, he expects this structure to be loaded in the same order in the Playlist View...

It would really be helpful for some users, including myself
Cheers
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th July 2014 - 10:34