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
| | |-+  Showing filename on WPS when ID3 tags are empty
« previous next »
  • Print
Pages: [1]

Author Topic: Showing filename on WPS when ID3 tags are empty  (Read 1488 times)

Offline leptonhead

  • Member
  • *
  • Posts: 7
Showing filename on WPS when ID3 tags are empty
« on: June 04, 2008, 07:15:00 PM »
Does anyone have an example of how to display the filename of the currently playing song when there are no ID3 author or title tags?  I think I found the two lines I need to change in acotil_bluestar.wps:

Code: [Select]
%s%ac%?ia<%ia|Artist Unknown>
%s%ac%?it<%it|Title Unknown>

Rather than 'unknown', I'd like it to display the filename. 

Same goes for the 'next song' part:

Code: [Select]
%s%acNext: %?It<%It|%?Fn<%Fn|?>>

Any help would be appreciated!
« Last Edit: June 04, 2008, 07:17:02 PM by leptonhead »
Logged

Offline MarcGuay

  • Rockbox Expert
  • Member
  • *
  • Posts: 1065
Re: Showing filename on WPS when ID3 tags are empty
« Reply #1 on: June 04, 2008, 07:29:37 PM »
http://www.rockbox.org/twiki/bin/view/Main/CustomWPS#File_Info
Logged

Offline leptonhead

  • Member
  • *
  • Posts: 7
Re: Showing filename on WPS when ID3 tags are empty
« Reply #2 on: June 05, 2008, 01:15:14 AM »
Thank you!  (my searching skills suck LOL)

EDIT:
Thought I'd post the changes in case someone else finds use of them:

Code: [Select]
%s%ac%?ia<%ia|%fn>
%s%ac%?it<%it| >

and

Code: [Select]
%s%acNext:
%s%ac%?Ia<%Ia|%Fn>
%s%ac%?It<%It| >
« Last Edit: June 05, 2008, 10:22:03 AM by leptonhead »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Showing filename on WPS when ID3 tags are empty
 

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

Page created in 0.066 seconds with 17 queries.