I created a little python app and included "pytube" a youtube library. The only purpose is to give the app a link to a youtube video and download it as mp3, everything is working fine and I can listen to the song on my computer. When I put the music on an USB Stick and plug it into my car, nothing happens and my car says the stick has no media. When I use some other mp3 files I have (not from my tool) the car recognizes the files and plays music. This is the code that I use to download the music, does anyone have an idea why my car doesnt recognize the mp3 file?
Update: The car is a Hyundai i10
while True:
event, values = window.read()
if event in ('Exit', None):
break # exit button clicked
if event == 'Download':
yTVideo = YouTube(pyperclip.paste())
destination = _path
print('Downloading '+ yTVideo.title + ' to : '+ destination)
window.refresh()
video = yTVideo.streams.filter(only_audio = True).first()
out_file = video.download(output_path=destination)
base, ext = os.path.splitext(out_file)
new_file = base + '.mp3'
os.rename(out_file, new_file)
print('Download Completed!')
- tried on different computers/laptops -> works fine
- tried differenct USB sticks -> same result, didnt work