On the Export dialog, adding %d / %D / %{duration} / %{seconds} to the Header field shows the time for the first track, and in the Footer they show the time for the last track.
Is it possible to have fields for the total number of seconds for all tracks?
Also, is it possible/difficult to add a tag for the number of bytes (per track and for all tracks together)?
Thanks!
Jerry
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Such functions are not provided out of the box. But they are a good example for some homework about what can be done with QML scripts and the helper functions of Kid3. To get the duration in seconds, you could import it into a frame and then get the frame's value and finally restore the original value of the frame:
On the Export dialog, adding %d / %D / %{duration} / %{seconds} to the Header field shows the time for the first track, and in the Footer they show the time for the last track.
Is it possible to have fields for the total number of seconds for all tracks?
Also, is it possible/difficult to add a tag for the number of bytes (per track and for all tracks together)?
Thanks!
Jerry
If it's not possible I guess I should do this with QML then?
Sorry, this should have gone in the Help forum... Can someone move this?
It did not find an option to move it. I will have a look at the problem later.
Such functions are not provided out of the box. But they are a good example for some homework about what can be done with QML scripts and the helper functions of Kid3. To get the duration in seconds, you could import it into a frame and then get the frame's value and finally restore the original value of the frame:
To get the bytes of a file is not very efficient but nevertheless possible:
Now you have to loop through all files as is done in the example scripts and perform these operations.