I like doing most of things on Linux using CLI ,it is easy , time-saving and more effecient, but some times it is great to have alternative tools with nice GUI to do the same job, especially for the average user who are frightened to open the terminal and type anything
This is a little bash script built using Yad to edit id3-tags (Artist and Album Title for the time being) ,
requirements
Yad
Python2 , Id3-tagger Module
This is a little bash script built using Yad to edit id3-tags (Artist and Album Title for the time being) ,
requirements
Yad
Python2 , Id3-tagger Module
m=$(yad --file-selection --multiple --geometry=600x400+20+20 --file-filter="MP3 | *.mp3" --title="Bulk Mp3 ID3-Tagger Tool");FILE_ARRAY=(`echo $m | tr "|" "\n"`);
Album_artist=$(yad --form --field='Album Title' --field='Artist');STR_ARRAY=(`echo $Album_artist | tr "|" "\n"`);
for f in ${FILE_ARRAY[@]}
do
#echo "> [[$f]]"
if [[ ! -z "${STR_ARRAY[0]}" ]] && [[ ! -z "${STR_ARRAY[1]}" ]];then
python2 /usr/bin/id3-tagger.py -a ${STR_ARRAY[1]} -A ${STR_ARRAY[0]} $f;
yad --text="Artist changed to ${STR_ARRAY[1]} Album changed to ${STR_ARRAY[0]}" --title="Bulk Mp3 ID3-Tagger Tool"
#if [[ ! -z "${STR_ARRAY[0]}" ]];then
# python2 /usr/bin/id3-tagger.py -A ${STR_ARRAY[[0]]} $f
# yad --text="Album changed to ${STR_ARRAY[[0]]}"
#if [[ ! -z "${STR_ARRAY[1]}" ]];then
# python2 /usr/bin/id3-tagger.py -a ${STR_ARRAY[1]} $f
# yad --text="Artist changed to ${STR_ARRAY[1]}"
else
yad --text="nothing to be done.You have to fill both fileds" --title="Bulk Mp3 ID3-Tagger Tool";
fi
done
screenshot: