2023-08-11, 05:01 PM
(2023-08-10, 09:38 PM)bitmap Wrote: MusizBrainz Picard is a server application that processes your data in place.
Oh I missed that. Yeah that could have been a fix thanks. For future readers: I have found FFMPEG can edit metadata so here is two shell commands that can do this via ffmpeg or ffmpeg docker:
Code:
for i in *.flac
ffmpeg -i $i -metadata GENRE=Rock output.flac; mv output.flac $i
end
This one first prints the current genre tag, changes it and prints the changed genre tag.
Code:
set GENRE "Rock, Alternative Rock";
for i in *.flac
docker run -v $PWD:$PWD -w $PWD jrottenberg/ffmpeg:3-alpine -i $i - 2>&1 | grep "GENRE"
sleep 0.5
docker run -v $PWD:$PWD -w $PWD jrottenberg/ffmpeg:3-alpine -i $i -metadata GENRE=$GENRE output.flac
mv output.flac $i
docker run -v $PWD:$PWD -w $PWD jrottenberg/ffmpeg:3-alpine -i $i - 2>&1 | grep "GENRE"
echo ========
end