dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Comments in WPS files

Comments in WPS files

From: Fred Maxwell <>
Date: Sun, 28 Sep 2003 10:46:17 -0400

Before officially putting in a feature request, I wanted to run it by folks
on this list.

I find the ability to include comments in the cfg files to be very helpful.
Given that a complex wps file can look like modem line noise, I think that
it would be very handy to be able to comment wps files. For an example,
let's take the example/default player wps from the manual:

Without comments:
%s%pp/%pe: %?it<%it|%fn> - %?ia<%ia|%d2> - %?id<%id|%d1>

With comments:
# Standard player WPS file
# This wps assumes that tracks without ID3 tags are stored
# in a directory structure of artist/album/tracks and will display
# the directory names if the ID3 tag informationis not present.
# First Line:
%s%pp/%pe: %?it<%it|%fn> - %?ia<%ia|%d2> - %?id<%id|%d1>
# %s = scroll
# %pp/%pe = playlist position/total number of playlist entries
# %?it<%it|%fn> = ID3 track title or filename if no ID3 track title
# %?ia<%ia|%d2> = ID3 artist or second directory from end of file path
# %?id<%id|%d1> = ID3 album or first directory from end of file path
# Second Line:
# %pb%pc/%pt = progress bar, elapsed track time, total track time

I would think that it would be easy enough in the Rockbox firmware to ignore
comment lines in wps files. Rather than limiting the total lines in the
file, the software could limit the number of uncommented lines (i.e., 2 for
player, 10 for the recorder).

  Fred Maxwell
Received on 2003-09-28

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy