Our Raspberry Pi Zero W board is a Linux computer that allows us to do almost whatever we want as we had a Linux desktop computer in front of us. So, to upload music to our Raspberry Pi Zero W, we can use the old fashion way of using USB devices and transfer a huge amount of songs and playlists. On the other hand, we can use the following command to directly download songs from YouTube:
Youtube-dl <youtube-link>
If you see any error messages, it is probably because you do not have youtube-dl installed. You can do this easily by typing the following command:
sudo apt-get install youtube-dl
Now, you should be fine and ready to download music from your YouTube account directly to your Raspberry Pi Zero W. youtube-dl software have many options and you might want to view details about it using the manual page. To open and read any manual page in a Linux system...