- Add new sh_exec FORCE option to all library non write actions.

This commit is contained in:
2026-05-03 11:34:28 +02:00
parent 66aaffa3a8
commit fe7bda875a
3 changed files with 9 additions and 5 deletions

View File

@@ -1,9 +1,10 @@
------------------------------------------------------------------------------------------------------------------------------------
Music Tools V 1.1.1 - A. GIBERT - 2026/05/02
Music Tools V 1.1.1 - A. GIBERT - 2026/05/03
------------------------------------------------------------------------------------------------------------------------------------
- Move usr/lib to lib,
- Support rx3-base 1.1.2,
- Add new sh_exec FORCE option to all library non write actions,
- Bump release from 1.0.x to 1.1.x.

View File

@@ -51,6 +51,8 @@ Packager: Arnaud G. GIBERT <arnaud@rx3.net>
BuildArch: noarch
Requires: rx3-base-libs
Source0: https://git.rx3.org/gitea/rx3/%{name}/archive/%{name}-%{version}.tar.gz
@@ -125,8 +127,9 @@ cp bin/* %{buildroot}%{_bindir}
#-----------------------------------------------------------------------------------------------------------------------------------
%changelog
* Sat May 2 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.1.1-1rx3.mga9
* Sun May 3 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.1.1-1rx3.mga9
- Update to 1.1.1 release
- Add rx3-base-libs depedency
* Sun Apr 12 2026 Arnaud G. GIBERT <arnaud@rx3.net> - 1.1.0-1rx3.mga9
- Initial release

View File

@@ -510,12 +510,12 @@ mt_tag_read()
case "${track_file}"
in
*.flac)
sh_exec "metaflac --show-tag=\"${tag}\" \"${track_file}\" | sed -e 's/^[^=]*=//' -e ':a' -e 'N' -e '"'$!'"ba' -e 's/\n/\\n/g'"
sh_exec FORCE "metaflac --show-tag=\"${tag}\" \"${track_file}\" | sed -e 's/^[^=]*=//' -e ':a' -e 'N' -e '"'$!'"ba' -e 's/\n/\\n/g'"
;;
*.mp3)
# sh_exec "mid3v2 --list \"${track_file}\" | tail -n +2 | sed -e 's/^[^=]*=/\U&\E/' | grep -e \"^${MT_FLAC_2_MP3_TAB[\"${tag}\"]}\" | sed -e 's/^[^=]*=//' -e ':a' -e 'N' -e '"'$!'"ba' -e 's/\n/\\n/g'"
sh_exec "mid3v2 --list \"${track_file}\" | tail -n +2 | grep -e \"^${tag}\" | sed -e 's/^[^=]*=//' -e ':a' -e 'N' -e '"'$!'"ba' -e 's/\n/\\n/g'"
# sh_exec FORCE "mid3v2 --list \"${track_file}\" | tail -n +2 | sed -e 's/^[^=]*=/\U&\E/' | grep -e \"^${MT_FLAC_2_MP3_TAB[\"${tag}\"]}\" | sed -e 's/^[^=]*=//' -e ':a' -e 'N' -e '"'$!'"ba' -e 's/\n/\\n/g'"
sh_exec FORCE "mid3v2 --list \"${track_file}\" | tail -n +2 | grep -e \"^${tag}\" | sed -e 's/^[^=]*=//' -e ':a' -e 'N' -e '"'$!'"ba' -e 's/\n/\\n/g'"
;;
*)