FS#1036 - Custom Recording Filenames

Attached to Project: Rockbox
Opened by Jeremy Zoss (jzoss) - Friday, 07 March 2003, 05:08 GMT
Last edited by Jeremy Zoss (jzoss) - Wednesday, 30 April 2003, 03:57 GMT
Task Type Patches
Category Settings
Status Closed
Assigned To No-one
Operating System
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


This patch allows the user to specify a custom
recording filename, using a syntax similar to WPS.

- can do centralized (absolute path) recording
(e.g. /recordings/test.mp3)
- or decentralized (rel. to current dir) recording
(e.g. test.mp3)
- can overwrite (using fixed filename)
- or not (using "variables" shown below)
- supports the following codes:
ID3 (requires editID3 patch)
* %it, %ia, %id title / artist / album
* %iy, %ig, %in year / genre / tracknum
* %ty, %tm, %td year / month / day
* %th, %tn, %ts hour / minute / second
Recording Settings
* %rf, %rq frequency / quality
* %rs, %rc source / channels
* %mi unique identifier (will place an
auto-incrementing counter in the %mi slot to guarantee
a unique filename)

- will not create specified directory if doesn't exist
(causes recording ABORT)
- similar, but not quite compatible with wps style
This task depends upon

Closed by  Jeremy Zoss (jzoss)
Wednesday, 30 April 2003, 03:57 GMT
Reason for closing:  
Comment by Jeremy Zoss (jzoss) - Friday, 07 March 2003, 05:11 GMT

This patch doesn't apply cleanly on top of editID3 patch (or
vice-versa). So I uploaded a combined patch as well....
Comment by Mike Holden (mikeholden) - Friday, 07 March 2003, 08:53 GMT

I like this idea. I was about to submit a patch to put a recording
into the current directory rather than the root directory, but this
goes a lot further. Have downloaded, and will do some testing.
Comment by Linus Nielsen Feltzing (linusnielsen) - Monday, 10 March 2003, 01:03 GMT

I have examined your patch and have a few complaints.

1) Please follow the guidelines in the docs/CONTRIBUTING file

2) In the quick-screens, the UP button can't be used, since
the F-keys and the UP button use the same A/D converter.

3) I think the ID3 resize should create a new file instead
of changing the original.