FS#12334 - Update to my tools/ script

Attached to Project: Rockbox
Opened by Daniel Dalton (ddalton) - Saturday, 15 October 2011, 12:12 GMT
Task Type Patches
Category Utils
Status New
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.9
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Update to my tools/ script. Minor updates which include:
- Better handling of logfile eg. we don't leave it open as was the case
- Report a few more details in the log eg. start/end time, duration, and
number of talk clips created. This is useful to dettect how many files
had problems...
- Summarise output for user at end, of processing, number of talkclips
created and how long this took (in seconds).
- Report to user how many talk clips will need to be created to give
them an indication of potential waiting time etc. This is calculated by
first determining how many files are on the device excluding .talk files, and how many .talk
files there are, and calculating the difference.
- This information allows a percentage indication to be drawn throughout
the script, so now the user can track the percentage as processing takes

Patch is attached.

This task depends upon

Comment by Daniel Dalton (ddalton) - Saturday, 15 October 2011, 12:16 GMT
If you want to test, you may like an easy way to remove the .talk clips,
so here is the silly script I used... I'd advise you to back up your
data before running it though, because it hardly does any

BTW, 1672 clips in 109 S were my results with the scripts, seems
reasonably efficient to me anyway. (0.3 KiB)