Automate your music release on YouTube.
For the past 4 years, I have been making music as a hobby. Over this period I have made more than 300 tracks. But never got time to upload them to my Youtube channel. The reason was that it takes a lot of time to create videos, then upload it to Youtube, where you have to fill a lot of data like video's title, description, tags, and other metadata.
So one day I was listening to my old music with my brother and he asked me why don't you upload these beats to your channel. I told him about the above problem. Then he said, "Man, you are a programmer, why don't you automate the process?". It was the Eureka moment right there. So I sat on the weekend to complete this project and gracefully it happened.
The process is pretty straightforward. The GitHub Actions' workflow runs every 3rd day. It scans my Google Drive to check if there are any new tracks to upload. If there is at least one new track, it downloads the track and the artwork related to it. Then by using, FFmpeg, it creates a video using downloaded track and artwork. The new video is uploaded to my Youtube channel using YouTube API which fills in the required metadata about the video.
-
YouTube Data API: https://developers.google.com/youtube/v3
-
Google Drive API: https://developers.google.com/drive/v3
If you loved my project, please show your appreciation by clicking Star.