Disk space calculation not taking into account checksum file size
Submitted by Ángel González
Assigned to Brasero maintainer(s)
Link to original bug (#676282)
Description
The space calculation made doesn't take into account the size of files added by plugins, such as the checksum one. It is possible to make a project which fits in the media, but which gets bigger after checksum calculation, that is currently only discovered when burning fails.
As brasero already knows all the filenames, it is just a matter of summing all the filename lengths and (hash size + 3) * file count. If the plugin gets diabled, the space is 0, if the hash is changed, only hash size varies. (3 bytes = two spaces between hash and filename plus final \n)
Version: 3.4.x