Hi
First off, loving that Rockbox is on the iPod Classic. I was immensely envious when I read about Rockbox about 10 years ago on Lifehacker and cursed myself for falling foul of the iFan club so I was over the moon when I found recently that a development build is available for the iPod Classic (yes,I know I am late to the party!)
I've been trying to get my own tagnavi_custom database view to work, but no matter what I do and what script I use, I never get anything when I click Custom View within Database.
I'm using a variant of the full customised config found on the wiki:
http://www.rockbox.org/wiki/DataBase#ExamplesNo matter what I do, I can never get it to show. I've tried using a basic version from the wiki, checked the file is in ANSI format (via Notepad++) ,tried copying over the main tagnavi.config file - renaming it and then pasting in my code, and have updated the database after adding in my own tagnavi_custom file.
All to no avail. Any one got any hints, or is there a log file I can check to see why my Custom View is always blank...?
Any help much appreciated.
Here it is if anyone wishes to check:
#! rockbox/tagbrowser/2.0
#User-customisable Database viewer configuration file
#
# Required layout:
# Format declarations
# Sub-menu definitions
# Main menu definition
# Set menu as root
#Custom format declarations
# f_browse - basic tracknumber (padded with zeros to two characters) and title
# f_direct - title and artist for when the navigation leads directly to results by track
# f_chrono - includes year for year/decade based browsing
# f_runtime - top 100 tracks by times played (playcount) then autoscore. Sorted inverse to bring most-played to the top
# f_lastplayed- last 100 tracks played in play order. Sorted inverse to bring most recent to the top, but playcount display stripped out for clarity
# f_forgotten - as above, but sorted for least recent at the top
%format "f_radio" "%08d%s (%s)" length filename title %strip = "21"
%format "f_radio_old" "%06d%s (%s)" lastplayed filename title %sort = "inverse" %strip = "21"
# f_mood - simple title and respective album
%format "f_browse" "%02d - %s" tracknum title
%format "f_direct" "%s (%s)" title artist
%format "f_chrono" "%04d - %s (%s)" year title artist
%format "f_runtime" "%2d|%3d %s (%s)" playcount autoscore title artist %sort = "inverse" %limit = "100"
%format "f_lastplayed" "%06d%s (%s)" lastplayed title artist %sort = "inverse" %limit = "100" %strip = "6"
%format "f_forgotten" "%06d%s (%s)" lastplayed title artist %limit = "100" %strip = "6"
%format "f_mood" "%s (%s)" title album %sort = "inverse" %strip = "13"
%menu_start "custom_album" "Browse albums"
"All albums by genre" -> genre -> album -> title = "f_browse"
#Most search requirements are covered here!
%menu_start "custom_search" "Search for..."
"Artist starting with..." -> artist ? artist ^ "" -> album -> title = "f_browse"
"Artist containing..." -> artist ? artist ~ "" -> album -> title = "f_browse"
"Artist between years..." -> artist ? year >= "" & year <= "" -> album -> title = "f_chrono"
"Album starting with..." -> album ? album ^ "" -> title = "f_browse"
"Album containing..." -> album ? album ~ "" -> title = "f_browse"
"Album between years..." -> album ? year >= "" & year <= "" -> title = "f_chrono"
"Track starting with..." -> album ? title ^ "" -> title = "f_direct"
"Track containing..." -> album ? title ~ "" -> title = "f_direct"
"Filename starting with..." -> album ? filename ^ "" -> title = "f_direct"
"Filename containing..." -> album ? filename ~ "" -> title = "f_direct"
#The runtime entities populated by the Database are used to derive the filters and conditions for the 'Usage database' menu
#'Most played' and 'Recently played tracks' display only tracks that have been played (playcount > "0")
#A 'favourite' is classified as having been played more than three times and with an average of 85% of the track having been listened to.
%menu_start "custom_runtime" "Usage database"
"Most played (Plays|Score)" -> title = "f_runtime" ? playcount > "0"
"Recently played tracks" -> title = "f_lastplayed" ? playcount > "0"
"Favourite albums" -> album ? playcount > "3" & autoscore > "85" -> title = "f_browse"
"Recent favourites" -> title = "f_lastplayed" ? playcount > "3" & autoscore > "85"
"Forgotten favourites" -> title = "f_forgotten" ? playcount > "3" & autoscore > "85"
"Never played tracks" -> artist ? playcount == "0" -> album -> title = "f_browse"
#The following mood menus are similar in that each mood (upbeat party, downbeat rock, etc.) is purely a list of tracks
# tagged with any of the genres in the list (e.g.,"acoustic|ambient|new age|easy listening")
#This can be used to quickly produce a substantial playlist of similar music when you just know what 'sort' of music you want
%menu_start "mood_1" "Relaxed"
"All tracks" -> artist ? genre @ "classical|choral|jazz|acoustic|ambient|new age|easy listening" -> title = "f_mood"
"Classical" -> artist ? genre @ "classical|choral" -> title = "f_mood"
"Jazz" -> artist ? genre = "jazz" -> title = "f_mood"
"Background" -> artist ? genre @ "acoustic|ambient|new age|easy listening" -> title = "f_mood"
%menu_start "mood_2" "Party"
"All tracks" -> artist ? genre @ "dance|disco|electronica|pop|techno|trance|funk|soul" -> title = "f_mood"
"Upbeat" -> artist ? genre @ "dance|disco|electronica|pop|techno|trance" -> title = "f_mood"
"Downbeat" -> artist ? genre @ "funk|soul" -> title = "f_mood"
%menu_start "mood_3" "Top of the Pops"
"All tracks" -> artist ? genre @ "pop rock|dance|indie|pop|popfolk|r&b|country|folk" -> title = "f_mood"
"Upbeat" -> artist ? genre @ "pop rock|dance|indie|pop|pop folk" -> title = "f_mood"
"Downbeat" -> artist ? genre @ "r&b|country|folk|alternative" -> title = "f_mood"
%menu_start "mood_4" "Rockin' Out"
"All tracks" -> artist ? genre @ "new wave|metal|altrock|rock|punk rock|indie|rock and roll|britpop|poprock|blues|hard rock|gothic" -> title = "f_mood"
"Upbeat" -> artist ? genre @ "new wave|metal|alt rock|rock|punkrock|indie|rock and roll|britpop|pop rock" -> title = "f_mood"
"Downbeat" -> artist ? genre @ "blues|hard rock|gothic" -> title = "f_mood"
%menu_start "mood_5" "Heavy"
"All tracks" -> artist ? genre @ "psychedelic rock|progrock|classic rock|grunge|industrial|alternative|drum 'n' bass|blues|trip hop" -> title = "f_mood"
"Upbeat" -> artist ? genre @ "psychedelic rock|prog rock|classicrock|grunge|industrial" -> title = "f_mood"
"Downbeat" -> artist ? genre @ "alternative|drum 'n' bass|blues|trip hop" -> title = "f_mood"
%menu_start "mood_tree" "Pick your mood..."
"Relaxed" ==> "mood_1"
"Party" ==> "mood_2"
"Top of the Pops" ==> "mood_3"
"Rockin' Out" ==> "mood_4"
"Heavy" ==> "mood_5"
#The main menu is mostly calls to sub-menus with the exception of the podcast/radio selections that filter only on whether the track
# has been listened to or not (playcount), the rest of the hard work is done by the formatting
%menu_start "Ruperts Browser"
"Mood" ==> "mood_tree"
"Tracks by usage" ==> "custom_runtime"
"Search" ==> "custom_search"
"Year" -> year -> album -> title = "f_browse"
"All tracks A-Z" -> title = "f_direct"
#EOF