diff --git a/atom b/atom index 97d4501..e4bb3d8 100755 --- a/atom +++ b/atom @@ -638,22 +638,14 @@ gettag() { } getInfos::MP3() { -# mp3info only supports ID3v1. Information may be incomplete. infos=$( - mp3info -p ' -ALBUM=%l -ARTIST=%a -GENRE=%g -TITLE=%t -TRACKNUM=%n -YEAR=%y' "$sourcepath/$filename" \ - | iconv -f $sourceid3charset -t utf-8//TRANSLIT + soxi -a "$sourcepath/$filename" ) album=$(gettag album) artist=$(gettag artist) genre=$(gettag genre) title=$(gettag title) - tracknum=$(gettag tracknum) + tracknum=$(gettag tracknumber) year=$(gettag year) [ -n "$album" \ -o -n "$artist" \