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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  176X220 (E200 Series) - Newbie question on playback mode display for WPS
« previous next »
  • Print
Pages: [1]

Author Topic: 176X220 (E200 Series) - Newbie question on playback mode display for WPS  (Read 1797 times)

Offline OldSchool

  • Member
  • *
  • Posts: 26
176X220 (E200 Series) - Newbie question on playback mode display for WPS
« on: December 27, 2007, 04:37:42 PM »
Hello,

I'm working on a simple WPS for a Sansa E200 series player. I'm trying to save a line on the screen by having it display the volume peak meter, when playing, and otherwise show the playback mode (Stop, Pause, FF or Rewind). The line in my .wps file is:

%?mp<%ac[STOP]|%pm|%ac[PAUSE]|%ac[FAST FORWARD]|%ac[REWIND]>

This works fine with the peak meter, when playing, and for [REWIND] and [FAST FORWARD], when the "long left" or "long right" buttons are used. The "stop" button will switch screens, so it's not a problem.

When the "pause" button is pressed, however, the volume peak meter is displayed (but without the level indicator bars, just the scale).  What I'd like to see instead is just "[PAUSE]" (as with FF and rewind).

Pressing the pause button again resumes play mode, with the the peak meter, as it should.

Any idea why I can't get the [PAUSE] indicator to work?
Logged
"That boy is about as sharp as a bowlin' ball"
                                             ~ Foghorn Leghorn
                                               (cartoon character)

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: 176X220 (E200 Series) - Newbie question on playback mode display for WPS
« Reply #1 on: December 27, 2007, 06:49:49 PM »
Quote from: OldSchool on December 27, 2007, 04:37:42 PM
When the "pause" button is pressed, however, the volume peak meter is displayed (but without the level indicator bars, just the scale).  What I'd like to see instead is just "[PAUSE]" (as with FF and rewind).

Is "[PAUSE]" displayed at all or is it just the flatlined peak meter?

Have you tried replacing the %pm with "[PLAY]" just to see if in that case everything works fine in a more standard situation?
Logged

Offline OldSchool

  • Member
  • *
  • Posts: 26
Re: 176X220 (E200 Series) - Newbie question on playback mode display for WPS
« Reply #2 on: December 27, 2007, 07:21:06 PM »
It's just the flatlined peak meter.

I tried replacing the %pm with "[PLAY]" - good suggestion, thanks - and yes, everything works, including "pause", when I leave out the %pm. It seemed like such a good idea, too. Oh well.

Logged
"That boy is about as sharp as a bowlin' ball"
                                             ~ Foghorn Leghorn
                                               (cartoon character)

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: 176X220 (E200 Series) - Newbie question on playback mode display for WPS
« Reply #3 on: December 28, 2007, 12:54:32 AM »
It is a good idea and there's still a chance it could work... When you fast-forward or rewind does the peak meter disappear completely?
Logged

Offline OldSchool

  • Member
  • *
  • Posts: 26
Re: 176X220 (E200 Series) - Newbie question on playback mode display for WPS
« Reply #4 on: December 28, 2007, 10:08:20 AM »
Yes, it works exactly as expected for both FF and Rew.
Logged
"That boy is about as sharp as a bowlin' ball"
                                             ~ Foghorn Leghorn
                                               (cartoon character)

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: 176X220 (E200 Series) - Newbie question on playback mode display for WPS
« Reply #5 on: December 28, 2007, 11:05:13 AM »
Pretty strange, been playing around with it here and having the same results.  Seems like the FF and REW actions send a different type of "freeze" command to the peak meter that lets it get pushed aside.  

What you could do, if you *really* want this to work, is create an image with "[PAUSE]" written on it and a background that matches your WPS and have that displayed over-top of the peak meter when pause is selected.  Pretty serious hack-job but it would work.

All the bestestness...
« Last Edit: December 28, 2007, 12:17:27 PM by MarcGuay »
Logged

Offline OldSchool

  • Member
  • *
  • Posts: 26
Re: 176X220 (E200 Series) - Newbie question on playback mode display for WPS
« Reply #6 on: December 28, 2007, 12:01:21 PM »
I probably just use it as is for now - too many other things to try!

Cheers...
Logged
"That boy is about as sharp as a bowlin' ball"
                                             ~ Foghorn Leghorn
                                               (cartoon character)

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  176X220 (E200 Series) - Newbie question on playback mode display for WPS
 

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

Page created in 0.064 seconds with 14 queries.