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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Showing remaining playing time instead of the playing time ?
« previous next »
  • Print
Pages: [1]

Author Topic: Showing remaining playing time instead of the playing time ?  (Read 1877 times)

Offline Viper73

  • Member
  • *
  • Posts: 29
Showing remaining playing time instead of the playing time ?
« on: August 08, 2011, 03:18:39 AM »
Hi,

i have the Sansa Clip+ with the 3.8.1 Rockbox Firmware installed (standart theme).

When i play my MP3 songs i see in the upper right corner the "playing time" of the song. But i want to see the "remaining playing time" (or better both, the playing time and the remainig playing time. Or maybe the playing time and the length of the song).

Is it possible to do this in the settings ? I didn't find anything ...

Greets, Viper


Post Merge: August 08, 2011, 03:27:15 AM
Problem solved - i used another theme and there i can see the remaining playing time !
« Last Edit: August 08, 2011, 03:27:15 AM by Viper73 »
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Showing remaining playing time instead of the playing time ?
« Reply #1 on: August 08, 2011, 05:06:31 AM »
Quote from: Viper73 on August 08, 2011, 03:18:39 AM
Hi,

i have the Sansa Clip+ with the 3.8.1 Rockbox Firmware installed (standart theme).

When i play my MP3 songs i see in the upper right corner the "playing time" of the song. But i want to see the "remaining playing time" (or better both, the playing time and the remainig playing time. Or maybe the playing time and the length of the song).

Is it possible to do this in the settings ? I didn't find anything ...

Greets, Viper

Try this:

This is a little something I whipped up just now (untested) to fix your problem, the Clip(s) have *very* limited screen real estate, and as such certain compromises have to be made.

I could not possibly include time elapsed and remaining in its usual position, so I have moved it down to an alternating subline which alternates between the current track time elapsed/remaining and the next track details.
I hope this is a favourable compromise.

Other changes:

- Included the (commented out for some reason, I suspect draw order issues before the addition of the "backdrop" parameter for the bar tags) progressbar background image.
- Add numerical volume display whilst volume is changing.
- Add support for RTL languages

As soon as I've got my Rockbox as an Application themes into svn I will work on updating all the cabbiev2 ports to make use of new syntax that has been included in the theme engine since my initial cabbiev2 re-write to make use of viewports.


Code: [Select]
# cabbie 2.0 default rwps for Iriver Players by Johannes Voggenthaler (Zinc Alloy)
# derived from cabbie 2.0 default rwps (C) 2007, Marc Guay
#
# Disable Status Bar
%wd
#
# Preload Images
%xl(A,pbbackground-128x64x1.bmp,0,0)
%xl(B,bar-128x64x1.bmp,2,0)
%xl(C,lock-128x64x1.bmp,0,0,2)
%xl(D,battery-128x64x1.bmp,0,0,9)
%xl(E,volume-128x64x1.bmp,0,0,9)
%xl(F,shuffle-128x64x1.bmp,0,1)
%xl(G,repeat-128x64x1.bmp,0,0,4)
%xl(H,playmode-128x64x1.bmp,0,0,5)
#
# Progress Bar
%V(0,0,126,6,1)
%pb(0,0,126,6,pb-128x64x1.bmp,backdrop,A)
#
# Separator Bar
%V(2,52,124,1,1)
%xd(B)
#
# Hold
%V(3,56,20,8,1)
%?mh<%xd(Ca)|%xd(Cb)>
#
# Battery
%V(25,56,23,8,1)
%?bp<%?bc<%xd(Da)|%xd(Db)>|%?bl<|%xd(Dc)|%xd(Dd)|%xd(De)|%xd(Df)|%xd(Dg)|%xd(Dh)|%xd(Di)>>
#
# Volume
%V(48,56,21,8,1)
%?mv<%ac%pv|%?pv<%xd(Ea)|%xd(Eb)|%xd(Ec)|%xd(Ed)|%xd(Ee)|%xd(Ef)|%xd(Eg)|%xd(Eh)|%xd(Ei)>>
#
# Shuffle
%V(69,56,26,8,1)
%?ps<%xd(F)>
#
# Repeat
%V(95,56,20,8,1)
%?mm<|%xd(Ga)|%xd(Gb)|%xd(Gc)|%xd(Gd)>
#
# Playmode
%V(115,56,13,8,1)
%?mp<%xd(Ha)|%xd(Hb)|%xd(Hc)|%xd(Hd)|%xd(He)>
#
# Playlist Position
%ax%V(0,8,128,8,1)
%?Sr<%al%pe %Sx(of) %pp|%al%pp %Sx(of) %pe>
#
# Current Track Info
%ax%V(0,16,128,24,1)
%s%ac%?it<%it|%fn>
%s%ac%?ia<%ia|%?d(2)<%d(2)|%(root%)>>
%s%ac%?id<%id|%?d(1)<%d(1)|%(root%)>>
#
# Next Track Info - Current Track Time Elapsed/Remaining
%ax%V(0,42,128,8,1)
%t(10.0)%al%pc %ar-%pr;%t(10.0)%s%ac%Sx(Next:) %?It<%It|%Fn> - %?Ia<%Ia|%?D(2)<%D(2)|%(root%)>>

Please test this by extracting this .zip file to the root of your player (and letting it replace the files it wants to) and reloading the theme cabbiev2 then reporting back here if it is at all possible for you to do so to let me know if it works out for you.
Others with this target are welcome to test these changes as well.



[St.]
« Last Edit: August 08, 2011, 05:13:06 AM by [St.] »
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Showing remaining playing time instead of the playing time ?
 

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

Page created in 0.065 seconds with 15 queries.