]>
gitweb.pimeys.fr Git - scripts-20-100.git/blob - flac2mp3.sh
3 # Convertit tous les flac dans le dossier en mp3
8 ARTIST
=$
(metaflac
"$a" --show-tag=ARTIST |
sed s
/.
*=//g
)
9 TITLE
=$
(metaflac
"$a" --show-tag=TITLE |
sed s
/.
*=//g
)
10 ALBUM
=$
(metaflac
"$a" --show-tag=ALBUM |
sed s
/.
*=//g
)
11 GENRE
=$
(metaflac
"$a" --show-tag=GENRE |
sed s
/.
*=//g
)
12 TRACKNUMBER
=$
(metaflac
"$a" --show-tag=TRACKNUMBER |
sed s
/.
*=//g
)
13 DATE
=$
(metaflac
"$a" --show-tag=DATE |
sed s
/.
*=//g
)
15 flac
-c -d "$a" | lame
-m j
-q 0 --vbr-new -V 0 -s 44.1 - "$OUTF"
16 id3
-t "$TITLE" -T "${TRACKNUMBER:-0}" -a "$ARTIST" -A "$ALBUM" -y "$DATE" -g "${GENRE:-12}" "$OUTF"