Add script to fix flac file
This commit is contained in:
11
fix_unknown_album_and_artist_flac_file.sh
Executable file
11
fix_unknown_album_and_artist_flac_file.sh
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "Fixing flac file $1"
|
||||||
|
|
||||||
|
echo "running command ffmpeg -i $1 -c:a flac -map_metadata 0 "fixed.flac""
|
||||||
|
|
||||||
|
ffmpeg -i $1 -c:a flac -map_metadata 0 "fixed.flac"
|
||||||
|
|
||||||
|
echo "moving fixed.flac to $1"
|
||||||
|
mv "fixed.flac" $1
|
||||||
|
|
||||||
Reference in New Issue
Block a user