Rockbox Development > Starting Development and Compiling

Showing the next 2,3 - 10 songs in the WPS

(1/1)

PlayWithFire:
Before album art was implemented, i came up with a mockup, that would show a few upcoming songs.
I started poking around the WPS code, and realized that it should be doable, if we had tags like %n1, %n2, %n3, where %n1 would be the next song, %n2, would be the one after that, and so forth. I think something like 10 songs would be sufficient, for someone who would only want to display the playlist.

So, where in the code would i have to poke around to try to add this type of functionality? Is this even possible?

Here's the mockup that i mentioned

LinusN:
The only problem would be that the tags for those songs may not yet be loaded, so all it can show is the file names.

PlayWithFire:
oh, i see
well, is there a way to load the track info in advance?

and if not, file path information would help too, since you could display the file name, and the folder it's stored in. For those of use with very well organized music collections, this is just as useful.

lowlight:
Tag info is available for the files that have been buffered. Loading tags for non-buffered files would require reading from the disk which defeats the purpose of buffering.

Perhaps by using the tag database there could be a way to translate the filename > tag info without disk activity.

Navigation

[0] Message Index

Go to full version