Support and General Use > Audio Playback, Database and Playlists
Database/tagnavi : Only show track title while ordering based on track number ?
The_Logod:
--- Quote from: eriolloan on March 18, 2024, 08:15:00 AM ---I'm not there yet.
Using these formats for tracks it works perfectly for mp3 files, but when selecting a folder containig FLAC files, rockbox freezes completely....
--- Code: ---%format "fmt_title" "%s (%s)" basename filename ? title == "<Untagged>"
%format "fmt_title" "%d%02d%s" discnum tracknum title ? discnum > "0" %strip = "3"
%format "fmt_title" "%02d%s" tracknum title ? tracknum > "0" %strip = "2"
%format "fmt_title" "%s" title
%format "fmt_alphanum_title" "%s" title
--- End code ---
edit: Should I open another thread for this problem ?
--- End quote ---
Hi - I am working on the same topic and couldn't get it to work with your config; removing the digits in front will just cause Rockbox to sort again alphabetically. Afaik there is now no working method to sort by tracknumber when it's not visible?!
bahus:
--- Quote from: The_Logod on April 07, 2025, 02:48:32 PM ---couldn't get it to work with your config; removing the digits in front will just cause Rockbox to sort again alphabetically. Afaik there is now no working method to sort by tracknumber when it's not visible?!
--- End quote ---
Did you use the exact config file provided? You shouldn't simply remove digits - you should use %strip as in example.
The_Logod:
I did use the config as posted here, incl. %strip.
However, I did put it into a tagnavi_user.config file instead of tagnavi_custom.config, using tagnavi_custom.config caused the iPod to crash on startup and not boot normally anymore.
bahus:
Does sorting with %strip work properly in 3.15? Could be a regression.
bahus:
1) $strip should be specified before conditions:
--- Code: ---%format "fmt_title" "%02d%s" tracknum title %strip = "2" ? tracknum > "0"
--- End code ---
2) I checked the code - %strip and %sort implementation doesn't work correctly with multiple conditional format strings. So, for the following example:
--- Code: ---%format "fmt_title" "%02d%s" tracknum title %strip = "2" ? tracknum > "0"
%format "fmt_title" "%s" title
--- End code ---
Tracknum condition will be checked when finding format string, but %strip will be taken simply from the latest "fmt_title" (it's not specified, so it's handled as 0)
So %strip will work if you leave the only "fmt_title" format string. Something like:
--- Code: ---%format "fmt_title" "%02d%s" tracknum title %strip = "2"
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version