Fix thumbnail embedding of youtube audio

This commit is contained in:
Riyyi
2021-01-19 17:28:10 +01:00
parent c5da512815
commit e2b6f0817b
+1
View File
@@ -128,6 +128,7 @@ ytaudio_thumbnail() {
echo "Embedding thumbnail into mp3.." echo "Embedding thumbnail into mp3.."
# Convert thumbnail to actually be a jpg # Convert thumbnail to actually be a jpg
yes y | ffmpeg -i "${FILE_NAME}.webp" "${FILE_NAME}_converted.jpg" > /dev/null 2>&1
yes y | ffmpeg -i "${FILE_NAME}.jpg" "${FILE_NAME}_converted.jpg" > /dev/null 2>&1 yes y | ffmpeg -i "${FILE_NAME}.jpg" "${FILE_NAME}_converted.jpg" > /dev/null 2>&1
# Embed thumbnail into mp3 # Embed thumbnail into mp3