Rockbox Ports are now being developed for various digital audio players!
It would have been cool if I could have a line like:%menu_start "test" "Browse Artists""Artist by Directory" -> comment ==> "alpha"
alternatively I have found that I can have one generic A-Z menu which will request the comment such as in this line:"A" -> comment -> artist ? artist ^ "a" -> title =..."B" -> comment -> artist ? artist ^ "b" -> title =...
%format "fmt_titlenest" "%02d. %s" tracknum title%format "fmt_artistalbum" "%s [%s]" artist album"albums" -> album = "fmt_artistalbum" -> title = "fmt_titlenest"
#! rockbox/tagbrowser/2.0%format "fmt_artist_title" "%s - %s" artist title%menu_start "main" "Database""Artist - Title" -> title = "fmt_artist_title"
<formatting> determines how the tracks are displayed and sorted (!)
This only happens when no filter is used. It appears that if the query goes straight to 'title', then the format string is ignored.
#! rockbox/tagbrowser/2.0# ^ Version header must be the first line of every file# Tag Browser configuration file, do not edit as changes will be lost!# Instead, you can modify "/.rockbox/tagnavi_custom.config" which will never# get overwritten automatically.# Basic format declarations%format "fmt_title" "%d.%02d. %s" discnum tracknum title ? discnum > "0"%format "fmt_title" "%02d. %s - %02d:%02d" tracknum title Lm Ls ? tracknum > "0"%format "fmt_title" "%s - %02d:%02d" title Lm Ls%format "fmt_album" "%02d. %s - %s[%02d:%02d]" tracknum artist title Lm Ls ? albumartist = "Various Artists"%format "fmt_album" "%02d. %s[%02d:%02d]" tracknum title Lm Ls%format "fmt_mostplayed" "%2d|%3d %s (%s)" playcount autoscore title artist %sort = "inverse" %limit = "100"%format "fmt_lastplayed" "%06d%s - %s" lastplayed artist title %sort = "inverse" %limit = "99" %strip = "6"%format "fmt_forgotten" "%06d%s - %s" lastplayed artist title %limit = "99" %strip = "6"%format "fmt_best_tracks" "%02d. %s (%3d)" tracknum title autoscore%format "fmt_score" "(%3d) %s-%s" autoscore title artist%format "fmt_rating" "(%2d) %s-%s" rating title artist %sort = "inverse"# Include our custom menu%include "/.rockbox/tagnavi_custom.config"## === Begin of "A to Z" sub menus## Define the A to Z Artist sub menu[...]# ^ An empy line ends the menu# Define the A to Z album sub menu[...]# Define the A to Z track sub menu%menu_start "custom_track" "Track A to Z"[...]# Define the A to Z sub menu%menu_start "a2z" "A to Z...""Artists" ==> "custom_artist""Albums" ==> "custom_album""Tracks" ==> "custom_track"## === Begin of "Search by..." sub menu## Define the search sub menu%menu_start "search" "Search by...""Artist" -> artist ? artist ~ "" -> album -> title = "fmt_title""Album Artist" -> albumartist ? albumartist ~ "" -> album -> title = "fmt_title""Album" -> album ? album ~ "" -> title = "fmt_title""Title" -> title = "fmt_title" ? title ~ """Album by year" -> album ? year = "" -> title = "fmt_title""Artist between years" -> artist ? year >= "" & year <= "" -> album -> title = "fmt_title""Album between years" -> album ? year >= "" & year <= "" -> title = "fmt_title""Filename" -> filename ? filename ~ """Score" -> title = "fmt_score" ? autoscore > """User Rating" -> title = "fmt_rating" ? rating > """Comment" -> album ? comment ~ "" -> title = "fmt_title"# Define the "same as current" sub menu%menu_start "same" "Same as current""Directory" -> title ? filename ^ "#directory#""Title" -> title = "fmt_title" ? title = "#title#""Artist" -> album ? artist = "#artist#" -> title = "fmt_title" "Album" -> title = "fmt_title" ? album = "#album#""Composer" -> title = "fmt_title" ? composer = "#composer#"# Define the runtime sub menu%menu_start "runtime" "Play history""Most played (Plays|Score)" -> title = "fmt_mostplayed" ? playcount > "0""Recently played tracks" -> title = "fmt_lastplayed" ? playcount > "0""Never played tracks" -> artist ? playcount == "0" -> album -> title = "fmt_title""Favourite artists" -> artist ? playcount > "3" & autoscore > "85" -> album -> title = "fmt_best_tracks""Favourite albums" -> album ? playcount > "3" & autoscore > "85" -> title = "fmt_best_tracks""Recent favourites" -> title = "fmt_lastplayed" ? playcount > "3" & autoscore > "85""New favourites" -> artist ? playcount <= "3" & autoscore > "85" -> album -> title = "fmt_best_tracks""Forgotten favourites" -> title = "fmt_forgotten" ? playcount > "3" & autoscore > "85"## === Begin of main menu## Define the title of the main menu%menu_start "main" "Database""Artist" -> artist -> album -> title = "fmt_title"#"Album Artist" -> albumartist -> album -> title = "fmt_title""Album" -> album -> title = "fmt_album"#"Genre" -> genre -> artist -> album -> title = "fmt_title"#"Composer" -> composer -> album -> title = "fmt_title""Track" -> title#"Year" -> year ? year > "0" -> artist -> album -> title = "fmt_title""User Rating" -> rating -> title = "fmt_title""Recently Added" -> album ? entryage < "4" & commitid > "0" -> title = "fmt_title""A to Z..." ==> "a2z""History..." ==> "runtime""Same as current..." ==> "same""Search..." ==> "search""Custom view..." ==> "custom"# And finally set main menu as our root menu%root_menu "main"
%format "fmt_album" "%02d. %s - %s[%02d:%02d]" tracknum artist title Lm Ls ? albumartist = "Various Artists"%format "fmt_album" "%02d. %s[%02d:%02d]" tracknum title Lm Ls
%format "fmt_album" "%s" albumartist
%format "fmt_album" "%02d. %s - %s[%02d:%02d]" tracknum artist title Lm Ls ? artist = "Neophyte"%format "fmt_album" "%02d. %s[%02d:%02d]" tracknum title Lm Ls
%format "fmt_album" "%02d. %s[%02d:%02d]" tracknum title Lm Ls ? artist = "Headhunterz & Wildstylez"%format "fmt_album" "%02d. %s - %s[%02d:%02d]" tracknum artist title Lm Ls ? albumartist = "Various Artists"%format "fmt_album" "%02d. %s[%02d:%02d]" tracknum title Lm Ls
I really don't know what i am doing wrong....
The random thing comes now: if i comment out the 'fmt_album' lines and add another line like thisCode: [Select]%format "fmt_album" "%s" albumartist it displays all the albumartist-tags correctly.
%format "fmt_album" "%s - %s" artist title ? albumartist = "Various Artists"%format "fmt_album" "%s" title
%format "fmt_album" "%02d. %s[%02d:%02d]" tracknum title Lm Ls ? discnum > "09"%format "fmt_album" "%02d. %s - %s[%02d:%02d]" tracknum artist title Lm Ls
I had another idea and it finally worked:I changed the discnumber of the non-various artist albums from 0x to 0x0 (ex: 01 to 010) and changed fmt_album to this:Code: [Select]%format "fmt_album" "%02d. %s[%02d:%02d]" tracknum title Lm Ls ? discnum > "09"%format "fmt_album" "%02d. %s - %s[%02d:%02d]" tracknum artist title Lm LsBut this 'proves' that the 'albumartist'-comparison doesn't work atm!(every1 can try it with the emu, tell me if you got other results )greets CruX
Page created in 0.088 seconds with 21 queries.