I have a few MP3 files that won’t play on Volumio for some reason. When I play them I just hear a squeak for a second or two then it stops. These all play fine on Windows and I tried them on a Linux Mint install just to see if it was a Linux thing.
I downloaded these from youtube using a python script. Wasn’t able to find them else where.
Is there something Volumio is looking for that wasn’t created when the script pulled the audio from youtube?
Here is my log file link
http://logs.volumio.org/volumio/pFiNKx6.html
This is the song that has the issue so you can see where I tried playing it Cucamaras - Keep It Cool.mp3. There are 3 others I also downloaded and do the same thing. The squeaks do sound different for each.
Here is the python script I used. Its an example from another site it seemed pretty simple.
andy@linux-mint-vm:~$ cat ./Documents/pytube_downloader.py
from pytube import YouTube
import os
# url input from user
yt = YouTube(
str(input("Enter the URL of the video you want to download: \n>> ")))
# extract only audio
video = yt.streams.filter(only_audio=True).first()
# check for destination to save file
print("Enter the destination (leave blank for current directory)")
destination = str(input(">> ")) or '.'
# download the file
out_file = video.download(output_path=destination)
# save the file
base, ext = os.path.splitext(out_file)
new_file = base + '.mp3'
os.rename(out_file, new_file)
# result of success
print(yt.title + " has been successfully downloaded.")