Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bugs
  • Category Database
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by Stefan - 2009-12-09
Last edited by amaury pouly - 2010-05-03

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

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.

Closed by  amaury pouly
2010-05-03 09:39
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.

Stefan commented on 2009-12-09 15:11

"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."

Robert Kukla commented on 2009-12-09 15:38

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.

PaulJam commented on 2009-12-09 19:37

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.

Robert Kukla commented on 2009-12-10 16:04

Well spotted, that means it is not only unsorted but truncated?

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

Stefan commented on 2009-12-10 18:13

Increasing the value of the "max Entries in File Browser" has solved the problem.
Thank you!

Admin
Frank Gevaerts commented on 2010-01-22 23:01

Maybe this information needs to be added to the wiki

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing