more scripts
This commit is contained in:
3
md
3
md
@ -20,7 +20,7 @@ file_name=`youtube-dl "ytsearch:$1 lyrics" \
|
||||
--embed-thumbnail \
|
||||
--add-metadata \
|
||||
|awk '$1 == "[ffmpeg]" && $2 == "Destination:" {print substr($0, index($0,$3))}'`
|
||||
r128gain "$file_name" > /dev/null
|
||||
r128gain "$file_name" 2> /dev/null
|
||||
temp_dir="/tmp/idntag$(xxd -u -l 16 -p /dev/urandom)"
|
||||
mkdir "$temp_dir"
|
||||
temp_file="$temp_dir/$file_name"
|
||||
@ -33,3 +33,4 @@ if checkMetadata "$temp_file"; then
|
||||
elif ! checkMetadata "$file_name"; then
|
||||
echo "enter it manually"
|
||||
fi
|
||||
rm -rf "$temp_dir"
|
||||
|
||||
Reference in New Issue
Block a user