Skip to content

new --regex option to modify the source file extension #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Sep 10, 2022

Conversation

youegraillot
Copy link
Contributor

Adding the possibility to convert from another format than .flac with this new option.

Examples added
Default setting keep the current behavior

@youegraillot
Copy link
Contributor Author

Added FLAC2CUSTOM_ARGS environment variable, allowing user to call flac2mp3.sh with custom parameters without having to write custom scripts.

@TheCaptain989 TheCaptain989 self-assigned this Aug 30, 2022
@TheCaptain989 TheCaptain989 added the enhancement New feature or request label Aug 30, 2022
@TheCaptain989
Copy link
Owner

Hmmm. This is interesting and does solve two of the hardcoded things I didn't like about the script (the FLAC file extension and the length calculation).
I'm not sold on the environment variable but let me think on that a bit.

@TheCaptain989 TheCaptain989 changed the base branch from master to regex September 10, 2022 13:58
@TheCaptain989
Copy link
Owner

Okay, I've reviewed your changes and have some suggestions and want things done a bit differently. I created a new branch regex that I'm going accept your PR into, and then make some commits of my own.
Overall, it's good work!

@TheCaptain989 TheCaptain989 merged commit 9efceec into TheCaptain989:regex Sep 10, 2022
TheCaptain989 added a commit that referenced this pull request Sep 10, 2022
@youegraillot
Copy link
Contributor Author

Thanks !

I'll integrate your changes into my lidarr docker image when I'll have time to check the modifications

TheCaptain989 added a commit to TheCaptain989/docker-mods that referenced this pull request Nov 27, 2022
- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants