From: Bastian Dehn Date: Sun, 30 Aug 2026 08:44:49 +0000 (+0200) Subject: change mp3 substition all after read X-Git-Tag: v1.0.0^2~25 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=c31cd5f4a6c692792bced6210da9e4b83ad20990;p=albentohandy.git change mp3 substition all after read --- diff --git a/libs/mp3.sh b/libs/mp3.sh index e9c27d8..43dc4aa 100644 --- a/libs/mp3.sh +++ b/libs/mp3.sh @@ -42,6 +42,12 @@ read_flac_to_mp3_tags() trackno=$(metaflac --show-tag=TRACKNUMBER "$input") genre=$(metaflac --show-tag=GENRE "$input") + rrl=$(metaflac --show-tag=REPLAYGAIN_REFERENCE_LOUDNESS "$input") + rtg=$(metaflac --show-tag=REPLAYGAIN_TRACK_GAIN "$input") + rtp=$(metaflac --show-tag=REPLAYGAIN_TRACK_PEAK "$input") + rag=$(metaflac --show-tag=REPLAYGAIN_ALBUM_GAIN "$input") + rap=$(metaflac --show-tag=REPLAYGAIN_ALBUM_PEAK "$input") + artist=${artist/*=/} title=${title/*=/} album=${album/*=/} @@ -49,12 +55,6 @@ read_flac_to_mp3_tags() trackno=${trackno/*=/} date=${date/*=/} - rrl=$(metaflac --show-tag=REPLAYGAIN_REFERENCE_LOUDNESS "$input") - rtg=$(metaflac --show-tag=REPLAYGAIN_TRACK_GAIN "$input") - rtp=$(metaflac --show-tag=REPLAYGAIN_TRACK_PEAK "$input") - rag=$(metaflac --show-tag=REPLAYGAIN_ALBUM_GAIN "$input") - rap=$(metaflac --show-tag=REPLAYGAIN_ALBUM_PEAK "$input") - rrl=${rrl/=/:} rtg=${rtg/=/:} rtp=${rtp/=/:}