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
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Have %it and %ia changed since r26753?
« previous next »
  • Print
Pages: [1]

Author Topic: Have %it and %ia changed since r26753?  (Read 2703 times)

Offline Avalon

  • Member
  • *
  • Posts: 88
Have %it and %ia changed since r26753?
« on: August 05, 2010, 08:30:56 PM »
I have run into a change in the %it and %ia functions between r26753 and r27166 which is causing a change in a theme SBS behavior.

Using r26753, these functions would work in the main menu, radio and record screens at all times.....the current track/artist cued to play using the Resume Playback selection on the main menu would be displayed.

Using r27166, these functions display blanks if in radio playback mode, on the radio screen or on the record screen.

I use the functions to display the next song to be played if I switch back via Resume Playback.  Without this, it is much more difficult to know what song you are switching back to prior to selecting Resume Playback.

Does anyone know if this a permanent change, an oversight or an error on my part?

If it is a change, can it be reversed so that %it and %ia work in all screens?

Logged

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Have %it and %ia changed since r26753?
« Reply #1 on: August 05, 2010, 08:50:35 PM »
That behaviour wont be changed back.
LEt me think about it for a while, I might add a proper way to do this. maybe the %Vp tag would work here
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Avalon

  • Member
  • *
  • Posts: 88
Re: Have %it and %ia changed since r26753?
« Reply #2 on: August 06, 2010, 01:51:34 AM »
As the manual indicates, I do use conditionals.  If %it is not available I use %fn and if %ia is not available I use %d(2).

%fn and %d(2) do not display either, resulting in a blank line.  Unlike %it and %ia which are flagged in the manual as not always available.  I haven't seen any indication that %fn and %d(2) are not always available.

Is there a list of functions which do not always work in an SBS display or if in radio or record modes? 

It looks like some of the flexibility has been lost in SBS if many of the wps functions are not available. 

If this is the case, I will modify my themes to reflect that.

Thks for the reply...if there is a work around, please post.
« Last Edit: August 06, 2010, 01:54:23 AM by Avalon »
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Have %it and %ia changed since r26753?
« Reply #3 on: August 06, 2010, 02:34:01 AM »
This is indeed a bit of a shame, though I guess I need to thank this thread for saving me some trouble...
I have an idea for a theme kicking around in my head that I was holding off building untill the work with the skin format changeover was finished, but now I know it won't work its back to the drawing board.

A challenge isn't necessarily a bad thing though, just need to think of something else.



[St.]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Have %it and %ia changed since r26753?
« Reply #4 on: August 06, 2010, 02:59:49 AM »
the music system isnt running so there is no p[laylist active... its not a bug. If anything, it used to be a bug that these worked
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline Avalon

  • Member
  • *
  • Posts: 88
Re: Have %it and %ia changed since r26753?
« Reply #5 on: August 06, 2010, 04:38:31 AM »
The playlist may not be active, but it is retained since Resume Playback resumes the last active playlist.

The %it and %ia functions provided a useful feature when they could be used to display the track and artist that would be played if the Resume Playback was selected.

If %Vp can display the same information in a single line format, then that would be great.  I haven't used %Vp so I do not know if it can be used.  I suspect that if the playlist is treated as inactive, then %Vp is probably not available in this case either.

Thank you very much for responding as this will save me a lot of effort in attempting to debug my themes.  They have gotten a little complicated and could do with a simplification.

If %Vp can be used or if there is another way to achieve the same result, please post.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Have %it and %ia changed since r26753?
 

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

Page created in 0.072 seconds with 14 queries.