Support and General Use > Theming and Appearance Customization

Showing filename on WPS when ID3 tags are empty

(1/1)

leptonhead:
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: ---%s%ac%?ia<%ia|Artist Unknown>
%s%ac%?it<%it|Title Unknown>
--- End code ---

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

Same goes for the 'next song' part:


--- Code: ---%s%acNext: %?It<%It|%?Fn<%Fn|?>>
--- End code ---

Any help would be appreciated!

MarcGuay:
http://www.rockbox.org/twiki/bin/view/Main/CustomWPS#File_Info

leptonhead:
Thank you!  (my searching skills suck LOL)

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


--- Code: ---%s%ac%?ia<%ia|%fn>
%s%ac%?it<%it| >

--- End code ---

and


--- Code: ---%s%acNext:
%s%ac%?Ia<%Ia|%Fn>
%s%ac%?It<%It| >
--- End code ---

Navigation

[0] Message Index

Go to full version