The project was inspired by us because, during the quarantine, music was a really good way of getting our minds off of the things going on around the world. We wanted to automate the process of adding the newest and most popular songs by our favorite artists to our playlist. Hence, we created this application that would help achieve that task.

What it does

Swiftune is a very effective program that takes away the excruciating task of creating a playlist. With the click of a button, users will have a complete playlist, which satisfies their taste. The program takes into account the users’ liked songs by data scraping them. Finally, UiPath adds the top most popular songs of each artist into the user’s playlist.

How we built it

We built this application by using UIPath Studio. First, the program asks the user what they would like to name the playlist using an Input Dialogue activity. Once this was stored into a String variable, the program opens the Spotify application and navigates to creating a playlist with that name. It then goes into the user’s liked songs and data scrapes all the data related to each song including name, artist, and more. This data table is stored in an Excel sheet in CSV format. Next, the program goes into a "for each" loop and cycles through each artist’s name in Excel. This artist is searched for in Spotify’s search bar. Once we’ve navigated into the artist’s Spotify profile, we use a combination of hotkeys, clicks, and hovers in order to add the artist’s top 3 popular songs into our playlist. This cycle repeats for each artist due to the for loop. Once this is done, it reopens the Spotify application and navigates to the newly created and personalized playlist for the user to have a listen to! Apart from this, we also created a website in order to showcase our product to the best of our potential. In this website, you can also see our HTML, CSS, & Javascript skills. The website exhibits a brief introduction of Swiftune as well as a detailed video of the process (which is also added on Devpost).

Challenges we ran into

We ran into many challenges as a group because none of us had any experience using UIPath before. One of the challenges that we ran into was that the application would not click where we wanted it to click specifically. We solved this by removing the selector and making the program click based on the cursor position. Another challenge that we came across was that the application would not open on time and some of the steps would not be cast. This is because there was no delay in between those parts. By adding a delay, all the steps were cast, and the application was able to open without a problem and continue.

Accomplishments that we are proud of

We are most proud of the fact that the application worked as we imagined, and we were able to create it in the time given.

What we learned

This was a new process for most of us as we have never used the UiPath application before. With the creation of this app, we were introduced to the programming method known as “drag and drop”. For the most part, our group was acquainted with written programming methods such as HTML, CSS, and JS. However, with this hackathon, we decided to be adventurous and explore a new path of programming. This obviously came with added complications as we were not aware of the methodology of UiPath. Nevertheless, we persevered, and creates the application known as Swiftune!

What's next for Swiftune

To further develop our application, we plan to integrate Spotify web API in order to collect user data. Additionally, we plan to process this data using machine learning algorithms in order to create the best experience for our users. Even with the complexity of the Spotify Web API and machine learning algorithms, we’d like to integrate these innovative methods into our project while keeping the simplicity of one click!

Built With

Share this project: