Suppression d'un espace dans l'affichage

This commit is contained in:
Frédéric Couchet 2020-04-29 15:28:52 +02:00 committed by Frédéric Couchet
parent 000759e622
commit 518098f840

View File

@ -9,8 +9,8 @@ fi
for file in $* for file in $*
do do
duree=`mediainfo $file | awk '/Duration/ {print $3*60+$5}' |head -1` duree=`mediainfo $file | awk '/Duration/ {print $3*60+$5}' |head -1`
nom=`mediainfo $file | awk -F: '/Performer/ {print $2}'` nom=`mediainfo $file | awk -F: '/Performer/ {print $2}' |sed '1,$s/ //'`
titre=`mediainfo $file | awk -F : '/Track name/ {print $2}'` titre=`mediainfo $file | awk -F : '/Track name/ {print $2}' |sed '1,$s/ //'`
echo "#EXTINF:$duree,$nom - $titre" echo "#EXTINF:$duree,$nom - $titre"
echo "https://media.april.org/audio/radio-cause-commune/libre-a-vous/emissions/musiques/$file" echo "https://media.april.org/audio/radio-cause-commune/libre-a-vous/emissions/musiques/$file"
done done