- Added checks for log file and path
- Added command-line option for log file
- Added title metadata correction
- Added end_script function for more consistent ending of script
- Fixed metadata key case insensitive match
- ResolvesTheCaptain989/lidarr-flac2mp3#42
- Update README.md
## What's Changed
- **Complete re-write of the core script to use shell instead of AWK.**
- **New:** Better use of the Lidarr API, including:
- Using it to delete or recycle old tracks
- No more artist refresh/rescan (which took forever) (issue thecaptain989/lidarr-flac2mp3#39)
- Imports the converted tracks directly
- Fixed logging of curl errors and improved error handling
- Removed unnecessary function
- Improved track import JSON generator logic
- Added check for 'queued' job status
- Use tag or branch name as Docker image tag
- Added GitHub Container Registry push
- Added GitHub container Registry labels
- Switch to hybrid S6
- **Added --regex option** TheCaptain989/lidarr-flac2mp3#33
- **Added optional use of environment variable** TheCaptain989/lidarr-flac2mp3#33
- **Added new --tags option to resolve TheCaptain989/lidarr-flac2mp3#15**
- Added checks for identical track name
- Recycled files are now moved to subdirectory paths that more closely resemble the original path
- Better error handling in awk script when calling system commands
- Added logging for skipped tracks
- Corrected some logging anomalies
- Modified exit codes
- Updated command line help
- Fixed missing executable attribute on some script files
- Updated README
## Lots of new features and it still retains backward compatibility!
- Added batch mode per issue #28
- Added ALAC wrapper script per issue #28
- Bug fix for issue #29 introduced with release 1.3
- Added output and keep-file options per issue #30
- Moved option check earlier in the script and completely reworked options/arguments processing
- Added long option names
- Added debug info for system API
- Added debug info for config API
- Added multiple debug logging levels, defaults to lowest
- Default debug level excludes the returned JSON, making it more readable and useful
- Normalized test event output
- Minor fix for error text
- Added version option
- Modified how script version is handled
- Updated BuildImage.yml
- Updated Dockerfile
- Update 98-flac2mp3 init script
- Changed awk pattern match to be more robust
- Removed dedundant system command in awk script
- Updated help text
- Updated README.md
- Updated SECURITY.md
- Now uses the API to detect RecycleBin, removing dependency on sqlite
- Fixes formatting bug with submitted JSON in curl
- Adding URL quoting to curl commands
- Renamed more variables to avoid name collisions
- Added additional debug logging
- Reordered error redirects; No functional difference.