Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Showing the next 2,3 - 10 songs in the WPS
« previous next »
  • Print
Pages: [1]

Author Topic: Showing the next 2,3 - 10 songs in the WPS  (Read 1769 times)

Offline PlayWithFire

  • Member
  • *
  • Posts: 11
Showing the next 2,3 - 10 songs in the WPS
« on: December 12, 2006, 05:07:58 PM »
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
Logged

Offline LinusN

  • Member
  • *
  • Posts: 1914
Re: Showing the next 2,3 - 10 songs in the WPS
« Reply #1 on: December 12, 2006, 05:46:01 PM »
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.
Logged
Archos Jukebox 6000, Recorder, FM Recorder/iAudio X5/iriver H1x0, H3x0/Toshiba Gigabeat F20/iPod G5, G5.5

Offline PlayWithFire

  • Member
  • *
  • Posts: 11
Re: Showing the next 2,3 - 10 songs in the WPS
« Reply #2 on: December 13, 2006, 10:57:45 AM »
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.
Logged

Offline lowlight

  • Developer
  • Member
  • *
  • Posts: 194
Re: Showing the next 2,3 - 10 songs in the WPS
« Reply #3 on: December 13, 2006, 04:24:20 PM »
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.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Showing the next 2,3 - 10 songs in the WPS
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.072 seconds with 15 queries.