Rockbox Technical Forums

Support and General Use => User Interface and Voice => Topic started by: SWiSS on July 05, 2007, 12:01:24 AM

Title: Display filename when no ID3 tag available?
Post by: SWiSS on July 05, 2007, 12:01:24 AM
Hey, people.  :)
I'm new to rockbox, so I installed rockbox on my Sansa E260 4gb yesterday and everything works perfect. I like the firmware very much, but what I couldn't find out is, how to make settings to display the filename when no ID3 available. When I play tracks without ID3 tag the player just recognizes them as "Unknown". I have a lot of tracks, that are without an ID3 tag, but the song name and artist is in the filename.
So, how to make that?

Thanks in advance.
(And sorry for my bad english :P)
Title: Re: Display filename when no ID3 tag available?
Post by: Llorean on July 05, 2007, 12:07:20 AM
Firstly: This is not an installation question. Please read the POSTING IN THIS FORUM post BEFORE posting in any section.

As for your question, this depends on the WPS author. See the CustomWPS wiki page for how to properly edit the WPS code to do this.
Title: Re: Display filename when no ID3 tag available?
Post by: Mikerman on July 05, 2007, 06:52:53 AM
This is the line of code for the WPS, that will display the filename if there is no song title tag,

Quote
%?it<%it|%fn>

You can find a list of all the tags, and instructions on what they do, here.

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

And here are further instructions on how to create a WPS.

http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToWPSMaking