"create me a playlist of all rocksongs of the 80's and 90's, that last longer than 3 minutes, that have been played at least 5 times"
In the same way, you can get a tagdb record of a song by taking its rundb record number.
Files that are not in the tag database can not have runtime data.
Also, i want to propose some sort of time-passed thing in order to be able to keep track of when a song was last played.
we could simply keep track of the passed time, write it to the rockbox config on shutdown, and read it back on bootup, to keep track of the total amount of passed time. We would then be able to use that standard of passed time to implement "Recently played songs" and "Least recently played songs"
Solved Open issues:
If two files with the same hash exist on the filesystem, what will happen during a runtime database sync?
you could say those files should have the same runtime info, but our current format does not allow that, it
forces runtime info for every song in the tag database....
MichielVanDerKolk: what we could do is add a field to the runtime db that says "no, the runtime info for this file isn't stored here, its there! *points*" for duplicate hashes... (assuming the hash is good enough to not produce duplicates of files that aren't actually a copy on disk).
Stuff that would need to be in the TagDatabase before we'll be able to do nice searches (imho)Length of a song (milliseconds)
Year of the track
# amount of Rundb Records
r20 - 22 Apr 2005 - 13:48:39 - MichielVanDerKolk
Copyright © by the contributing authors.