Rockbox

Tasklist

FS#10839 - Database sorting does not work on un-filtered list (2)

Attached to Project: Rockbox
Opened by Stefan (fallout33) - Wednesday, 09 December 2009, 15:05 GMT
Last edited by amaury pouly (pamaury) - Monday, 03 May 2010, 09:39 GMT
Task Type Bugs
Category Database
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Although this bug has already occurred in the past, has been fixed, it recently started to appear again and still exists (r23838-091203) at least on a Sandisk Sansa e200.
Original bug report: http://www.rockbox.org/tracker/task/9104

Database results are sorted alphabetically using the formatting string.

This does not work if the menu item line does not contain any additional filters other than the required 'title'.

http://forums.rockbox.org/index.php?topic=6661.msg127575#msg127575

Example:
%format "fmt_artist_title" "%s - %s" artist title

This works as expected:
"All tracks" -> genre -> title = "fmt_artist_title"

This does not:
"All tracks" -> title = "fmt_artist_title"

In the second example, the list is sorted alphabetically by 'title', ignoring the formatting string.

Entirely removing the .rockbox directory from the device and only inserting the tagnavi_custom.config file does not solve the problem.
This task depends upon

Closed by  amaury pouly (pamaury)
Monday, 03 May 2010, 09:39 GMT
Reason for closing:  Not a Bug
Additional comments about closing:  The tagnavi code is not able to sort more entries than "Max entries in file browser". Increase this setting solves the issue. However, something should be added to the wiki or the manual.
Comment by Stefan (fallout33) - Wednesday, 09 December 2009, 15:11 GMT
"Entirely removing the .rockbox directory from the device" ..., installing Rockbox with the default settings ... "and only inserting the tagnavi_custom.config file does not solve the problem."
Comment by Robert Kukla (roolku) - Wednesday, 09 December 2009, 15:38 GMT
I have tried it in the sim (gigabeatfx, r23905) and on target (gigabeatfx, r23875) and it works as expected. Can anyone else confirm this bug?

Edit: I have just tried sansa sim (sansae200, r23907) and again no problem.
Comment by PaulJam (PaulJam) - Wednesday, 09 December 2009, 19:37 GMT
I tried the tagnavi_custom.config file from the linked post on my h300 with r23905 and i can confirm this problem.

The problem seems to be related to the "max Entries in File Browser" setting.
If that setting is lower than the number of files in that database view then sorting doesn't work correctly (sorted by title instead of 'artist - title').
If the setting is higher then everything works as expected.
Comment by Robert Kukla (roolku) - Thursday, 10 December 2009, 16:04 GMT
Well spotted, that means it is not only unsorted but truncated?

Stefan, can you please check if this fixes it for you.

Comment by Stefan (fallout33) - Thursday, 10 December 2009, 18:13 GMT
Increasing the value of the "max Entries in File Browser" has solved the problem.
Thank you!
Comment by Frank Gevaerts (fg) - Friday, 22 January 2010, 23:01 GMT
Maybe this information needs to be added to the wiki

Loading...