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
translations translations
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
| | |-+  Themes and Cue Sheets
« previous next »
  • Print
Pages: [1]

Author Topic: Themes and Cue Sheets  (Read 173 times)

Offline iPodVT

  • Member
  • *
  • Posts: 480
Themes and Cue Sheets
« on: April 21, 2025, 05:30:47 PM »
I have a track with an associated cue sheet that divides the track into three segments with each segment's title and index (the start time relative to the track's start) specified in the cue sheet.  When the first cue segment is playing, that segment's title (rather than the full track's title) gets properly returned and displayed via %it, and the next segment's title (rather than the full next track's title) gets properly returned and displayed via %It.  But %pt returns the current track's total time and %Pt also returns the current track's total time.  Shouldn't %pt and %Pt return the total time for their respective cue segments à la %it and %It?  That is what I am hoping for with my WIP theme.

Also, the WPS progress bar in my WIP theme is a smaller version of the cabbiev2 progress bar in that its height is about 1/2 that of cabbiev2's.  The way that Rockbox is drawing the cue markers is way too subtle to be at all prominent on my progress bar.  I would like to be able to make it be a solid vertical line of a color specified by the theme and that goes from the top of the progress bar all the way to the bottom of the progress bar.  Is that possible?

Thanks.
Logged

Offline iPodVT

  • Member
  • *
  • Posts: 480
Re: Themes and Cue Sheets
« Reply #1 on: April 22, 2025, 09:20:06 AM »
Now I'm thinking that perhaps a possible solution to the issue of total track time vs a cue segment's total time would be to add a few new theming tags that would allow a theme to be at least somewhat cue sheet aware.  For instance, (using 'x' and 'X' as temporary filler chars for a future definitive tag spec) maybe there could be a %xt tag that could indicate both that Play is currently within a cue segment of the current track, and also what that cue segment's total time is.  %Xt could indicate the presence of a next cue segment within the current track and also what that next segment's total time is.  Then %pt could continue to return the total time of the full current track and %Pt could return the total time of the next full track (instead of what %Pt is currently doing, which is returning the total time of the full current track if Play is within any cue segment other than the current track's final cue segment, or returning the total time of the full next track if Play is currently within the last cue segment of the current track).

I think that if Play is currently within a track's final cue segment, all of the 'Next' info displayed in the WPS should refer to the complete next track, not the first cue segment (if one exists) of the next track.  [Edit:  But I'm not at all sure about that...]

Kinda confusing stuff (at least for me...)
« Last Edit: April 22, 2025, 09:23:15 AM by iPodVT »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Themes and Cue Sheets
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.034 seconds with 16 queries.