FS#1777 - Meaningful filenames for recorded mp3 files

Attached to Project: Rockbox
Opened by Daniel N. Brown (dharana) - Monday, 03 November 2003, 16:01 GMT
Last edited by Marc Guay (Marc_Guay) - Wednesday, 02 April 2008, 18:37 GMT
Task Type Feature Requests
Category Recording
Status Closed
Assigned To No-one
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The default filename should have date/time/length of
recording, rather than the nearly meaningless numbers
that are currently used. I suggest the format
"2003-12-31 23:59 99 min.mp3".

This has the advantage of not only showing the user
when he recorded the file and how long it lasted, but it
also comes out in chronological order in the file menu.

Any duration less than 99 seconds could be listed as
seconds. Beyond this, any duration less than 99 minutes
could be listed as minutes. Anything over this could be
listed as hours.
This task depends upon

Closed by  Bj√∂rn Stenberg (zagor)
Wednesday, 02 April 2008, 18:37 GMT
Reason for closing:  Duplicate
Additional comments about closing:  Closing all feature requests.
Comment by Linus Nielsen Feltzing (linusnielsen) - Monday, 03 November 2003, 16:20 GMT

Well, the meaningless numbers are in fact the date and time:

YY=year, MM=month, DD=day, HH=hour, MM=minute, SS=second

Thus the recordings are sorted in chronological order, just
as you requested. I agree that we could add some separators
to make it more clear. However, using a colon is not
recommended, since it is a reserved character in DOS.

Adding the duration is a good idea. I'll think about that.
Comment by Davide (Davide-NYC) - Tuesday, 04 March 2008, 08:06 GMT
We have very sane and orderly file naming indicating source as well as timestamp. No duration information in the filename but the names would get really long.
Right now a typical filename would be R_Mic_080304-025827.mp3 with duration info the filename could be R_Mic_080304-025827_015923.mp3, meaning the file was one hour, fifty-nine minutes and twenty-three seconds long. The maximum recorded file length would be 99 hours, 59 minutes and 59 seconds.