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
| |-+  User Interface and Voice
| | |-+  tagnavi.config improper interpreting of %format line
« previous next »
  • Print
Pages: [1]

Author Topic: tagnavi.config improper interpreting of %format line  (Read 1067 times)

Offline erem

  • Member
  • *
  • Posts: 10
tagnavi.config improper interpreting of %format line
« on: April 26, 2013, 10:22:56 AM »
Hi,
I was tweaking  a bit with tagnavi.config file. One of goals is to modify "Recently played tracks" list in "History" to look like:

album - rating|title - albumartist

Original line looks like:
%format "fmt_lastplayed"  "%06d%s - %s" lastplayed artist title %sort = "inverse" %limit = "99" %strip = "6"

I modified it to:
%format "fmt_lastplayed"  "%06d%s - %1d|%s" lastplayed album rating title %sort = "inverse" %limit = "99" %strip = "6"
and it looks fine on the screen:
album - rating|title

Next step - adding albumartist - and the problem occurs. The line shoul look IMHO like:
%format "fmt_lastplayed"  "%06d%s - %1d|%s - %s" lastplayed album rating title albumartist %sort = "inverse" %limit = "99" %strip = "6"

but system interprets it in unexpected way. On the screen I see (for instance):
000001ALBUM - 4|TITLE - ALBUMARTIST
lastplayed value is not hidden as should be, and - which is even more surprising - %sort = "inverse" doesn't work.

Tried to modify syntax in many ways - no effect - anything I put in sentence in the fourth group (after second "-". ie. %s, %4.4s, %d with respectively changed tag) makes this effect to show.

I'm stuck. I'll appreciate any help.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  User Interface and Voice
| | |-+  tagnavi.config improper interpreting of %format line
 

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

Page created in 0.045 seconds with 15 queries.