ogg 및 mp3 태그를 지원하고 태그에 그림을 추가 할 수있는 명령 줄 태그 도구를 검색 중입니다.
현재 사용하고 lltag
있지만 사진을 지원하지 않습니다. dagger
이전에 사용했던 도구이지만 그림 지원이 부족합니다.
답변
MP3의 경우이 SO 답변에 있는 eyeD3을 사용해보십시오 .
--add-image=IMG_PATH:TYPE[:DESCRIPTION]
Add an image to the tag. The description and type
optional, but when used, both ':' delimiters must be
present. The type MUST be an string that corresponds
to one given with --list-image-types. If the IMG_PATH
value is empty the APIC frame with TYPE is removed.
Ogg 에게는 vorbiscomment가 있습니다. 그것은 상자에서 이미지 파일을로드하는 것을 지원하지 않지만 Vorbis의 표지 아트 태그는 base64로 인코딩 된 이미지 파일이며 COVERART 태그에 저장되고 COVERARTMIME에 mimetype과 같습니다
coverart=$(base64 $jpegfile)
vorbiscomment -a -t 'COVERART=$coverart' -t 'COVERARTMIME=image/jpeg' $infile $outfile