mirror of
https://gitea.zoz-serv.org/Zoz/plex_fr_discord_repo.git
synced 2024-11-26 05:55:28 +00:00
flac to mp3 , script
This commit is contained in:
parent
19475e0885
commit
f597da21dc
11
Conversion FLAC vers MP3/flac_to_mp3.sh
Normal file
11
Conversion FLAC vers MP3/flac_to_mp3.sh
Normal file
@ -0,0 +1,11 @@
|
||||
## Discord Plex FR : https://discord.gg/3gtABCH
|
||||
## Version 2021-08-23
|
||||
##
|
||||
## Pour une aide à l'installation, consulter le README
|
||||
##
|
||||
#!/bin/bash
|
||||
|
||||
while read FILE ; do
|
||||
[[ -e ${FILE%%.*}.mp3 ]] || ffmpeg -i "$FILE" -ab 320k -map_metadata 0 "${FILE%.*}.mp3"
|
||||
[[ $? -eq 0 ]] && rm $FILE
|
||||
done < <(find . -name "*.flac")
|
Loading…
Reference in New Issue
Block a user