Version 0.11a of the MP3 Factory script is now available. The link is in the MP3 Factory: 'De-borking' MP3s on Linux page.
This version fixes a bug that caused the processing of multiple files to fail if they had different file extensions. Also the temporary copy of the file that is being processed is now stored in RAM (/run/user/$UID/mp3f_tmp) which greatly reduces storage reads and writes and speeds up processing a bit.
Various other smaller changes were made as well.
I uploaded version 0.10a of the MP3 Factory bash script. The link is in the MP3 Factory: 'De-borking' MP3s on Linux page.
Once again *many* changes and improvements were made, mostly small, others more important. The way the script works in general has been largely improved.
- The script no longer exits if its dependencies aren't satisfied, with the exception of zenity. Instead dependencies are checked as each operation is run and the user is presented with a notice if there's a missing dependency
- Logs are now kept by default instead of the last one being overwritten and they are stored in a /logs directory.
- There are fewer messages printed when running in batch mode.
- mp3sum was added to calc a CRC checksum of the audio streams of MP3s and compare it to the those stored in the LAME headers. So far this seems to be a great way to weed out a lot of junk files where the audio stream is damaged, truncated, or otherwise altered, such as by people running MP3Gain on their files.
- Files are handled in a safer way in that copies are now always made for processing.
- Lots of code optimization.
This version was also tested more thoroughly.
The manual/guide, MP3 Factory: 'De-borking' MP3s on Linux, was updated slightly and i uploaded the next version of MP3 Factory, v0.9a (link is in the guide).
This version is largely untested, however it is both ShellCheck and Shellharden compliant. I also added the ability to pass a couple of arguments to the script, mainly
-d n to enable developer mode and set the level (only '1' is supported at the moment) and -h to read the new and very bare help file. Developer mode does nothing at the moment other than to prevent the clearing of the terminal which can be helpful for troubleshooting and testing.
Lastly, much code cleanup was done to make the script Shellharden compliant, a few bugs were fixed, and the code is better optimized.
I think the feature set is fairly concrete, so i plan on doing lots of testing and release a beta version soon hopefully.
Once again some changes were made to the MP3 Factory: 'De-borking' MP3s on Linux page and i uploaded v0.8a of MP3 Factory (link is in the guide).
More polish was applied and some bug fixes were made to the MP3 Factory Bash script. The 'Preview' function was renamed to 'Play' and it is now possible to play any file on your system with either FFplay or your default media player. Also all of the options in the script were moved to an external configuration file. Lastly, the formatting of the log file was improved.
The guide/manual, MP3 Factory: 'De-borking' MP3s on Linux, was updated slightly but more importantly i uploaded v0.7a of MP3 Factory (link is in the guide). Quite a bit of polish was applied, some bugs were fixed, and some little things added.