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
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  100 Autoscore not showing properly in WPS
« previous next »
  • Print
Pages: [1]

Author Topic: 100 Autoscore not showing properly in WPS  (Read 2110 times)

Offline debar

  • Member
  • *
  • Posts: 4
100 Autoscore not showing properly in WPS
« on: July 08, 2007, 09:36:28 PM »
Can someone confirm this for me: when I have a track with a 100 autoscore, the autoscore shows as "10" instead of "100" in my wps.
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: 100 Autoscore not showing properly in WPS
« Reply #1 on: July 10, 2007, 04:54:11 AM »
What player, what WPS/theme (post the code for the relevant bit). Looks like a formatting error, but with no information it's really hard to tell ;)
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline debar

  • Member
  • *
  • Posts: 4
Re: 100 Autoscore not showing properly in WPS
« Reply #2 on: July 10, 2007, 02:19:37 PM »
Sorry, I'm on a Gigabeat F.  I originally found the problem on a custom WPS I made for myself using Evil G's build w/ custom WPS line (FS#5900) code.

However I tried to modify a simpler WPS (one of the defaults that come preloaded on Rockbox, "Rockboxed" I think it's called) and just added the basic %ra code to display the autoscore, and tracks with '100' autoscore still show as '10'.
Logged

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: 100 Autoscore not showing properly in WPS
« Reply #3 on: July 10, 2007, 02:55:47 PM »
Yes you are correct. However, I also found that two-digit autoscores were missing the last character, so I get (on Gigabeat F20 r13755):

Autoscore        Display
100                  10
 99                     9
 84                     8

The code where I think it is displayed from in /trunk/apps/gui/gwps-common.c looks OK to my untutored eyes...

case WPS_TOKEN_DATABASE_AUTOSCORE:
            if (intval)
                *intval = id3->score + 1;

            snprintf(buf, buf_size, "%d", id3->score);
            return buf;

I'll raise it as a bug. Raised as a bug: http://www.rockbox.org/tracker/task/7422
« Last Edit: July 10, 2007, 03:01:18 PM by bascule »
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  100 Autoscore not showing properly in WPS
 

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

Page created in 0.067 seconds with 15 queries.